/* Services page — Figma "Minutemen": Services tabs + comparison by service (74:8858). */
.services{padding:calc(var(--header-h) + 44px) 16px 120px;display:flex;flex-direction:column;align-items:center}
.svc-view{width:min(1040px,100%);display:flex;flex-direction:column;align-items:center}
.svc-view[hidden]{display:none}
.svc-status{max-width:1040px;margin:0 0 24px;text-align:center;color:var(--n700)}
.svc-status .btn-soft{display:inline-flex;margin-left:8px}
.search-row{width:100%;height:50px;display:grid;grid-template-columns:190px 480px 190px;justify-content:space-between;align-items:center}
.search{display:block;height:50px;border-radius:25px;background:#fff;box-shadow:var(--shadow-soft)}
.search input{width:100%;height:100%;border:0;outline:0;background:transparent;border-radius:25px;text-align:center;font:inherit;font-size:16px;line-height:24px;color:var(--n950);padding:0 20px}
.search input::placeholder{color:var(--n500)}
.search input:focus{box-shadow:inset 0 0 0 2px var(--n950)}
.compare-cell{display:flex;justify-content:flex-end}
.tabs{display:flex;gap:56px;align-items:flex-end;padding-top:28px}
.tab{display:flex;align-items:center;gap:8px;padding-bottom:10px;position:relative;font-size:18px;line-height:26px;font-weight:500;color:var(--n500);transition:color .15s}
.tab:hover{color:var(--n950)}
.tab[aria-selected="true"]{color:var(--n950)}
.tab::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--n950);opacity:0;transition:opacity .15s}
.tab[aria-selected="true"]::after{opacity:1}
.divider{width:100%;height:1px;background:var(--n200)}
.pane{width:100%;display:flex;flex-direction:column;align-items:center}
.pane[hidden]{display:none}
.intro{padding:20px 0 28px;font-size:14px;line-height:20px;color:var(--n700);text-align:center}
.cards{display:flex;gap:20px;align-items:flex-start;justify-content:center;width:100%}
.svc-card{display:flex;flex-direction:column;gap:12px}
.cards.three .svc-card{width:333px}
.cards.two .svc-card{width:510px}
.svc-card .art{position:relative;aspect-ratio:2.0429;border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.svc-card .art img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
a.svc-card{color:inherit;text-decoration:none}
a.svc-card:hover .art img{transform:scale(1.03)}
a.svc-card:hover h3{color:var(--n700)}
a.svc-card:focus-visible{outline:2px solid var(--n950);outline-offset:4px;border-radius:16px}
.price{display:inline-block;padding:6px 12px;border-radius:30px;background:#fff;box-shadow:var(--shadow-pill);font-weight:500;font-size:12px;line-height:1.4;white-space:nowrap}
.svc-card .art .price{position:absolute;right:12px;top:12px}
.title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.title-row h3{font-size:14px;line-height:1.4;font-weight:600}
.svc-card .title-row span{font-size:12px;line-height:1.4;color:var(--n700);white-space:nowrap}
.svc-card p{font-size:12px;line-height:1.4;color:var(--n700)}
/* App-sized type with 12px text gaps for breathing room on the web. */
@supports (text-box:trim-both cap alphabetic){
  .svc-card .title-row h3,.svc-card .title-row span,.svc-card p,.addon-card h3,.addon-card p,.addon-card .adds{text-box:trim-both cap alphabetic}
}
.addon-card{width:333px;min-height:156px;padding:24px;border-radius:16px;display:flex;flex-direction:column;gap:12px}
.addon-card .title-row{height:auto}
.addon-card p{font-size:12px;line-height:1.4;color:var(--n700)}
.addon-card .adds{font-size:12px;line-height:1.4;font-weight:400;color:var(--n700)}
.no-results{padding:40px 0;color:var(--n700)}
.is-filtered{display:none!important}

/* ---- comparison: columns by service (Figma 74:8858) ---- */
.compare{width:min(1040px,100%);display:flex;flex-direction:column;gap:36px}
.compare[hidden]{display:none}
.services.comparing{padding-top:calc(var(--header-h) + 56px)}
.compare-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.compare-head h1{font-size:36px;line-height:44px;font-weight:700;letter-spacing:-.5px}
.compare-head p{margin-top:8px;font-size:16px;line-height:24px;color:var(--n600)}
.compare-head .back{margin-bottom:12px}
.table-scroll{overflow-x:auto}
table{border-collapse:collapse;width:100%;table-layout:fixed}
table th,table td{padding:0;font-weight:inherit;text-align:center}
col.c-label{width:300px}
.lanes th{padding:0 8px;vertical-align:top}
.lane-title{height:40px;display:flex;align-items:flex-start;justify-content:center;gap:6px;border-bottom:2px solid var(--n300);white-space:nowrap}
.lane-title img{margin-top:7px}
.lane-title b{font-size:20px;line-height:28px;font-weight:700}
.lane-title span{margin-top:4px;font-size:14px;line-height:20px;color:var(--n600)}
.svcs th{padding:16px 8px 20px;vertical-align:top}
.svcs b{display:block;font-weight:600;font-size:14px;line-height:20px}
.c-price{display:block;margin-top:4px;font-size:14px;line-height:20px}
.c-time{display:block;margin-top:4px;font-size:12px;line-height:16px;font-weight:500;color:var(--n600)}
.group th{text-align:left;padding:12px 0 10px;font-size:20px;line-height:28px;font-weight:700;border-bottom:1px solid var(--n300)}
.feat{height:44px;border-bottom:1px solid var(--n200)}
.feat th{text-align:left;font-size:14px;line-height:20px;color:var(--n700);background:#fff}
.feat td img{margin:0 auto}
.compare-note{margin-top:-8px;font-size:14px;line-height:20px;color:var(--n600)}

@media (max-width:1100px){
  .cards{flex-direction:column;align-items:center}
  .cards.three .svc-card,.cards.two .svc-card,.addon-card{width:min(510px,100%)}
}
@media (max-width:860px){
  .services{padding-top:calc(var(--header-h) + 16px)}
  .search-row{height:auto;grid-template-columns:1fr;gap:12px}
  .search-row .spacer{display:none}
  .compare-cell{justify-content:center}
  .tabs{gap:28px;padding-top:20px}
  .tab{font-size:16px;line-height:24px}
  .compare-head{flex-direction:column;align-items:flex-start;gap:12px}
  .compare-head h1{font-size:28px;line-height:34px}
  .compare-head .back{margin-bottom:0}
  col.c-label{width:150px}
  .feat th,.group th{position:sticky;left:0;z-index:1;background:#fff}
  .lane-title span{display:none}
}

/* Hide the initial placeholder only until a cached or fresh backend catalog is available. */
.cards{flex-wrap:wrap}
.services.is-loading .cards,.services.is-loading .table-scroll{visibility:hidden}
/* While loading, the face loader (mm-loader.js) sits over the hidden cards. */
.services .pane{position:relative}
.services .svc-load{position:absolute;left:0;right:0;top:40px;padding:0;z-index:1}
@keyframes mmSpin{to{transform:rotate(360deg)}}
.empty{color:var(--n700);padding:24px 0}

/* favorite heart: phones only (Figma "Services — mobile") */
.svc-card .fav{display:none}
.compare-m{display:none}
/* ================= phones: Figma "Services — mobile" (74:12978, 74:13085) ================= */
@media (max-width:640px){
  .services{padding:calc(var(--header-h) + 12px) 20px 64px}
  .search-row{gap:16px}
  .search{height:52px;border-radius:26px;box-shadow:0 4px 16px rgba(0,0,0,.12)}
  .search input{border-radius:26px;font-size:16px;padding:0 20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%235E6778%22%20d%3D%22M384%20208a176%20176%200%201%200%20-352%200%20176%20176%200%201%200%20352%200zM343.3%20366C307%20397.2%20259.7%20416%20208%20416%2093.1%20416%200%20322.9%200%20208S93.1%200%20208%200%20416%2093.1%20416%20208c0%2051.7-18.8%2099-50%20135.3L507.3%20484.7c6.2%206.2%206.2%2016.4%200%2022.6s-16.4%206.2-22.6%200L343.3%20366z%22/%3E%3C/svg%3E") no-repeat calc(50% - 86px) center/16px 16px}
  .search input:not(:placeholder-shown),.search input:focus{background-position:16px center;padding-left:42px;text-align:left}
  .search input::placeholder{font-size:14px;color:var(--n600)}
  .compare-cell .btn-soft{height:40px;padding:0 20px}
  .tabs{gap:24px;padding-top:16px}
  .tab::after{background:var(--n950);border-radius:2px}
  .divider{width:calc(100% + 40px);margin:0 -20px}
  .intro{padding:16px 0 28px;color:var(--n600)}
  .cards{gap:28px}
  .cards.three .svc-card,.cards.two .svc-card{width:100%}
  .svc-card .art{aspect-ratio:395/172;border-radius:12px}
  .svc-card .fav{display:grid;place-items:center;position:absolute;left:10px;top:10px;width:32px;height:32px;border-radius:50%;background:#fff;color:var(--n950);box-shadow:var(--shadow-pill)}
  .svc-card .fav[aria-pressed="true"]{color:#F2476A}
  .svc-card .title-row span,.svc-card p,.addon-card p,.addon-card .adds{color:var(--n600)}
  /* compare */
  .services.comparing{padding-top:calc(var(--header-h) + 20px)}
  .compare{gap:16px}
  .compare-head{gap:12px}
  .compare-head .back{order:-1;height:auto;padding:0;background:none;font-size:14px;line-height:20px;font-weight:600;gap:8px}
  .compare-head .back::before{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M4.7%20244.7c-6.2%206.2-6.2%2016.4%200%2022.6l176%20176c6.2%206.2%2016.4%206.2%2022.6%200s6.2-16.4%200-22.6L54.6%20272%20496%20272c8.8%200%2016-7.2%2016-16s-7.2-16-16-16L54.6%20240%20203.3%2091.3c6.2-6.2%206.2-16.4%200-22.6s-16.4-6.2-22.6%200l-176%20176z%22/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M4.7%20244.7c-6.2%206.2-6.2%2016.4%200%2022.6l176%20176c6.2%206.2%2016.4%206.2%2022.6%200s6.2-16.4%200-22.6L54.6%20272%20496%20272c8.8%200%2016-7.2%2016-16s-7.2-16-16-16L54.6%20240%20203.3%2091.3c6.2-6.2%206.2-16.4%200-22.6s-16.4-6.2-22.6%200l-176%20176z%22/%3E%3C/svg%3E") no-repeat center/contain}
  .compare-head h1{font-size:23px;line-height:1.2}
  .compare-head p{margin-top:4px;font-size:14px;line-height:20px}
  .table-scroll{display:none}
  .compare-m{display:block}
  .m-scroll{overflow-x:auto;margin:0 -20px;padding:0 20px}
  .m-head{display:grid;gap:8px 4px;margin-bottom:16px}
  .m-lane{padding:6px 8px;border-radius:8px;background:#F3F6FA;font-size:12px;line-height:16px;text-align:center;white-space:nowrap}
  .m-svc{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
  .m-svc b{font-size:12px;line-height:16px;font-weight:400}
  .m-svc > span:last-child{font-size:12px;line-height:16px;color:var(--n600)}
  .compare-m h2{margin:16px 0 8px;font-size:19px;line-height:26px;font-weight:700}
  .m-feat{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-bottom:1px solid var(--n200)}
  .m-feat b{font-size:14px;line-height:20px;font-weight:400}
  .m-cells{display:grid;gap:4px}
  .m-cells span{display:grid;place-items:center;height:16px}
  .m-cells .dot{width:4px;height:4px;border-radius:50%;background:var(--n300)}
  .compare-note{margin-top:8px}
}
