.web-public-detail > #app { display: contents; }
.web-shared-controls { display: contents; }
.service-content { --blue: var(--accent); }
.service-content a { text-underline-offset: .2em; }
.actions, .split, .review-filter { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.crumbs { padding-bottom: 25px; color: #4a627f; font-size: .95rem; }
.crumbs span { margin-inline: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 76px); align-items: center; background: radial-gradient(ellipse at 84% 4%,#dcecff,transparent 65%),#fff; border: 1px solid var(--line); border-radius: 27px; padding: clamp(25px, 5vw, 70px); }
.eyebrow { color: var(--blue); font-weight: 700; margin: 0 0 .9rem; }
.service-content :is(h1, h2, h3) { margin: 0; line-height: 1.17; letter-spacing: -.026em; }
.service-content h1 { font-size: clamp(2rem, 4.7vw, 4.55rem); }
.service-content h2 { font-size: clamp(1.45rem, 3vw, 2.3rem); margin-bottom: 20px; }
.service-content h3 { font-size: 1.1rem; }
.service-content p { margin: .7em 0 0; }
.lead { max-width: 64ch; font-size: clamp(1.1rem, 2vw, 1.35rem); color: #385271; }
.terms { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 25px 0 21px; }
.terms span, .terms strong { display: block; }
.terms span { color: #496581; font-size: .92rem; }
.terms strong { font-size: 1.35rem; font-weight: 600; }
.actions { justify-content: flex-start; }
.service-content :is(.primary, button) { display: inline-block; border-radius: 10px; padding: .64em 1em; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.primary { color: white; background: var(--blue); border: 1px solid var(--blue); }
.primary:hover { color: white; background: #103f96; }
.service-content button { border: 1px solid var(--line); background: white; color: #124b9c; }
.service-content button:disabled { opacity: .5; cursor: default; }
.art { aspect-ratio: 1; width: 100%; border-radius: 22px; background: #1a466e url("./themes.png") no-repeat; background-size: 400% 300%; }
.tile-0,.tile-4,.tile-8 { background-position-x: 0; }
.tile-1,.tile-5,.tile-9 { background-position-x: 33.3333%; }
.tile-2,.tile-6,.tile-10 { background-position-x: 66.6667%; }
.tile-3,.tile-7,.tile-11 { background-position-x: 100%; }
.tile-0,.tile-1,.tile-2,.tile-3 { background-position-y: 0; }
.tile-4,.tile-5,.tile-6,.tile-7 { background-position-y: 50%; }
.tile-8,.tile-9,.tile-10,.tile-11 { background-position-y: 100%; }
.section { margin-block: 27px; padding: clamp(20px, 3vw, 42px); background: white; border: 1px solid var(--line); border-radius: 20px; }
.scope, .steps { padding-left: 1.35rem; }
.scope li, .steps li, .related li { margin-block: .65em; }
.steps li { padding: 0 0 .9em .4em; }
.steps li::marker { color: var(--blue); font-weight: 700; }
.cards, .catalog, .review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards article, .catalog li, .review-card { padding: 20px; background: #f4f8ff; border: 1px solid var(--line); border-radius: 14px; overflow-wrap: anywhere; }
.cards { margin-top: 22px; }
.catalog, .related { list-style: none; padding: 0; margin: 0; }
.catalog p { color: #385271; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { padding: 7px 12px; border-radius: 25px; border: 1px solid var(--line); text-decoration: none; background: white; }
.service-content details { border-top: 1px solid var(--line); padding: 14px 0; }
.service-content summary { font-weight: 650; cursor: pointer; }
.service-content details p { margin-left: 18px; max-width: 82ch; }
.split { align-items: baseline; }
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.carousel .review-card { flex: 0 0 min(100%, 420px); scroll-snap-align: start; }
.review-card p { white-space: pre-wrap; }
.review-card time, .review-card .service { color: #385271; font-size: .9rem; }
.review-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 43px; height: 43px; flex: 0 0 43px; border-radius: 50%; background: #dfeeff; color: #285895; }
.review-filter { margin-top: 18px; justify-content: flex-start; }
.review-filter select { max-width: 100%; min-height: 40px; color: inherit; font: inherit; border-radius: 9px; border: 1px solid var(--line); background: white; }
#review-preview { scroll-margin-top: 118px; }
.service-content .review-preview-note { background: #fff3d5; color: #694a17; border-radius: 8px; padding: 10px 13px; margin: 0 0 13px; }
.review-preview-mark { display: inline-block; margin-bottom: 8px; color: #694a17; font-weight: 650; }
[data-controls] { margin-top: 15px; }
[hidden] { display: none !important; }
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
  .art { max-width: 320px; }
  .cards, .catalog, .review-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .cards, .catalog, .review-list { grid-template-columns: 1fr; }
}

.service-visual { position: relative; isolation: isolate; margin: 0; max-width: 385px; width: 100%; }
.service-visual .art { max-width: none; }
.service-visual-icon { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 15px; background: #edf7ff; box-shadow: 0 8px 22px #0d31523b; }
.service-orbit { position: absolute; inset: 11%; border: 1px solid #c4f3fd64; border-radius: 50%; pointer-events: none; animation: service-orbit 25s linear infinite; }
.service-orbit::before, .service-orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #c4f3fd; }
.service-orbit::before { left: 48%; top: -3px; }
.service-orbit::after { right: -2px; top: 56%; }
@keyframes service-orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .service-orbit { animation: none; } }
.service-content .service-flow article { display: grid; align-content: start; gap: 8px; }
.service-content .service-flow p { margin-top: 0; }
.service-content .service-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; background: #eef6ff; }
.service-result h2 { margin-block: 8px 12px; }
@media (max-width: 580px) { .service-content .service-result { grid-template-columns: 1fr; } }


/* Public service pages */
.service-content .hero { position: relative; isolation: isolate; overflow: hidden; padding: 30px; grid-template-columns: minmax(0, 1fr) minmax(0, 39%); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.service-content .hero-copy { align-self: center; min-width: 0; }
.service-content .service-visual { max-width: none; display: grid; min-width: 0; }
.service-content .service-visual .art { height: 100%; min-height: 320px; }
.service-content .service-orbit { inset: auto; z-index: -1; top: -31%; left: 24%; width: 580px; height: 580px; border-color: #447ace15; }
.service-content .service-orbit::before, .service-content .service-orbit::after { background: #508fdb50; }
.term-box { display: flex; gap: 10px; align-items: center; padding: 9px 13px; border: 1px solid #cbdcf5; border-radius: 10px; background: #f9fbff; }
.term-box svg, .service-catalog-grid h3 svg { flex: none; }
.term-box strong { font-size: 1.03rem; }
.service-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-catalog-grid article { display: flex; flex-direction: column; }
.service-catalog-grid h3 a { display: flex; align-items: center; gap: 8px; }
.service-catalog-grid .terms { margin: auto 0 0; padding-top: 16px; gap: 6px; }
.service-catalog-grid .term-box { padding: 7px 9px; }
.service-catalog-grid .term-box strong { font-size: .9rem; }
.work-gallery article { padding: 0; overflow: hidden; }
.work-gallery article p { padding: 5px 16px 17px; }
.work-photo { aspect-ratio: 2.35; background: #dceafa url("./service-work-v2.webp") no-repeat; background-size: 300% 100%; }
.work-photo-0 { background-position-x: 0; }
.work-photo-1 { background-position-x: 50%; }
.work-photo-2 { background-position-x: 100%; }
.service-content .result-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.service-article p { max-width: 85ch; }
.service-faq { display: grid; gap: 12px; }
.service-content .service-faq details { padding: 16px 19px; border: 1px solid #d4e2f5; border-radius: 13px; background: #f7faff; }
.service-content .service-faq details p { margin-left: 0; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.related-tile { min-width: 0; overflow: hidden; background: #f6f9ff; border: 1px solid #d9e6f6; border-radius: 12px; }
.related-grid .art { width: 100%; max-width: none; aspect-ratio: 1.7; border-radius: 0; }
.related-tile span { padding: 12px 13px; display: flex; align-items: center; gap: 8px; }
.related-tile svg { flex: none; }
.related-tile:hover { border-color: #7ea9ea; }
.service-feedback .carousel .review-card { flex-basis: calc((100% - 48px) / 4); }
.review-card .service a { display: inline-block; padding: 4px 8px; border: 1px solid #bcd4f4; border-radius: 8px; }
@media (max-width: 1050px) { .service-catalog-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service-feedback .carousel .review-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 780px) { .service-content .hero { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .service-catalog-grid, .service-content .result-cards, .work-gallery { grid-template-columns: 1fr; } .service-feedback .carousel .review-card { flex-basis: 100%; } .service-content .service-visual .art { min-height: 0; } }


.service-content .hero .terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: fit-content; max-width: 100%; }
.service-content .hero .term-box { padding-inline: 23px; min-width: 0; }
.service-content .service-artwork { display: block; width: 100%; height: auto; }
.service-content .service-visual .service-artwork { align-self: stretch; height: 100%; min-height: 270px; object-fit: cover; border-radius: 22px; }
.service-article p { max-width: none; }
.service-faq-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.service-faq-art { margin: 0; overflow: hidden; border: 1px solid #d4e4f6; border-radius: 16px; }
.related-grid .service-artwork { aspect-ratio: 640 / 380; object-fit: cover; }
@media (max-width: 780px) { .service-faq-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .service-content .hero .term-box { padding-inline: 9px; gap: 6px; } .service-content .hero .term-box strong { font-size: .91rem; } .service-content .hero .term-box svg { width: 16px; } .service-content .service-visual .service-artwork { min-height: 0; } }


.related-tile { display: flex; flex-direction: column; background: #fff; border-color: #ced6df; color: #182338; }
.related-tile span { flex: 1; border-top: 1px solid #dce2e8; padding: 15px 14px; color: #182338; font-weight: 700; font-size: 1.01rem; line-height: 1.35; }
.related-tile:hover, .related-tile:focus-visible { border-color: #6485ad; box-shadow: 0 5px 16px #23365112; }
.related-tile:hover span { background: #f7f8fa; }


.service-content .hero {
  background: radial-gradient(ellipse at 86% 4%, #eef3f6, transparent 65%), #fff;
}
.service-content .cards article, .service-content .review-card,
.service-content .service-faq details, .service-content .service-result {
  background: #fff;
  border-color: #dce0e4;
}
.service-catalog-grid article { transition: border-color .18s ease; }
.service-catalog-grid article:hover, .service-catalog-grid article:focus-within { border-color: #93a9c7; }
.service-catalog-grid h3 a { color: #182338; font-weight: 700; line-height: 1.35; }
.service-catalog-grid article > p { color: #47556a; }
.service-content .term-box {
  background: #f8f7f3;
  border-color: #dfdfd9;
}
.service-content .term-box span { color: #47556a; }
.service-content .term-box strong { color: #182338; font-weight: 700; }
