/* Hizmet Bölgeleri hub (/hizmet-bolgeleri) only. City/district pages keep service-regions.css. */
.ys-srh {
  --srh-navy: var(--ys-navy-950, #071428);
  --srh-navy-2: var(--ys-navy-900, #0b1f3a);
  --srh-navy-3: #12305a;
  --srh-orange: var(--ys-orange-500, #e67a2e);
  --srh-orange-ink: #b5561a;
  --srh-text: var(--ys-text, #15243a);
  --srh-muted: var(--ys-text-muted, #5b6b82);
  --srh-line: color-mix(in srgb, var(--ys-navy-950, #071428) 10%, #e8edf3);
  --srh-tint: #f4f6fa;
  --srh-max: 76.25rem;
  --srh-gutter: var(--ys-page-gutter, clamp(1rem, 3vw, 1.5rem));
  --srh-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-x: clip;
  background: #fff;
  color: var(--srh-text);
}

.ys-srh *,
.ys-srh *::before,
.ys-srh *::after {
  box-sizing: border-box;
}

.ys-srh-wrap {
  width: min(calc(100% - (var(--srh-gutter) * 2)), var(--srh-max));
  margin-inline: auto;
}

.ys-srh a:focus-visible {
  outline: 2px solid var(--srh-orange);
  outline-offset: 3px;
}

.ys-srh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  color: var(--srh-orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ys-srh-kicker::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: currentColor;
}

/* ---------- Buttons ---------- */
.ys-srh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ys-srh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ys-srh-btn .bi {
  font-size: 0.95em;
  transition: transform 0.2s var(--srh-ease);
}

.ys-srh-btn:hover .bi,
.ys-srh-btn:focus-visible .bi {
  transform: translateX(3px);
}

.ys-srh-btn--primary {
  background: var(--srh-orange);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(230, 122, 46, 0.9);
}

.ys-srh-btn--primary:hover,
.ys-srh-btn--primary:focus-visible {
  background: #fff;
  color: var(--srh-navy);
}

.ys-srh-btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ys-srh-btn--ghost:hover,
.ys-srh-btn--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.ys-srh .ys-srh-btn:focus-visible {
  outline-color: #fff;
}

/* ---------- Hero ---------- */
.ys-srh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(1.75rem, 3.4vw, 3rem) clamp(2rem, 3.8vw, 3.25rem);
  border-bottom: 1px solid rgba(230, 122, 46, 0.35);
  background:
    radial-gradient(circle at 76% 44%, rgba(230, 122, 46, 0.1), transparent 30%),
    linear-gradient(145deg, var(--srh-navy-3), var(--srh-navy) 72%);
  color: #fff;
}

.ys-srh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 0.65px, transparent 0.75px);
  background-size: 1.35rem 1.35rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.75) 55%, transparent);
  mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.75) 55%, transparent);
}

.ys-srh-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.ys-srh-hero__copy {
  min-width: 0;
}

.ys-srh-crumb {
  margin-block-end: clamp(1rem, 2.2vw, 1.6rem);
}

.ys-srh-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
}

.ys-srh-crumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.62);
}

.ys-srh-crumb li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.28);
}

.ys-srh-crumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.ys-srh-crumb a:hover,
.ys-srh-crumb a:focus-visible {
  color: #fff;
}

.ys-srh-hero h1 {
  max-width: 15ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.05rem, 1.45rem + 2.05vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-wrap: balance;
}

.ys-srh-hero__lead {
  max-width: 38rem;
  margin: 0 0 1.5rem;
  color: rgba(244, 247, 251, 0.78);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.7;
}

.ys-srh-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 600;
}

.ys-srh-hero__points li {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.ys-srh-hero__points i {
  margin-top: 0.12em;
  color: var(--srh-orange);
}

.ys-srh-hero__visual {
  min-width: 0;
}

/* ---------- Hero map (components/regions/hub-map.tpl) ---------- */
.ys-srh-map {
  position: relative;
  margin: 0;
  padding: clamp(0.85rem, 2vw, 1.35rem) clamp(0.85rem, 2vw, 1.35rem) clamp(0.85rem, 1.6vw, 1.1rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.25rem;
  background:
    radial-gradient(28rem 16rem at 28% 22%, rgba(230, 122, 46, 0.09), transparent 60%),
    radial-gradient(30rem 18rem at 60% 60%, rgba(47, 111, 208, 0.14), transparent 65%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  box-shadow: 0 34px 70px -44px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.ys-srh-map__stage {
  position: relative;
  aspect-ratio: 583.7 / 284.7;
}

.ys-srh-map__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ys-srh-map__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: clamp(0.5rem, 1.2vw, 0.8rem);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ys-srh-map__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.82);
}

.ys-srh-map__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--srh-orange);
  box-shadow: 0 0 0 0.22rem rgba(230, 122, 46, 0.22), 0 0 12px rgba(230, 122, 46, 0.8);
}

.ys-srh-map__meta {
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.ys-srh-map__grid {
  fill: none;
  stroke: rgba(150, 185, 235, 0.09);
  stroke-width: 0.6;
  stroke-dasharray: 1.5 3.5;
}

.ys-srh-map__land {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(170, 195, 230, 0.12);
  stroke-width: 0.6;
  stroke-linejoin: round;
}

.ys-srh-map__tr-glow {
  fill: #2f6fd0;
  opacity: 0.45;
}

.ys-srh-map__tr {
  fill: url(#ys-srh-trfill);
}

.ys-srh-map__tr-dots {
  fill: url(#ys-srh-dots);
}

#ys-srh-dots circle {
  fill: rgba(196, 218, 255, 0.2);
}

.ys-srh-map__edge {
  fill: none;
  stroke: rgba(150, 192, 255, 0.7);
  stroke-width: 0.9;
  stroke-linejoin: round;
}

.ys-srh-map__edge--border {
  stroke: rgba(150, 192, 255, 0.5);
  stroke-dasharray: 2.2 1.6;
}

.ys-srh-map__hubglow {
  pointer-events: none;
}

.ys-srh-map__link {
  fill: none;
  stroke: rgba(180, 208, 255, 0.32);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 2 4;
  animation: ys-srh-flow 8s linear infinite;
}

.ys-srh-map__link.is-live {
  stroke: var(--srh-orange);
  stroke-width: 1.6;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ys-srh-draw 1.3s var(--srh-ease) calc(0.35s + var(--i) * 0.08s) forwards;
}

.ys-srh-map__spark {
  fill: none;
  stroke: #d8e6ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 94;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: ys-srh-spark 4.6s ease-in-out calc(1.2s + var(--i) * 0.55s) infinite;
}

.ys-srh-map__spark.is-live {
  stroke: #ffd2ad;
  stroke-width: 2.6;
}

.ys-srh-map__ring {
  fill: rgba(150, 192, 255, 0.08);
  stroke: rgba(150, 192, 255, 0.3);
  stroke-width: 0.8;
  animation: ys-srh-fade 0.6s ease calc(0.2s + var(--i) * 0.07s) both;
}

.ys-srh-map__ring.is-live {
  fill: rgba(230, 122, 46, 0.14);
  stroke: rgba(230, 122, 46, 0.55);
}

.ys-srh-map__node {
  fill: #0b1f3a;
  stroke: #cfe0ff;
  stroke-width: 1.4;
  animation: ys-srh-fade 0.6s ease calc(0.2s + var(--i) * 0.07s) both;
}

.ys-srh-map__node.is-live {
  fill: var(--srh-orange);
  stroke: #ffe1cb;
}

.ys-srh-map__hq {
  fill: #fff;
  stroke: var(--srh-orange);
  stroke-width: 2.4;
}

.ys-srh-map__pulse {
  fill: none;
  stroke: var(--srh-orange);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: ys-srh-pulse 2.8s ease-out infinite;
}

.ys-srh-map__labels {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.ys-srh-map__label {
  position: absolute;
  padding: 0.14rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(7, 20, 40, 0.62);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.ys-srh-map__label--r { transform: translate(0.7rem, -50%); }
.ys-srh-map__label--l { transform: translate(calc(-100% - 0.7rem), -50%); }
.ys-srh-map__label--t { transform: translate(-50%, calc(-100% - 0.65rem)); }
.ys-srh-map__label--b { transform: translate(-50%, 0.65rem); }

.ys-srh-map__label.is-live {
  border-color: rgba(230, 122, 46, 0.6);
  color: #fff;
}

.ys-srh-map__label--hq {
  border-color: #fff;
  background: #fff;
  color: var(--srh-navy);
  font-weight: 800;
}

.ys-srh-map__legend {
  margin-top: clamp(0.6rem, 1.4vw, 0.9rem);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ys-srh-map__legend ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 600;
}

.ys-srh-map__legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ys-srh-map__key {
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
  border-radius: 50%;
}

.ys-srh-map__key--hq {
  border: 2px solid var(--srh-orange);
  background: #fff;
}

.ys-srh-map__key--live {
  background: var(--srh-orange);
}

.ys-srh-map__key--remote {
  border: 1.5px dashed rgba(255, 255, 255, 0.6);
}

.ys-srh-map__legend p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  line-height: 1.5;
}

@keyframes ys-srh-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes ys-srh-flow {
  to { stroke-dashoffset: -70; }
}

@keyframes ys-srh-spark {
  0% { stroke-dashoffset: 0; opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { stroke-dashoffset: -93; opacity: 0; }
}

@keyframes ys-srh-pulse {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.7); }
}

@keyframes ys-srh-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Section heads ---------- */
.ys-srh-head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.ys-srh-head h2,
.ys-srh-model h2 {
  margin: 0;
  color: var(--srh-navy);
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-wrap: balance;
}

.ys-srh-head__lead {
  margin: 0.85rem 0 0;
  color: var(--srh-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

/* ---------- Regional structure: region cards + city detail panel ---------- */
.ys-srh-regions {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, #fff 0, var(--srh-tint) 14rem, var(--srh-tint) calc(100% - 6rem), #fff 100%);
  scroll-margin-top: calc(var(--ys-header-height, 4.5rem) + 0.5rem);
}

.ys-srh-zones {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
}

/* region card */
.ys-srh-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  border: 1px solid var(--srh-line);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 20, 40, 0.04), 0 22px 44px -38px rgba(7, 20, 40, 0.5);
  scroll-margin-top: calc(var(--ys-header-height, 4.5rem) + 1rem);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ys-srh-zone.is-live::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  border-radius: 1.15rem 1.15rem 0 0;
  background: linear-gradient(90deg, var(--srh-orange), rgba(230, 122, 46, 0) 70%);
}

.ys-srh-zone.has-open {
  border-color: color-mix(in srgb, var(--srh-orange) 40%, var(--srh-line));
  box-shadow: 0 1px 2px rgba(7, 20, 40, 0.05), 0 26px 50px -34px rgba(7, 20, 40, 0.55);
}

.ys-srh-zone__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.9rem;
}

.ys-srh-zone__num {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--srh-line);
  border-radius: 0.8rem;
  background: var(--srh-tint);
  color: var(--srh-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ys-srh-zone.is-live .ys-srh-zone__num {
  border-color: transparent;
  background: linear-gradient(150deg, var(--srh-navy-3), var(--srh-navy));
  color: #ffb37a;
}

.ys-srh-zone__title {
  margin: 0;
  color: var(--srh-navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.ys-srh-zone__desc {
  margin: 0.3rem 0 0;
  color: var(--srh-muted);
  font-size: 0.89rem;
  line-height: 1.55;
}

.ys-srh-zone__status {
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: var(--srh-muted);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.4;
  white-space: nowrap;
}

.ys-srh-zone.is-live .ys-srh-zone__status {
  background: rgba(230, 122, 46, 0.12);
  color: var(--srh-orange-ink);
}

.ys-srh-zone__remote {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.15rem 0 0;
  padding: 0.8rem 0.95rem;
  border: 1px dashed color-mix(in srgb, var(--srh-navy) 16%, #e8edf3);
  border-radius: 0.85rem;
  color: var(--srh-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.ys-srh-zone__remote .bi {
  flex: none;
  color: var(--srh-orange);
}

/* city rows */
.ys-srh-cities {
  display: grid;
  gap: 0.3rem;
  margin: 1.15rem 0 0;
  padding: 0.35rem;
  border: 1px solid var(--srh-line);
  border-radius: 0.9rem;
  background: var(--srh-tint);
  list-style: none;
}

.ys-srh-city {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.1rem;
  padding: 0.5rem 0.55rem 0.5rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: #fff;
  color: var(--srh-navy);
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.ys-srh-city::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  bottom: 0.7rem;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--srh-orange);
  transform: scaleY(0);
  transition: transform 0.22s var(--srh-ease);
}

.ys-srh-city__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.ys-srh-city__count {
  flex: none;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: var(--srh-muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.ys-srh-city__chev {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.06);
  font-size: 0.72rem;
  transition: transform 0.28s var(--srh-ease), background-color 0.22s ease, color 0.22s ease;
}

.ys-srh-city:hover {
  border-color: var(--srh-line);
  box-shadow: 0 10px 22px -18px rgba(7, 20, 40, 0.55);
}

.ys-srh-city:hover::before,
.ys-srh-city:focus-visible::before {
  transform: scaleY(1);
}

.ys-srh-city:hover .ys-srh-city__chev,
.ys-srh-city:focus-visible .ys-srh-city__chev {
  background: rgba(230, 122, 46, 0.14);
  color: var(--srh-orange-ink);
  transform: translateX(2px);
}

.ys-srh .ys-srh-city:focus-visible {
  outline: 2px solid var(--srh-orange);
  outline-offset: 2px;
}

.ys-srh-city.is-active {
  border-color: transparent;
  background: linear-gradient(150deg, var(--srh-navy-3), var(--srh-navy-2));
  color: #fff;
  box-shadow: 0 14px 26px -18px rgba(7, 20, 40, 0.8);
}

.ys-srh-city.is-active::before {
  transform: scaleY(1);
}

.ys-srh-city.is-active .ys-srh-city__count {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ys-srh-city.is-active .ys-srh-city__chev,
.ys-srh-city.is-active:hover .ys-srh-city__chev,
.ys-srh-city.is-active:focus-visible .ys-srh-city__chev {
  background: var(--srh-orange);
  color: #fff;
  transform: rotate(90deg);
}

/* closing card of the grid */
.ys-srh-zone--cta {
  justify-content: center;
  min-height: 12rem;
  border-color: transparent;
  background:
    radial-gradient(18rem 11rem at 100% 0, rgba(230, 122, 46, 0.22), transparent 60%),
    linear-gradient(150deg, var(--srh-navy-3), var(--srh-navy) 75%);
}

.ys-srh-zone--cta .ys-srh-zone__title {
  color: #fff;
  font-size: 1.2rem;
}

.ys-srh-zone--cta .ys-srh-zone__desc {
  max-width: 28rem;
  margin-bottom: 0.65rem;
  color: rgba(244, 247, 251, 0.72);
}

.ys-srh-zone__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  min-height: 2.75rem;
  color: #ffc49b;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.ys-srh-zone__cta .bi {
  transition: transform 0.2s var(--srh-ease);
}

.ys-srh-zone__cta:hover,
.ys-srh-zone__cta:focus-visible {
  color: #fff;
}

.ys-srh-zone__cta:hover .bi,
.ys-srh-zone__cta:focus-visible .bi {
  transform: translateX(3px);
}

.ys-srh .ys-srh-zone--cta a:focus-visible {
  outline-color: #fff;
}

/* detail directory (shown as-is without JS) and the JS slot that hosts one detail */
.ys-srh-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ys-srh-js .ys-srh-details {
  display: none;
}

.ys-srh-detail {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--srh-line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 20, 40, 0.05), 0 30px 56px -44px rgba(7, 20, 40, 0.6);
  scroll-margin-top: calc(var(--ys-header-height, 4.5rem) + 1rem);
}

.ys-srh-slot {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-rows: 0fr;
  margin-bottom: -1rem;
  opacity: 0;
  scroll-margin-top: calc(var(--ys-header-height, 4.5rem) + 1.25rem);
  transition: grid-template-rows 0.42s var(--srh-ease), opacity 0.3s ease;
}

.ys-srh-slot[hidden] {
  display: none;
}

.ys-srh-slot.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.ys-srh-slot.is-instant {
  transition: none;
}

.ys-srh-slot::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -0.45rem;
  left: calc(var(--srh-notch, 50%) - 0.5rem);
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem 0 0 0;
  background: var(--srh-navy-3);
  transform: rotate(45deg);
  transition: left 0.3s var(--srh-ease);
}

.ys-srh-slot__inner {
  min-height: 0;
  overflow: hidden;
}

.ys-srh-slot__body {
  padding-bottom: 1rem;
}

.ys-srh-slot .ys-srh-detail.is-entering {
  animation: ys-srh-detail-in 0.38s var(--srh-ease);
}

@keyframes ys-srh-detail-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.ys-srh-detail__head {
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.25rem, 2.6vw, 1.85rem) clamp(1.15rem, 3vw, 2.1rem);
  background:
    radial-gradient(26rem 12rem at 100% 0, rgba(230, 122, 46, 0.18), transparent 62%),
    linear-gradient(150deg, var(--srh-navy-3), var(--srh-navy) 72%);
  color: #fff;
}

.ys-srh-js .ys-srh-detail__intro {
  padding-right: 3.25rem;
}

.ys-srh-detail__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.ys-srh-detail__title:focus {
  outline: none;
}

.ys-srh-detail__title:focus-visible {
  border-radius: 0.3rem;
  outline: 2px solid var(--srh-orange);
  outline-offset: 4px;
}

.ys-srh-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.ys-srh-detail__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 247, 251, 0.88);
  font-size: 0.79rem;
  font-weight: 650;
  line-height: 1.4;
}

.ys-srh-detail__meta .bi {
  color: #ffb37a;
  font-size: 0.8em;
}

.ys-srh-detail__lead {
  max-width: 48rem;
  margin: 0.9rem 0 0;
  color: rgba(244, 247, 251, 0.74);
  font-size: 0.95rem;
  line-height: 1.65;
}

.ys-srh-detail__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ys-srh-detail__close {
  display: none;
}

.ys-srh-js .ys-srh-detail__close {
  position: absolute;
  top: clamp(1rem, 2.2vw, 1.5rem);
  right: clamp(1rem, 2.2vw, 1.5rem);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ys-srh-detail__close:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
}

.ys-srh-detail__close:focus-visible {
  outline: 2px solid var(--srh-orange);
  outline-offset: 2px;
}

.ys-srh-detail__groups {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.2rem, 2.4vw, 1.75rem) clamp(1.15rem, 3vw, 2.1rem) clamp(1.3rem, 2.6vw, 1.9rem);
}

.ys-srh-group {
  min-width: 0;
}

.ys-srh-group__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
}

.ys-srh-group__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--srh-navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ys-srh-group__label::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--srh-orange);
  box-shadow: 0 0 0 3px rgba(230, 122, 46, 0.18);
}

.ys-srh-group__count {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: var(--srh-muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.5;
}

.ys-srh-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-srh-chips li {
  display: flex;
  min-width: 0;
}

.ys-srh-chip {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  min-height: 2.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: var(--srh-tint);
  color: var(--srh-text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
  text-decoration: none;
}

.ys-srh-chip > span {
  min-width: 0;
}

a.ys-srh-chip {
  border-color: var(--srh-line);
  background: #fff;
  color: var(--srh-navy);
  font-weight: 700;
  box-shadow: 0 6px 14px -12px rgba(7, 20, 40, 0.45);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

a.ys-srh-chip .bi {
  flex: none;
  color: var(--srh-orange);
  font-size: 0.72rem;
  transition: transform 0.2s var(--srh-ease);
}

a.ys-srh-chip:hover,
a.ys-srh-chip:focus-visible {
  border-color: color-mix(in srgb, var(--srh-orange) 55%, var(--srh-line));
  background: rgba(230, 122, 46, 0.06);
  color: var(--srh-orange-ink);
}

a.ys-srh-chip:hover .bi,
a.ys-srh-chip:focus-visible .bi {
  transform: translate(2px, -2px);
}

.ys-srh-detail__empty {
  margin: 0;
  padding: 1.25rem clamp(1.15rem, 3vw, 2.1rem) 1.4rem;
  color: var(--srh-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Working model ---------- */
.ys-srh-model {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  background: #fff;
}

.ys-srh-model__intro {
  display: grid;
  gap: 1.25rem 3rem;
}

.ys-srh-model__lead {
  margin: 0;
  color: var(--srh-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.ys-srh-model__services {
  margin-top: 1.25rem;
}

.ys-srh-model__services-label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--srh-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ys-srh-model__services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-srh-model__services a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--srh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--srh-navy);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ys-srh-model__services .bi {
  color: var(--srh-orange);
}

.ys-srh-model__services a:hover,
.ys-srh-model__services a:focus-visible {
  border-color: color-mix(in srgb, var(--srh-orange) 55%, var(--srh-line));
  background: #fff8f3;
}

.ys-srh-steps {
  display: grid;
  gap: 1rem;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  list-style: none;
}

.ys-srh-step {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--srh-line);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.ys-srh-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.ys-srh-step__num {
  color: var(--srh-orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ys-srh-step__icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--srh-navy);
  color: var(--srh-orange);
  font-size: 1.1rem;
}

.ys-srh-step__title {
  margin: 0 0 0.5rem;
  color: var(--srh-navy);
  font-size: 1.06rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.ys-srh-step__text {
  margin: 0;
  color: var(--srh-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ---------- Closing CTA ---------- */
.ys-srh-cta {
  padding-block: 0 clamp(3rem, 6vw, 5rem);
  background: #fff;
}

.ys-srh-cta__box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(40rem 18rem at 100% 100%, rgba(230, 122, 46, 0.22), transparent 60%),
    linear-gradient(145deg, var(--srh-navy-3), var(--srh-navy) 70%);
  color: #fff;
}

.ys-srh-cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.65px, transparent 0.75px);
  background-size: 1.3rem 1.3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000);
  mask-image: linear-gradient(90deg, transparent 20%, #000);
}

.ys-srh-cta__box h2 {
  max-width: 24ch;
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.ys-srh-cta__lead {
  max-width: 38rem;
  margin: 0;
  color: rgba(244, 247, 251, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .ys-srh-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .ys-srh-zones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .ys-srh-detail__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (max-width: 991.98px) {
  .ys-srh-hero__visual {
    width: 100%;
    max-width: 36rem;
  }
}

@media (min-width: 992px) {
  .ys-srh-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .ys-srh-model__intro {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .ys-srh-cta__box {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
  }

  .ys-srh-detail__groups.is-split {
    display: flex;
    align-items: flex-start;
    gap: 0;
  }

  .ys-srh-detail__groups.is-split .ys-srh-group {
    flex: var(--n, 1) 1 0;
  }

  .ys-srh-detail__groups.is-split .ys-srh-group + .ys-srh-group {
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--srh-line);
  }
}

@media (min-width: 1100px) {
  .ys-srh-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .ys-srh-actions,
  .ys-srh-actions .ys-srh-btn {
    width: 100%;
  }

  .ys-srh-btn {
    white-space: normal;
    text-align: center;
  }

  .ys-srh-map__label {
    padding: 0.08rem 0.38rem;
    font-size: 0.6rem;
  }

  .ys-srh-map__label--r { transform: translate(0.45rem, -50%); }
  .ys-srh-map__label--l { transform: translate(calc(-100% - 0.45rem), -50%); }
  .ys-srh-map__label--t { transform: translate(-50%, calc(-100% - 0.4rem)); }
  .ys-srh-map__label--b { transform: translate(-50%, 0.4rem); }

  .ys-srh-map__legend ul {
    font-size: 0.76rem;
  }

  .ys-srh-zone__head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ys-srh-zone__status {
    grid-column: 2;
    justify-self: start;
    margin-top: -0.35rem;
  }

  .ys-srh-detail__actions,
  .ys-srh-detail__link {
    width: 100%;
  }

  .ys-srh-detail__head,
  .ys-srh-detail__groups {
    padding-inline: 1rem;
  }

  .ys-srh-chips {
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    gap: 0.4rem;
  }

  .ys-srh-chip {
    gap: 0.35rem;
    min-height: 2.75rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ys-srh-map__link,
  .ys-srh-map__link.is-live,
  .ys-srh-map__node,
  .ys-srh-map__ring,
  .ys-srh-map__pulse {
    animation: none;
  }

  .ys-srh-map__link.is-live {
    stroke-dashoffset: 0;
  }

  .ys-srh-map__spark,
  .ys-srh-map__pulse {
    display: none;
  }

  .ys-srh-btn,
  .ys-srh-btn .bi,
  .ys-srh-zone,
  .ys-srh-city,
  .ys-srh-city::before,
  .ys-srh-city__count,
  .ys-srh-city__chev,
  .ys-srh-slot,
  .ys-srh-slot::before,
  .ys-srh-detail__close,
  a.ys-srh-chip,
  a.ys-srh-chip .bi,
  .ys-srh-zone__cta .bi,
  .ys-srh-model__services a {
    transition: none;
  }

  .ys-srh-slot .ys-srh-detail.is-entering {
    animation: none;
  }
}
