/* Home service cards. This component intentionally has its own class names so
   legacy sticky-card rules cannot affect it. */
.service-list{
  display:grid;
  gap:20px;
  width:min(100%,980px);
  margin-inline:auto;
}

.service-tile{
  display:grid;
  grid-template-columns:1fr minmax(260px,38%);
  gap:28px;
  align-items:center;
  min-height:0;
  padding:24px;
  border:1px solid rgba(24,35,44,.14);
  border-radius:24px;
  background:var(--ink);
  color:#fff;
  box-shadow:0 10px 28px rgba(24,35,44,.08);
}

.service-tile-info{min-width:0}
.service-tile-head{display:flex;align-items:baseline;gap:14px}
.service-tile-number{color:var(--gold-dark);font-size:15px;font-weight:800}
.service-tile h3{margin:0;font-size:clamp(24px,3vw,42px);line-height:1;letter-spacing:-.04em}
.service-tile-desc{max-width:50ch;margin:16px 0 0;color:var(--muted);font-size:14px;line-height:1.5}
.service-tile-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.16)}
.service-tile-price{color:var(--gold);font-size:18px;font-weight:800}
.service-tile-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid var(--gold);color:var(--gold);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.service-tile-link b{display:inline-flex;width:16px;height:16px;margin-left:7px;align-items:center;justify-content:center;font-size:0}
.service-tile-link b::after{width:16px;height:16px;content:'';background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a98750' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h11M10 5l5 5-5 5'/%3E%3C/svg%3E")}
.service-tile-image{height:190px;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#0a1620}
.service-tile-image img{display:block;width:100%;height:100%;object-fit:cover}
.service-tile[role="link"]{cursor:pointer}
.service-tile[role="link"]:hover{border-color:rgba(169,135,80,.55);box-shadow:0 14px 34px rgba(24,35,44,.14)}
.service-tile[role="link"]:focus-visible{outline:3px solid var(--gold);outline-offset:4px}

@media(min-width:1451px){
  .service-list{gap:0}
  .service-tile{position:sticky;top:80px;grid-template-columns:1fr minmax(300px,42%);min-height:380px;margin-bottom:28px;padding:30px;border-color:rgba(24,35,44,.46);border-radius:28px;background:var(--ink);color:#fff;box-shadow:0 20px 45px rgba(0,0,0,.18)}
  .service-tile:nth-child(2){top:96px}.service-tile:nth-child(3){top:112px}.service-tile:nth-child(4){top:128px}.service-tile:nth-child(5){top:144px}.service-tile:nth-child(6){top:160px}.service-tile:nth-child(7){top:176px}
  .service-tile-number,.service-tile-price{color:var(--gold)}
  .service-tile-desc{color:rgba(255,255,255,.62)}
  .service-tile-foot{border-top-color:rgba(255,255,255,.16)}
  .service-tile-link{border-color:var(--gold);color:var(--gold)}
  .service-tile-link b::after{filter:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23c9a96e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h11M10 5l5 5-5 5'/%3E%3C/svg%3E")}
  .service-tile-image{height:260px;border-color:rgba(255,255,255,.12);background:#0a1620}
}

@media(max-width:1450px){
  .service-list{gap:16px}
  .service-tile{grid-template-columns:1fr 280px;padding:18px 20px;border-radius:18px;background:var(--ink);color:#fff}
  .service-tile h3{font-size:clamp(22px,2.7vw,34px)}
  .service-tile-number,.service-tile-price{color:var(--gold)}
  .service-tile-desc{margin-top:10px;color:rgba(255,255,255,.62);font-size:13px;line-height:1.4}
  .service-tile-foot{margin-top:14px;padding-top:10px;border-top-color:rgba(255,255,255,.16)}
  .service-tile-link{border-color:var(--gold);color:var(--gold)}
  .service-tile-link b::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23c9a96e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h11M10 5l5 5-5 5'/%3E%3C/svg%3E")}
  .service-tile-image{height:150px;border-color:rgba(255,255,255,.12);background:#0a1620}
}

@media(max-width:650px){
  /* Mobile keeps the original dark sticky-card experience. */
  .service-list{display:block;padding-bottom:8vh}
  .service-tile,
  .service-tile:nth-child(n){
    position:sticky;
    top:64px;
    z-index:1;
    display:block;
    min-height:0;
    margin:0 0 14vh;
    padding:20px 16px 18px;
    border:1px solid rgba(24,35,44,.46);
    border-radius:20px;
    background:var(--ink);
    color:#fff;
    box-shadow:0 14px 30px rgba(0,0,0,.18);
  }
  .service-tile:nth-child(2){top:76px;z-index:2}
  .service-tile:nth-child(3){top:88px;z-index:3}
  .service-tile:nth-child(4){top:100px;z-index:4}
  .service-tile:nth-child(5){top:112px;z-index:5}
  .service-tile:nth-child(6){top:124px;z-index:6}
  .service-tile:nth-child(7){top:136px;z-index:7}
  .service-tile-head{display:grid;grid-template-columns:1fr;gap:15px}
  .service-tile-number{font-size:68px;line-height:.82;color:var(--gold)}
  .service-tile h3{font-size:28px;color:#fff}
  .service-tile-desc{margin-top:14px;color:rgba(255,255,255,.62);font-size:13px;line-height:1.5}
  .service-tile-image{height:210px;margin-top:22px;border:0;border-radius:16px;background:#0a1620}
  .service-tile-image img{height:210px}
  .service-tile-foot{margin-top:18px;padding-top:12px;border-top-color:rgba(255,255,255,.16)}
  .service-tile-price{font-size:18px;color:var(--gold)}
  .service-tile-link{min-height:44px;padding:10px 14px;border-color:var(--gold);color:var(--gold)}
  .service-tile[role="link"]:hover{border-color:rgba(24,35,44,.62);box-shadow:0 14px 30px rgba(0,0,0,.18)}
}
