/* Emerald and gold image direction for Bu Mohammed. */
.services-grid { gap: 22px; }
.service { padding: 0; overflow: hidden; border-radius: 15px; display: flex; flex-direction: column; }
.service-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--green); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service-photo img { transform: scale(1.04); }
.service-body { padding: 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.service-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; color: #80602d; background: #eee5d4; margin-bottom: 17px; }
.service-icon svg { width: 26px; height: 26px; }
.service a { margin-top: auto; }
.service-image-note { display: block; margin-top: 9px; color: var(--muted); font-size: 10px; }
.hero { grid-template-columns: 1fr 1.15fr; gap: 55px; }
.hero-visual:before { border-radius: 22px; inset: 0 0 12px 25px; }
.photo-frame { height: auto; aspect-ratio: 3 / 2; border-radius: 18px; }
.photo-frame img { height: 100%; object-fit: contain; }
.photo-caption { right: 22px; left: 22px; padding: 15px 22px; }
.gallery-item figcaption { margin: 12px 4px 0; text-align: center; font-size: 12px; }
.concept-badge { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 4px 10px; border-radius: 20px; background: #183f38eb; color: #fff; font-size: 10px; line-height: 1.6; }
@media (max-width: 1000px) {
  .hero { gap: 32px; }
  .service-body { padding: 22px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .services-grid { gap: 12px; }
  .service-body { padding: 17px; }
  .service-icon { width: 35px; height: 35px; }
  .service-icon svg { width: 22px; height: 22px; }
  .service h3 { font-size: 16px; }
  .service p { font-size: 12px; }
  .service a { font-size: 11px; }
  .photo-frame { height: auto; }
  .photo-caption { right: 18px; left: 18px; padding: 11px 15px; }
  .photo-caption strong { font-size: 15px; }
}

.gallery-item .image-wrap{aspect-ratio:1/1}

/* Keep service names and contact actions readable at narrow widths. */
.photo-frame picture { display: block; width: 100%; height: 100%; }
.service-body h3 { line-height: 1.45; }
.service-body a { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; }
.filters button, .gallery-navigation button { min-height: 44px; }
.gallery-navigation button { min-width: 44px; }
@media (max-width: 760px) {
  .hero { gap: 1.35rem; padding-block: 1.75rem 2.3rem; }
  .hero h1 { margin-block: .55rem .8rem; line-height: 1.32; }
  .hero .intro { font-size: 1rem; line-height: 1.75; margin-block: .6rem 1.1rem; }
  .hero .actions { margin-top: 1rem; }
  .brand small { font-size: .73rem; }
  .gallery-controls { flex-wrap: wrap; }
  .gallery-item figcaption, .gallery-item span { font-size: .94rem; }
  .floating-contact { bottom: max(10px, env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .service { display: grid; grid-template-columns: minmax(6.5rem,.75fr) minmax(0,1.4fr); }
  .service .service-photo { height: 100%; min-height: 9.5rem; width: 100%; aspect-ratio: auto; }
  .service .service-photo img { width:100%; height:100%; object-fit:cover; }
  .service .service-body { min-width:0; padding: .9rem 1rem .45rem; }
  .service .service-icon { display:none; }
  .service h3 { font-size:1.1rem; margin:0; }
  .service p { font-size:.94rem; line-height:1.6; margin:.3rem 0; }
  .service a { font-size:.91rem; }
}

.hero .eyebrow { color:#775920; }
@media (max-width:760px) {
  .hero .hero-meta { margin-top:1rem; }
  .photo-caption { border-inline-start:3px solid var(--gold); }
}

.gallery-grid:empty { min-height:calc(var(--slide-width) + 6rem); }
