/* ==========================================================================
   Gallery page — sections unique to "Gallery.dc.html".
   Hero and CTA band reuse the shared ia-page-hero / ia-emergency--compact
   components, so only the notice bar and the photo grid live here.
   ========================================================================== */

.ia-gallery {
  background: #FFFFFF;
  padding: 70px 0 84px;
}

/* ===== NOTICE BAR ===== */
.ia-gallery__notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F0F7FB;
  border: 1px solid #CBE6F2;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 34px;
}
.ia-gallery__notice-hex {
  width: 34px;
  height: 34px;
  flex: none;
  background: #5BC6E8;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.ia-gallery__notice-text {
  font-size: 14px;
  color: #33506E;
  line-height: 1.5;
}

/* ===== PHOTO GRID ===== */
.ia-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ia-gallery-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
}
.ia-gallery-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .25s;
}
.ia-gallery-card:hover .ia-gallery-card__img { transform: scale(1.04); }

/* Frames the van shot lower so the hood and logo stay in view. */
.ia-gallery-card__img--low { object-position: center 58%; }

.ia-gallery-card__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(9, 22, 40, .85);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Empty slot — the design's "awaiting the Google Business Profile" treatment. */
.ia-gallery-card--empty {
  height: 280px;
  border: 1.5px dashed #C3D0DD;
  background: repeating-linear-gradient(45deg, #EDF2F7 0px, #EDF2F7 14px, #F7FAFC 14px, #F7FAFC 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ia-gallery-card__placeholder {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12.5px;
  color: #7C90A5;
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive (the source design is desktop-first at 1240px)
   ========================================================================== */
@media (max-width: 1024px) {
  .ia-gallery { padding: 56px 0 64px; }
  .ia-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 640px) {
  .ia-gallery { padding: 44px 0 52px; }
  .ia-gallery__notice {
    align-items: flex-start;
    padding: 14px;
    margin-bottom: 26px;
  }
  .ia-gallery__grid { grid-template-columns: 1fr; }
  .ia-gallery-card__img { height: 230px; }
  .ia-gallery-card--empty { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .ia-gallery-card__img { transition: none; }
  .ia-gallery-card:hover .ia-gallery-card__img { transform: none; }
}
