/* ============================================================
   /service/ Hero — adopted corporate gateway
   Parity-first integration from selected demo service/hero V24.
   ============================================================ */

.s-service-hero {
  --service-hero-navy: #102b53;
  --service-hero-navy-deep: #0d2246;
  --service-hero-gold: #b08741;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  min-height: clamp(700px, 56vw, 780px);
  margin-bottom: clamp(18px, 2.8vw, 36px);
  overflow-x: clip;
  overflow-y: visible;
  border-top: 1px solid rgba(176, 135, 65, 0.12);
  color: var(--service-hero-navy);
  background:
    linear-gradient(180deg, rgba(235, 224, 204, 0.2) 0, transparent 14%),
    radial-gradient(circle at 78% 29%, rgba(209, 176, 111, 0.2), transparent 24%),
    radial-gradient(circle at 14% 83%, rgba(102, 137, 168, 0.11), transparent 27%),
    linear-gradient(180deg, #faf6ed 0%, #fffdf8 68%, #fff9f1 100%);
  isolation: isolate;
}

.s-service-hero *,
.s-service-hero *::before,
.s-service-hero *::after {
  box-sizing: inherit;
}

.s-service-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(8deg, rgba(72, 54, 27, 0.022) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(95deg, rgba(72, 54, 27, 0.016) 0 1px, transparent 1px 8px);
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.s-service-hero::after {
  position: absolute;
  left: 50%;
  bottom: -59px;
  z-index: 3;
  width: max(1520px, 118vw);
  aspect-ratio: 2600 / 600;
  background: var(--service-hero-brush) center / 100% auto no-repeat;
  clip-path: inset(0 100% 0 0);
  content: "";
  opacity: 0;
  transform: translateX(-50%) translateY(8px) rotate(-0.4deg);
  animation: service-hero-brush var(--hero-family-brush-duration) var(--hero-family-brush-delay) var(--hero-family-brush-ease) both;
  pointer-events: none;
}

.s-service-hero__sweep {
  position: absolute;
  top: -57%;
  right: -9%;
  z-index: 1;
  width: 74vw;
  min-width: 860px;
  aspect-ratio: 1;
  border: clamp(64px, 7.5vw, 112px) solid rgba(19, 53, 91, 0.035);
  border-radius: 50%;
  pointer-events: none;
}

.s-service-hero__sweep::before {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(176, 135, 65, 0.18);
  border-radius: inherit;
  content: "";
}

.s-service-hero__sweep::after {
  position: absolute;
  inset: 19%;
  border: 1px solid rgba(176, 135, 65, 0.09);
  border-radius: inherit;
  content: "";
}

.s-service-hero__halo {
  position: absolute;
  top: 11%;
  right: 7%;
  z-index: 1;
  width: min(42vw, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 211, 169, 0.31), rgba(233, 211, 169, 0.065) 58%, transparent 69%);
  pointer-events: none;
}

.s-service-hero__orbit--small {
  position: absolute;
  bottom: -33%;
  left: -14%;
  z-index: 1;
  width: min(46vw, 650px);
  aspect-ratio: 1;
  border: 1px solid rgba(16, 43, 83, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.s-service-hero__guide {
  position: absolute;
  right: 0;
  bottom: 22%;
  z-index: 1;
  width: 32%;
  height: 1px;
  background: linear-gradient(90deg, rgba(176, 135, 65, 0.42), transparent);
  pointer-events: none;
}

.s-service-hero__inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(450px, 0.94fr);
  grid-template-areas: "copy visual" "reception visual" "trust visual";
  align-content: center;
  align-items: center;
  gap: 16px clamp(30px, 4.5vw, 70px);
  width: min(1240px, calc(100% - 64px));
  min-height: inherit;
  margin: 0 auto;
  padding-block: clamp(72px, 6.5vw, 94px) clamp(126px, 11vw, 154px);
}

.s-service-hero__copy {
  grid-area: copy;
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding: clamp(30px, 4vw, 52px) 24px clamp(22px, 3vw, 38px) clamp(30px, 3.7vw, 52px);
  opacity: 0;
  transform: translateY(12px);
  animation: service-hero-copy 700ms 120ms ease-out forwards;
}

.s-service-hero__copy::before {
  position: absolute;
  inset: 0 5% 0 0;
  z-index: -1;
  border-left: 1px solid rgba(176, 135, 65, 0.35);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.28) 76%, transparent);
  content: "";
}

.s-service-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--service-hero-gold);
  font-size: var(--fs-eyebrow, 0.78rem);
  font-weight: var(--fw-label, 700);
  letter-spacing: 0.17em;
}

.s-service-hero__eyebrow small {
  color: rgba(16, 43, 83, 0.4);
  font-size: 0.56rem;
  letter-spacing: 0.21em;
}

.s-service-hero__eyebrow i {
  width: 34px;
  height: 1px;
  background: currentcolor;
}

.s-service-hero__title-row {
  position: relative;
  display: inline-block;
}

.s-service-hero__title {
  position: relative;
  z-index: 2;
  max-width: 12em;
  margin: 0;
  color: var(--service-hero-navy);
  font-family: var(--font-serif, serif);
  font-size: var(--hero-title-business, clamp(1.9rem, 3.2vw, 2.7rem));
  font-weight: var(--fw-heading, 700);
  line-height: 1.38;
  letter-spacing: 0.055em;
  text-wrap: balance;
}

.s-service-hero__title span {
  color: var(--service-hero-navy);
}

.s-service-hero__title-mark {
  position: absolute;
  right: -48px;
  bottom: 0.25em;
  z-index: 1;
  width: 94px;
  height: 20px;
  border-bottom: 2px solid rgba(176, 135, 65, 0.68);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.s-service-hero__lead {
  max-width: 36em;
  margin: 20px 0 0;
  padding-left: 18px;
  border-left: 2px solid rgba(176, 135, 65, 0.47);
  color: rgba(20, 46, 81, 0.75);
  font-size: clamp(0.94rem, 1.08vw, 1.04rem);
  font-weight: var(--fw-body, 500);
  line-height: 1.9;
  text-wrap: pretty;
}

.s-service-hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 17px 0 0;
  color: rgba(16, 43, 83, 0.43);
  font-size: 0.54rem;
  font-weight: var(--fw-label, 700);
  letter-spacing: 0.16em;
}

.s-service-hero__note span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s-service-hero__note span::before {
  width: 5px;
  height: 5px;
  border: 1px solid var(--service-hero-gold);
  border-radius: 50%;
  content: "";
}

.s-service-hero__visual-wrap {
  grid-area: visual;
  position: relative;
  z-index: 5;
  width: min(100%, 555px);
  justify-self: end;
  margin-right: 2px;
}

.s-service-hero__visual-wrap::before {
  position: absolute;
  inset: -32px -30px -22px 32px;
  z-index: -2;
  border: 1px solid rgba(176, 135, 65, 0.26);
  border-radius: 50% 50% 44px 44px / 45% 45% 44px 44px;
  content: "";
}

.s-service-hero__visual-line {
  position: absolute;
  top: 40%;
  right: calc(100% - 12px);
  z-index: -1;
  width: clamp(110px, 15vw, 220px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 135, 65, 0.58));
}

.s-service-hero__visual-line::before {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--service-hero-gold);
  border-radius: 50%;
  background: #faf6ed;
  content: "";
}

.s-service-hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: clamp(9px, 1vw, 13px) solid rgba(255, 255, 255, 0.94);
  border-radius: 50% 50% 36px 36px / 44% 44% 36px 36px;
  background: #fff6e9;
  box-shadow: 0 30px 68px rgba(25, 50, 81, 0.17), inset 0 0 0 1px rgba(154, 115, 52, 0.2);
  animation: service-hero-window 760ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.s-service-hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 34%);
  content: "";
  pointer-events: none;
}

.s-service-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.055);
}

.s-service-hero__visual-label {
  position: absolute;
  top: 20%;
  right: -80px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(16, 43, 83, 0.43);
  writing-mode: vertical-rl;
}

.s-service-hero__visual-label b {
  font-size: 0.61rem;
  letter-spacing: 0.2em;
}

.s-service-hero__visual-label small {
  font-size: 0.47rem;
  letter-spacing: 0.1em;
  line-height: 1.45;
}

.s-service-hero__stamp {
  position: absolute;
  right: -15px;
  bottom: -42px;
  z-index: 7;
  width: clamp(90px, 7.5vw, 108px);
  aspect-ratio: 1;
  mix-blend-mode: multiply;
  animation: service-hero-stamp var(--hero-family-stamp-duration) var(--hero-family-stamp-delay) var(--hero-family-stamp-ease) both;
  pointer-events: none;
}

.s-service-hero__stamp img {
  display: block;
  width: 100%;
  height: 100%;
}

.s-service-hero__reception {
  grid-area: reception;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-left: clamp(30px, 3.7vw, 52px);
}

.s-service-hero__primary-group {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.s-service-hero__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #304a80, var(--service-hero-navy-deep));
  box-shadow: 0 14px 30px rgba(29, 45, 86, 0.25);
  font-size: 0.95rem;
  font-weight: var(--fw-button, 700);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.s-service-hero__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(29, 45, 86, 0.31);
}

.s-service-hero__primary .tkg-icon {
  width: 17px;
  height: 17px;
}

.s-service-hero__arrow {
  transition: transform 0.2s ease;
}

.s-service-hero__primary:hover .s-service-hero__arrow {
  transform: translateX(3px);
}

.s-service-hero__hours {
  color: rgba(16, 43, 83, 0.58);
  font-size: 0.71rem;
  line-height: 1.5;
  text-align: center;
}

.s-service-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid rgba(16, 43, 83, 0.24);
  border-radius: 999px;
  color: var(--service-hero-navy);
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  font-weight: var(--fw-button, 700);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.s-service-hero__secondary:hover {
  border-color: rgba(176, 135, 65, 0.58);
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.s-service-hero__secondary .tkg-icon {
  width: 14px;
  height: 14px;
}

.s-service-hero__trust-wrap {
  grid-area: trust;
  position: relative;
  margin: 4px 0 0 clamp(30px, 3.7vw, 52px);
  padding: 14px 18px 13px;
  border-top: 1px solid rgba(176, 135, 65, 0.32);
  border-bottom: 1px solid rgba(176, 135, 65, 0.13);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.12));
}

.s-service-hero__trust-label {
  position: absolute;
  top: -7px;
  left: 14px;
  padding: 0 7px;
  color: rgba(176, 135, 65, 0.75);
  background: #fbf8f1;
  font-size: 0.48rem;
  font-weight: var(--fw-label, 700);
  letter-spacing: 0.18em;
}

.s-service-hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.s-service-hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(16, 43, 83, 0.8);
}

.s-service-hero__trust li + li {
  padding-left: 17px;
  border-left: 1px solid rgba(16, 43, 83, 0.11);
}

.s-service-hero__trust li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(176, 135, 65, 0.36);
  border-radius: 50%;
  color: var(--service-hero-gold);
  background: rgba(255, 255, 255, 0.64);
}

.s-service-hero__trust .tkg-icon {
  width: 11px;
  height: 11px;
}

.s-service-hero__trust strong {
  font-size: 0.77rem;
  font-weight: var(--fw-label, 700);
  line-height: 1.5;
}

.s-service-hero__next {
  position: absolute;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 39px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(16, 43, 83, 0.44);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
}

.s-service-hero__next small {
  color: var(--service-hero-gold);
  font-size: 0.48rem;
}

.s-service-hero__next i {
  width: 44px;
  height: 1px;
  background: rgba(176, 135, 65, 0.5);
}

.s-service-hero__next b {
  font-weight: var(--fw-label, 700);
}

.s-service-hero a:focus-visible {
  outline: 3px solid rgba(176, 135, 65, 0.48);
  outline-offset: 4px;
}

@keyframes service-hero-copy {
  to { opacity: 1; transform: none; }
}

@keyframes service-hero-window {
  from { opacity: 0; transform: translateX(24px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes service-hero-brush {
  0% { clip-path: inset(0 100% 0 0); opacity: 0; transform: translateX(-50%) translateY(8px) rotate(-0.4deg); }
  24% { opacity: 0.94; }
  100% { clip-path: inset(0); opacity: 0.94; transform: translateX(-50%) rotate(-0.4deg); }
}

@keyframes service-hero-stamp {
  0% { opacity: 0; transform: rotate(-16deg) scale(1.6); }
  62% { opacity: 1; transform: rotate(-8deg) scale(0.95); }
  100% { opacity: 1; transform: rotate(-9deg) scale(1); }
}

@media (max-width: 980px) {
  .s-service-hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
    width: min(100% - 40px, 1080px);
    gap: 15px 28px;
  }

  .s-service-hero__visual-label { display: none; }
  .s-service-hero__trust { grid-template-columns: 1fr; gap: 5px; }
  .s-service-hero__trust li + li { padding-left: 0; border-left: 0; }
}

@media (max-width: 840px) {
  .s-service-hero { min-height: 0; }
  .s-service-hero::after { bottom: -42px; width: max(1020px, 230vw); }
  .s-service-hero__sweep { top: 24%; right: -106%; min-width: 720px; }
  .s-service-hero__halo { top: 40%; right: -20%; width: 112vw; }
  .s-service-hero__orbit--small { bottom: -6%; left: -70%; width: 120vw; }
  .s-service-hero__guide { display: none; }

  .s-service-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual" "reception" "trust";
    gap: 18px;
    width: min(100% - 32px, 560px);
    padding-block: 104px 80px;
  }

  .s-service-hero__copy { max-width: none; padding: 28px 8px 13px 23px; }
  .s-service-hero__eyebrow small { display: none; }

  .s-service-hero__title {
    max-width: none;
    font-size: var(--hero-title-business, clamp(1.66rem, 7.4vw, 1.95rem));
    line-height: 1.36;
    letter-spacing: 0.04em;
  }

  .s-service-hero__title-mark { right: -16px; width: 68px; }
  .s-service-hero__lead { margin-top: 14px; padding-left: 13px; font-size: 0.91rem; line-height: 1.78; }
  .s-service-hero__note { display: none; }
  .s-service-hero__visual-wrap { width: min(78vw, 304px); justify-self: center; margin: 2px 0 0; }
  .s-service-hero__visual-wrap::before { inset: -16px -14px -15px 20px; }
  .s-service-hero__visual-line { width: 24vw; }
  .s-service-hero__stamp { right: -8px; bottom: -29px; width: 70px; }
  .s-service-hero__reception { display: grid; gap: 11px; padding: 14px 0 0; }
  .s-service-hero__primary-group { width: 100%; }
  .s-service-hero__primary,
  .s-service-hero__secondary { width: 100%; min-height: 50px; }
  .s-service-hero__hours { font-size: 0.7rem; }
  .s-service-hero__trust-wrap { margin: 2px 0 0; padding: 16px 12px 12px; }
  .s-service-hero__trust-label { left: 7px; }
  .s-service-hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .s-service-hero__trust li { gap: 6px; padding-right: 8px; }
  .s-service-hero__trust li + li { padding-right: 0; padding-left: 8px; border-left: 1px solid rgba(16, 43, 83, 0.11); }
  .s-service-hero__trust li > span { width: 25px; height: 25px; }
  .s-service-hero__trust strong { font-size: 0.68rem; }
  .s-service-hero__next { right: 20px; bottom: 25px; }
}

@media (min-width: 600px) and (max-width: 840px) {
  .s-service-hero__trust-wrap {
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.82));
    box-shadow: 0 10px 28px rgba(16, 43, 83, 0.045);
  }
}

@media (max-width: 390px) {
  .s-service-hero__inner { padding-top: 100px; }
  .s-service-hero__visual-wrap { width: min(76vw, 292px); }
}

@media (prefers-reduced-motion: reduce) {
  .s-service-hero__copy,
  .s-service-hero__visual,
  .s-service-hero__stamp { opacity: 1; transform: none; animation: none; }

  .s-service-hero::after {
    clip-path: inset(0);
    opacity: 0.94;
    transform: translateX(-50%) rotate(-0.4deg);
    animation: none;
  }
}
