.agency-download-section {
  padding: 1.5rem 0;
  background: var(--cream);
}

.agency-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(30, 42, 90, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 42, 90, 0.07);
}

.agency-download h2 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.agency-download p {
  color: var(--muted);
  margin: 0;
}

.agency-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.agency-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.agency-team-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(30, 42, 90, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 42, 90, 0.07);
}

.agency-team-card > img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
  background: var(--cream);
}

.agency-director-photos {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 100px;
  gap: 0.5rem;
  min-height: 300px;
  padding: 0.5rem;
  background: var(--cream);
}

.agency-director-photos > img,
.agency-director-additional-photos img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #fff;
}

.agency-director-photos > img {
  object-position: 30% center;
}

.agency-director-additional-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.agency-team-card:first-child > img {
  object-position: 30% center;
}

.agency-team-copy {
  align-self: center;
  padding: clamp(1rem, 2.5vw, 1.75rem);
}

.agency-team-copy h3 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.agency-team-copy > p:not(.agency-team-role) {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.agency-team-role {
  margin: 0 0 0.35rem;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agency-office-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.agency-tour-launch {
  margin-top: 0.75rem;
}

.agency-streetview-link {
  margin: 0.75rem 0 0 0.5rem;
}

.agency-office-gallery figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  cursor: zoom-in;
}

.agency-office-gallery figure:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.agency-office-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.agency-office-gallery figure:hover img {
  transform: scale(1.04);
}

.agency-tour {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(100vw, 1440px);
  max-width: none;
  height: min(94dvh, 960px);
  max-height: none;
  margin: auto;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #101923;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.agency-tour[open] {
  display: grid;
}

.agency-tour::backdrop {
  background: rgba(3, 10, 18, 0.88);
  backdrop-filter: blur(5px);
}

.agency-tour-header,
.agency-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.agency-tour-header h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.agency-tour-count {
  flex: 0 0 auto;
  color: #d7e2ee;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.agency-tour-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #070c12;
}

.agency-tour-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform 80ms linear;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  cursor: zoom-in;
}

.agency-tour-stage {
  cursor: grab;
  touch-action: none;
}

.agency-tour-stage:active {
  cursor: grabbing;
}

.agency-tour-controls {
  position: absolute;
  left: 50%;
  bottom: clamp(0.5rem, 2vw, 1rem);
  z-index: 3;
  display: flex;
  gap: 0.35rem;
  transform: translateX(-50%);
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 12, 18, 0.82);
  backdrop-filter: blur(8px);
}

.agency-tour-control {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
}

.agency-tour-control:hover,
.agency-tour-control:focus-visible {
  background: var(--orange);
  outline: none;
}

.agency-tour-control:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.agency-tour-nav,
.agency-tour-close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 22, 34, 0.82);
  color: #fff;
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.agency-tour-nav:hover,
.agency-tour-close:hover {
  background: var(--orange);
}

.agency-tour-nav:focus-visible,
.agency-tour-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.agency-tour-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.agency-tour-nav-prev,
.agency-tour-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.agency-tour-nav-prev {
  left: clamp(0.5rem, 2vw, 1.25rem);
}

.agency-tour-nav-next {
  right: clamp(0.5rem, 2vw, 1.25rem);
}

.agency-tour-caption {
  min-width: 0;
  margin: 0;
  color: #e5edf5;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .agency-tour {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    padding: 0.75rem;
    border: 0;
    border-radius: 0;
  }

  .agency-tour-footer {
    align-items: flex-start;
  }

  .agency-tour-nav,
  .agency-tour-close {
    width: 40px;
    height: 40px;
  }

  .agency-tour-caption {
    font-size: 0.9rem;
  }
}

@media (max-width: 700px) {
  .agency-download {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.25rem;
  }

  .agency-download-actions {
    justify-content: flex-start;
  }

  .agency-team-grid {
    grid-template-columns: 1fr;
  }

  .agency-office-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .agency-team-card {
    grid-template-columns: 1fr;
  }

  .agency-team-card > img {
    height: 320px;
    min-height: 0;
  }

  .agency-director-photos {
    grid-template-rows: 320px 110px;
    min-height: 0;
  }

  .agency-office-gallery {
    grid-template-columns: 1fr;
  }
}

@page {
  size: A4;
  margin: 14mm;
}

@media print {
  .navbar,
  .footer,
  .agency-download-section,
  .u-whatsapp,
  .site-whatsapp,
  #nafiWidget,
  .nafi-widget,
  .nafi-panel,
  .cookie-banner {
    display: none !important;
  }

  body {
    color: #232323;
    background: #fff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .hero {
    padding: 1rem 0 1.5rem;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .lead {
    font-size: 0.95rem;
  }

  .hero-actions,
  .contact-inner .btn {
    display: none;
  }

  .hero-visual {
    min-height: 0;
  }

  .section {
    padding: 1.5rem 0;
  }

  .section-head {
    margin-bottom: 1.25rem;
  }

  .grid-3,
  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .card,
  .steps,
  .step {
    box-shadow: none;
    break-inside: avoid;
    opacity: 1 !important;
    transform: none !important;
  }

  .steps {
    margin-top: 0;
    padding: 1.25rem;
  }

  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}
