/* RCD Home service selector — ported from Customer app HomeServiceCards. */
.rcd-home-service-switcher{
  display:grid;
  grid-template-columns:repeat(var(--rcd-service-count,3),minmax(0,1fr));
  gap:12px;
  width:min(100%,720px);
  margin:0 auto 8px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.rcd-home-service-switcher[hidden]{display:none!important}

.rcd-home-service-tab{
  position:relative;
  appearance:none;
  display:block;
  min-width:0;
  height:108px;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(8,120,70,.10);
  border-radius:19px;
  background:rgba(239,247,243,.96);
  color:#087846;
  font:inherit;
  cursor:pointer;
  transition:transform .16s ease,background .16s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.rcd-home-service-tab[hidden]{display:none!important}
.rcd-home-service-tab:hover,
.rcd-home-service-tab:focus-visible{
  transform:translateY(-1px);
  outline:none;
  border-color:rgba(8,120,70,.18);
  box-shadow:0 9px 22px rgba(6,72,45,.10);
}
.rcd-home-service-tab.is-active{
  border-color:rgba(255,255,255,.16);
  background:linear-gradient(145deg,#0a8b51,#087846);
  color:#fff;
  box-shadow:0 10px 24px rgba(8,120,70,.18);
}

.rcd-home-service-tab__check{
  position:absolute;
  z-index:3;
  top:9px;
  right:10px;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,45,28,.10);
  opacity:0;
  transform:scale(.8);
  transition:opacity .16s ease,transform .16s ease;
}
 .rcd-home-service-tab.is-active .rcd-home-service-tab__check{opacity:1;transform:scale(1)}
.rcd-home-service-tab.is-active .rcd-home-service-tab__check::after{
  content:"";
  position:absolute;
  inset:3.5px;
  border-radius:50%;
  background:#087846;
}

.rcd-home-service-tab__media{
  position:absolute;
  z-index:1;
  left:10px;
  right:10px;
  top:12px;
  height:61px;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.rcd-home-service-tab__media img{
  display:block;
  width:auto;
  max-width:96%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 5px 8px rgba(0,43,27,.12));
}
.rcd-home-service-tab[data-home-service="car_transfer"] .rcd-home-service-tab__media img{
  max-width:92%;
  height:92%;
}
.rcd-home-service-tab__label{
  position:absolute;
  z-index:2;
  left:8px;
  right:8px;
  top:76px;
  bottom:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:13.5px;
  line-height:1.2;
  font-weight:800;
  overflow:hidden;
}

/* Customer app two-service mode: lower, horizontal silhouette-led cards. */
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab{
  height:76px;
  border-radius:15px;
  text-align:center;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__media{
  left:4px;
  right:auto;
  top:6px;
  width:44%;
  height:64px;
  justify-content:flex-end;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__media img{
  width:100%;
  max-width:100%;
  height:100%;
  object-position:right center;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__label{
  left:45%;
  right:9px;
  top:0;
  bottom:0;
  font-size:14px;
  line-height:1.15;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__check{
  top:9px;
  right:10px;
}

@media(max-width:620px){
  .rcd-home-service-switcher{gap:7px;width:100%}
  .rcd-home-service-tab{height:100px;border-radius:17px}
  .rcd-home-service-tab__media{top:13px;height:52px}
  .rcd-home-service-tab__label{top:70px;font-size:11.5px}
  .rcd-home-service-tab__check{top:9px;right:9px}
  .rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab{height:72px}
  .rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__media{height:60px}
  .rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__label{font-size:13px}
}

/* Non-rental service entry stays available when a market has no rental. */
.rcd-home-service-entry{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  width:min(100%,760px);
  margin:0 auto 12px;
  padding:22px 24px;
  border:1px solid rgba(16,92,62,.12);
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 34px rgba(13,67,47,.08);
  text-align:start;
}
.rcd-home-service-entry[hidden]{display:none!important}
.rcd-home-service-entry__eyebrow{display:block;margin-bottom:5px;color:#087846;font-weight:800;font-size:13px}
.rcd-home-service-entry h2{margin:0 0 6px;font-size:22px;line-height:1.35;color:#173126}
.rcd-home-service-entry p{margin:0;max-width:62ch;color:#5a6f65;line-height:1.6}
.rcd-home-service-entry .button{white-space:nowrap}
@media(max-width:620px){
  .rcd-home-service-entry{grid-template-columns:1fr;padding:18px}
  .rcd-home-service-entry .button{width:100%}
}
[data-service-section].rcd-service-unavailable{display:none!important}


/* 2026-10-22 service-card visual balance: equal cards, normalized artwork and calmer active state. */
.rcd-home-service-switcher{
  width:min(100%,1180px);
  gap:14px;
  margin:0 auto 14px;
}
.rcd-home-service-tab{
  height:118px;
  border:1px solid #d7e4dd;
  border-radius:20px;
  background:linear-gradient(180deg,#f9fcfa 0%,#eef6f2 100%);
  box-shadow:0 8px 20px rgba(14,68,49,.045);
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.rcd-home-service-tab:hover,
.rcd-home-service-tab:focus-visible{
  transform:translateY(-2px);
  border-color:#b9d4c5;
  box-shadow:0 12px 24px rgba(10,77,51,.09);
}
.rcd-home-service-tab.is-active{
  border-color:#21a167;
  background:linear-gradient(145deg,#0b9257 0%,#087846 100%);
  box-shadow:0 12px 26px rgba(8,120,70,.16),inset 0 0 0 1px rgba(255,255,255,.08);
}
.rcd-home-service-tab__check{
  top:11px;
  right:12px;
  width:14px;
  height:14px;
  box-shadow:0 2px 6px rgba(0,50,31,.14);
}
.rcd-home-service-tab__media{
  left:14px;
  right:14px;
  top:10px;
  height:70px;
}
.rcd-home-service-tab__media img{
  width:auto;
  max-width:82%;
  height:64px;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 6px 8px rgba(0,43,27,.10));
}
.rcd-home-service-tab[data-home-service="car_rental"] .rcd-home-service-tab__media img{
  max-width:79%;
  height:64px;
}
.rcd-home-service-tab[data-home-service="yacht_charter"] .rcd-home-service-tab__media img{
  max-width:72%;
  height:60px;
}
.rcd-home-service-tab[data-home-service="car_transfer"] .rcd-home-service-tab__media img{
  max-width:80%;
  height:64px;
}
.rcd-home-service-tab__label{
  top:auto;
  bottom:12px;
  height:22px;
  font-size:14px;
  line-height:1.15;
  letter-spacing:.005em;
}

/* Two services stay horizontal, but both silhouettes occupy the same visual box. */
.rcd-home-service-switcher[data-service-count="2"]{
  width:min(100%,880px);
  gap:14px;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab{
  height:88px;
  border-radius:18px;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__media{
  left:12px;
  right:auto;
  top:10px;
  width:44%;
  height:66px;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__media img{
  width:100%;
  max-width:92%;
  height:62px;
  object-position:center;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab[data-home-service="yacht_charter"] .rcd-home-service-tab__media img{
  max-width:84%;
  height:58px;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__label{
  left:46%;
  right:14px;
  top:0;
  bottom:0;
  height:auto;
  font-size:14px;
}
.rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__check{
  top:10px;
  right:11px;
}

@media(max-width:760px){
  .rcd-home-service-switcher{gap:8px}
  .rcd-home-service-tab{
    height:102px;
    border-radius:17px;
  }
  .rcd-home-service-tab__media{
    top:11px;
    left:8px;
    right:8px;
    height:58px;
  }
  .rcd-home-service-tab__media img,
  .rcd-home-service-tab[data-home-service="car_rental"] .rcd-home-service-tab__media img,
  .rcd-home-service-tab[data-home-service="car_transfer"] .rcd-home-service-tab__media img{
    max-width:92%;
    height:54px;
  }
  .rcd-home-service-tab[data-home-service="yacht_charter"] .rcd-home-service-tab__media img{
    max-width:86%;
    height:50px;
  }
  .rcd-home-service-tab__label{
    bottom:10px;
    height:19px;
    font-size:11.5px;
  }
}
@media(max-width:620px){
  .rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab{height:78px}
  .rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__media{top:8px;height:60px}
  .rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__media img{height:56px}
  .rcd-home-service-switcher[data-service-count="2"] .rcd-home-service-tab__label{font-size:12.5px}
}
