.profile-tabs {display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:#e2e8ee;border-radius:12px}
.profile-tabs button {font:inherit;font-size:14px;font-weight:700;line-height:1.35;min-height:60px;padding:10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#004B93;cursor:pointer}
.profile-tabs button[aria-selected="true"] {background:#004B93;color:white;box-shadow:0 2px 5px #00366820}
.profile-tabs button span {display:inline-block;background:#DCEEFF;color:#003668;font-size:12px;padding:2px 6px;border-radius:20px;white-space:nowrap;margin-left:3px}
.profile-tabs button:focus-visible {outline:3px solid #004B93;outline-offset:3px}
.profile-results[hidden] {display:none}
.profile-results .cases {margin-top:3px}
.profile-tax {display:flex;align-items:center;gap:12px;background:#e9f0f6;border-radius:9px;padding:12px 14px;margin:0 0 12px;color:#004B93;font-size:12px;line-height:1.4}
.profile-tax strong {font-size:28px;white-space:nowrap}
.profile-tax small {display:block;font-size:11px;margin-top:3px}
@media(max-width:480px){.profile-tabs button{font-size:12px;padding:8px 5px}.profile-tabs button span{font-size:11px}.profile-tax{padding:10px}}

/* Keep the whole opening section steady while switching profiles. */
.desk > .dispatch,
.desk > .profile-choice {box-sizing:border-box;height:620px;min-height:0}
.profile-choice > h2,
.profile-choice > .case-guide,
.profile-choice > .profile-tabs,
.profile-choice > .other {flex-shrink:0}
.profile-choice > .profile-results {flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior-y:contain;padding:3px 4px 5px 0}
.profile-choice > .other {margin-top:auto}
.profile-results:focus-visible {outline:2px solid #004B93;outline-offset:2px}
@media(max-width:860px){
  .desk > .dispatch {height:auto;min-height:340px}
  .desk > .profile-choice {height:660px}
}

/* Gentle entrance on each profile change, without changing layout height. */
.profile-tabs button {transition:background-color 180ms ease,color 180ms ease,box-shadow 180ms ease}
.profile-results:not([hidden]) {animation:profile-reveal 280ms cubic-bezier(.22,1,.36,1) both}
@keyframes profile-reveal {
  from {opacity:0;transform:translateY(7px)}
  to {opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  .profile-results:not([hidden]) {animation:none}
  .profile-tabs button {transition:none}
}

/* A compact preview, with the full catalogue expanding into the hero space. */

.show-all-needs {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;min-height:38px;padding:8px 12px;border:1px solid #bdcbd9;border-radius:7px;background:#e9f0f6;color:#004B93;font:inherit;font-size:13px;font-weight:700;cursor:pointer;text-align:left;transition:background-color 180ms ease}
.show-all-needs[hidden] {display:none}
.show-all-needs:hover {background:#d6e2ed}
.show-all-needs:focus-visible {outline:3px solid #004B93;outline-offset:3px}
.profile-choice > .show-all-needs {margin-top:auto}
.profile-choice > .show-all-needs:not([hidden]) + .other {margin-top:0}
.profile-choice.catalogue-expanded .cases {grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
@media(min-width:861px) {
  .desk > .dispatch {grid-column:1;grid-row:1;min-width:0;transition:opacity 260ms ease,transform 400ms cubic-bezier(.22,1,.36,1)}
  .desk > .profile-choice {grid-column:1/-1;grid-row:1;justify-self:end;width:calc((100% - 12px)/2.08);min-width:0;z-index:1;transition:width 400ms cubic-bezier(.22,1,.36,1)}
  .desk.catalogue-expanded > .profile-choice {width:100%}
  .desk.catalogue-expanded > .dispatch {opacity:0;transform:translateX(-12px);pointer-events:none}
}
@media(max-width:600px) {
  .profile-choice.catalogue-expanded .cases {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {
  .desk > .dispatch,.desk > .profile-choice,.show-all-needs {transition:none}
}

/* Lock the outer row in both catalogue states; only the list may scroll. */
.desk {--needs-height:700px}
.desk > .profile-choice,
.desk > .profile-choice.catalogue-expanded {
  height:var(--needs-height);
  min-height:var(--needs-height);
  max-height:var(--needs-height);
  overflow:hidden;
}
.profile-choice > .profile-results {contain:inline-size;flex:1 1 0;min-height:0;max-height:100%;overflow-y:auto}
@media(min-width:861px) {
  .desk {grid-template-rows:var(--needs-height)}
  .desk > .dispatch {height:var(--needs-height);min-height:var(--needs-height);max-height:var(--needs-height)}
}
@media(max-width:860px) {
  .desk {--needs-height:740px;grid-template-rows:auto var(--needs-height)}
}

/* Availability belongs above the complete opening section. */
.availability-top {box-sizing:border-box;width:min(1160px,calc(100% - 48px));margin:16px auto 0}
.availability-top + .desk {margin-top:12px}
@media(max-width:860px){.availability-top{max-width:660px}}
@media(max-width:760px){.availability-top{width:calc(100% - 24px);margin-top:12px}.availability-top + .desk{margin-top:9px}}

/* Center the photograph vertically within the diagonal crop. */
.dispatch-photo .hero-cleaning-photo {object-position:center center}

/* Compact heading and profile controls. */
.desk > .profile-choice {gap:10px}
.profile-choice > h2 {margin:0 0 2px}
.profile-choice > .profile-tabs {margin:0}

/* Clear, consistent pictograms instead of illustrative service thumbnails. */
.case-panel .case > .service-icon {display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;padding:0;border:1px solid #d7e1ea;border-radius:9px;background:#edf2f6;color:#004B93}
.case-panel .case > .service-icon svg {width:30px;height:30px}
.profile-tabs button {display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.profile-tabs button .profile-icon {display:inline-flex;align-items:center;justify-content:center;background:transparent;color:inherit;margin:0;padding:0;border-radius:0;flex:0 0 19px}
.profile-icon svg {display:block;width:19px;height:19px}
@media(max-width:480px){.case-panel .case > .service-icon{flex-basis:42px;width:42px;height:48px}.case-panel .case > .service-icon svg{width:26px;height:26px}.profile-tabs button{gap:5px}.profile-icon svg{width:17px;height:17px}}

/* Ice blue accents and a clean white call button. */
.dispatch h1 em {color:#DCEEFF}
.dispatch .hotline {background:#FFFFFF;color:#004B93}
.dispatch .hotline:hover,.dispatch .hotline:focus-visible {background:#DCEEFF;color:#004B93}
.profile-tabs button span:not(.profile-icon) {background:#DCEEFF;color:#004B93}
.case-panel .case .home-tax b {background:#DCEEFF;color:#004B93}

/* A compact introduction to the urgent-cleaning process. */
.urgency-process {grid-column:1/-1;min-width:0;margin-top:10px;padding:26px 28px;background:#EDF5FC;border:1px solid #D6E6F4;border-radius:13px;color:#16334E}
.process-heading > span {font-size:11px;font-weight:700;letter-spacing:.05em;color:#004B93}
.process-heading h2 {margin:7px 0 22px;font-size:clamp(23px,2.6vw,32px);line-height:1.15;letter-spacing:-.04em;color:#10324F}
.process-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
.process-steps li {display:flex;align-items:flex-start;gap:12px;min-width:0}
.process-icon {display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:10px;background:#FFF;border:1px solid #D0E2F2;color:#004B93}
.process-icon svg {width:24px;height:24px}
.process-number {display:block;font-size:11px;font-weight:750;letter-spacing:.08em;color:#52789A;margin-bottom:5px}
.process-steps h3 {font-family:inherit;font-size:16px;line-height:1.35;letter-spacing:-.02em;margin:0;color:#123A60}
.process-steps p {font-size:13px;line-height:1.6;color:#466079;margin:7px 0 0}
.process-action {display:flex;align-items:center;gap:15px 22px;flex-wrap:wrap;margin-top:23px;padding-top:18px;border-top:1px solid #D0E2F2}
.process-action a {display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;padding:10px 15px;border-radius:7px;background:#004B93;color:#FFF;font-size:13px;font-weight:700}
.process-action a:hover {background:#003668}
.process-action a:focus-visible {outline:3px solid #004B93;outline-offset:3px}
.process-action small {font-size:11px;color:#526D85;line-height:1.5;max-width:340px}
@media(max-width:760px){.urgency-process{padding:21px 18px}.process-steps{grid-template-columns:1fr;gap:19px}.process-heading h2{margin-bottom:20px}.process-number{margin-bottom:3px}.process-action{gap:11px;margin-top:20px}.process-action a{width:100%}.process-action small{max-width:none}}

/* Center all card pictograms against the full height of the text. */
.case-panel .case {align-items:center}
.case-panel .case > .service-icon {align-self:center;margin-top:0;margin-bottom:0;position:static;transform:none}
.case-panel .case > .service-icon svg {display:block}

.profile-choice .profile-results .case {display:flex}

.personal-tax-conditions {font-size:11px;line-height:1.5;color:#526D85;margin:12px 0 4px}
.personal-tax-conditions a {color:#004B93;text-decoration:underline;text-underline-offset:3px}

/* A soft lower edge suggests additional services without covering any controls. */
.profile-choice > .profile-results.has-more-below {
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 44px),transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 44px),transparent 100%);
}

/* Mobile uses the page scroll, with every service visible in the active profile. */
@media(max-width:760px){
 .desk{grid-template-rows:auto auto}
 .desk > .profile-choice,
 .desk > .profile-choice.catalogue-expanded{height:auto;min-height:0;max-height:none;overflow:visible}
 .profile-choice > .profile-results{flex:0 0 auto;height:auto;min-height:0;max-height:none;overflow:visible;scrollbar-gutter:auto;overscroll-behavior-y:auto;contain:none;padding-right:0}
 .profile-choice > .profile-results.has-more-below{-webkit-mask-image:none;mask-image:none}
 .profile-choice > .other{margin-top:6px}
 .profile-choice > .inline-request,#inline-sos-form{flex:0 0 auto}
 #inline-sos-form .request-step{flex:0 0 auto;height:auto;max-height:none;overflow:visible;scrollbar-gutter:auto}
}

/* Slim profile switch on phones. */
@media(max-width:760px){
 .profile-tabs{gap:4px;padding:4px;border-radius:9px}
 .profile-tabs button{min-height:46px;padding:7px 6px;font-size:12px;line-height:1.25;gap:6px;flex-wrap:nowrap;border-radius:6px}
 .profile-tabs button .profile-icon{flex:0 0 18px;width:18px;height:18px}
 .profile-tabs button .profile-icon svg{width:18px;height:18px}
}

/* Quiet availability note, without pills. */
.terms-line.availability-strip{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;background:#edf4fa;border:1px solid #d9e7f2;border-radius:10px;color:#214c71}
.availability-strip .availability-icon{display:block;width:25px;height:25px;flex:0 0 25px;color:#004B93}
.availability-strip .availability-copy{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 16px}
.availability-strip .availability-copy strong{font-size:13px;line-height:1.5;font-weight:650}
.availability-strip .availability-copy small{font-size:12px;line-height:1.5;color:#59738b}
.case-panel .case .home-tax b{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:62px;min-height:24px;padding:4px 8px;line-height:1;text-align:center;align-self:center}
@media(max-width:760px){
 .terms-line.availability-strip{justify-content:flex-start;padding:11px 13px;gap:10px}
 .availability-strip .availability-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
 .availability-strip .availability-copy strong{font-size:12px}
 .availability-strip .availability-copy small{font-size:11px}
}

/* Center the complete availability group, including on narrow screens. */
.terms-line.availability-strip{justify-content:center;align-items:center;text-align:center}
.availability-strip .availability-copy{align-items:center;justify-content:center;text-align:center}
@media(max-width:760px){
 .terms-line.availability-strip{justify-content:center;align-items:center}
 .availability-strip .availability-copy{align-items:center;justify-content:center;text-align:center}
}

/* Compact profile controls at every screen size. */
.profile-tabs{gap:4px;padding:4px;border-radius:9px}
.profile-tabs button{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;gap:7px;min-height:44px;padding:8px 7px;font-size:13px;line-height:1.25;border-radius:6px}
.profile-tabs button .profile-icon{display:inline-flex;flex:0 0 18px;width:18px;height:18px;margin:0}
.profile-tabs button .profile-icon svg{width:18px;height:18px}
@media(max-width:760px){.profile-tabs button{min-height:42px;font-size:12px;padding:7px 5px;gap:5px}}

.dispatch-photo .hero-personal-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity 450ms ease;pointer-events:none}
.dispatch-photo.show-personal-photo .hero-personal-photo.photo-ready{opacity:1}
@media(prefers-reduced-motion:reduce){.dispatch-photo .hero-personal-photo{transition:none}}

/* Phone hero: keep contact actions in the dedicated navigation instead. */
@media(max-width:760px){.dispatch .hotline,.dispatch .direct-wa{display:none}}

/* Tax badge follows the service title naturally. */
.case-panel .case div:has(> .home-tax){display:block}
.case-panel .case div:has(> .home-tax)>strong{display:inline}
.case-panel .case div > .home-tax{position:static;display:inline-flex;vertical-align:middle;transform:none;margin:0 0 0 7px;padding:0;font-size:10px;line-height:1}
.case-panel .case div > .home-tax b{display:inline-flex;min-width:0;min-height:0;height:auto;padding:3px 6px;font-size:10px;line-height:1.1;transform:none;margin:0}

/* Floating tax badge on the icon corner, without changing card height. */
.case-panel .case > .service-visual{position:relative;display:block;flex:0 0 54px;width:54px;height:54px;align-self:center;padding:0;margin:0}
.case-panel .case .service-visual > .service-icon{display:grid;place-items:center;width:54px;height:54px;padding:0;border:1px solid #d7e1ea;border-radius:9px;background:#edf2f6;color:#004b93}
.case-panel .case .service-visual > .service-icon svg{display:block;width:30px;height:30px}
.case-panel .case .service-visual > .home-tax{position:absolute;z-index:1;top:-5px;right:-12px;left:auto;display:flex;margin:0;padding:0;width:max-content;transform:none;line-height:1}
.case-panel .case .service-visual .home-tax b{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:0;height:auto;padding:3px 6px;border:2px solid #fffdf9;border-radius:20px;background:#dceeff;color:#004b93;font-size:10px;line-height:1.1;white-space:nowrap;margin:0;transform:none}
@media(max-width:480px){.case-panel .case > .service-visual{width:42px;height:48px;flex-basis:42px}.case-panel .case .service-visual > .service-icon{width:42px;height:48px}.case-panel .case .service-visual > .service-icon svg{width:26px;height:26px}.case-panel .case .service-visual > .home-tax{right:-9px}}

/* Slightly smaller floating tax badges. */
.case-panel .case .service-visual > .home-tax{transform:scale(.9);transform-origin:top right}
