/* ========== HOME NEW (Figma Whizseed 3.0 service layout) ========== */

.hn-page {
  background: #f7f7f7;
}

/* Hero Banner */
.hn-hero {
  position: relative;
  color: #fff;
  padding: 50px 0;
  overflow: hidden;
  min-height: 640px;
}

.hn-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.55) 100%),
    url('../Image/service-hero.png') center / cover no-repeat;
  z-index: 0;
}

.hn-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 420px);
  gap: 36px;
  align-items: start;
}

.hn-hero__content {
  padding: 8px 0 24px;
  min-width: 0;
}

.hn-hero__ratings {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hn-hero__avatars {
  display: flex;
}

.hn-hero__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  margin-right: -10px;
  object-fit: cover;
}

.hn-hero__avatar:last-child {
  margin-right: 0;
}

.hn-hero__stars {
  color: #f5c518;
  font-size: var(--text-base);
  letter-spacing: 1px;
}

.hn-hero__rating-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
  font-weight: var(--font-medium);
}

.hn-hero__title {
  font-size: var(--text-display);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hn-hero__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin-bottom: 28px;
}

.hn-hero__process {
  margin-bottom: 28px;
}

.hn-hero__process-label {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
}

.hn-hero__steps {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 0;
}

.hn-hero__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 6px;
  flex: 1 1 0;
  max-width: 200px;
}

.hn-hero__step-line {
  flex: 1 1 48px;
  min-width: 36px;
  max-width: 90px;
  height: 2px;
  margin-top: 26px;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.75) 0 6px,
    transparent 6px 12px
  );
  background-size: 12px 2px;
  background-repeat: repeat-x;
  background-position: 0 0;
  animation: hnStepLineMove 0.9s linear infinite;
  align-self: flex-start;
}

@keyframes hnStepLineMove {
  from { background-position: 0 0; }
  to { background-position: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hn-hero__step-line {
    animation: none;
  }
}

.hn-hero__step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  color: #fff;
}

.hn-hero__step-icon svg {
  width: 48px;
  height: 48px;
}

.hn-hero__step-text {
  font-size: var(--text-sm);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Rating / Experience slick strip */
.hn-hero__features-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 8px;
  padding: 4px 0;
  overflow: hidden;
}

.hn-hero__features {
  margin: 0 -8px;
}

.hn-hero__features .slick-track {
  display: flex !important;
  align-items: stretch;
}

.hn-hero__features .slick-slide {
  height: auto;
}

.hn-hero__feature {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  outline: none;
}

.hn-hero__feature-icon {
  color: var(--color-accent);
  font-size: var(--text-md);
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.hn-hero__feature strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.hn-hero__feature span {
  display: block;
  font-size: var(--text-xs);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.hn-hero__aside {
  position: relative;
  padding-bottom: 0;
  margin-top: 0;
  align-self: start;
  width: 100%;
}

.hn-consult--hero {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  border: none;
  width: 100%;
}

/* Trusted By */
.hn-trusted {
  background: linear-gradient(180deg, #fffef2 0%, #fff 100%);
  border-bottom: 1px solid #efefef;
  padding: 22px 0;
}

.hn-trusted__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hn-trusted__label {
  flex: 0 0 auto;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8a8a8a;
  white-space: nowrap;
}

.hn-trusted__slider {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hn-trusted__slider .slick-track {
  display: flex !important;
  align-items: center;
}

.hn-trusted__slide {
  padding: 0 18px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.hn-trusted__slide img {
  max-height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.hn-trusted__slider--strip .hn-trusted__slide {
  height: auto;
  padding: 0 12px;
}

.hn-trusted__slider--strip .hn-trusted__slide img {
  max-width: none;
  max-height: 64px;
  width: 100%;
  filter: none;
  opacity: 0.9;
}

/* Tabs */
.hn-tabs-wrap {
  position: sticky;
  top: var(--header-height, 80px);
  z-index: 40;
  padding: 16px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.hn-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  scrollbar-width: none;
}

.hn-tabs::-webkit-scrollbar {
  display: none;
}

.hn-tabs__item {
  flex: 1 0 auto;
  min-width: 110px;
  text-align: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: var(--text-base);
  font-weight: 600;
  color: #555;
  text-transform: capitalize;
  transition: background 0.2s, color 0.2s;
}

.hn-tabs__item:hover {
  background: #fafafa;
}

.hn-tabs__item--active {
  background: var(--color-accent);
  color: #0a0a0a;
  font-weight: 800;
}

/* Body grid */
.hn-body {
  background: #fff;
  padding: 28px 0 72px;
}

.hn-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 36px;
  align-items: start;
}

.hn-main {
  grid-column: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Keep escaped CMS blocks in the main column if markup breaks out of .hn-main */
.hn-body__grid > .hn-card,
.hn-body__grid > .hn-author,
.hn-body__grid > .hn-reviews,
.hn-body__grid > .hn-dark-card {
  grid-column: 1;
  min-width: 0;
}

.hn-side {
  grid-column: 2;
  align-self: start;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height, 80px) + 110px);
  z-index: 5;
  height: fit-content;
}

/* Sidebar inner stack */
.hn-side__sticky {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Content cards */
.hn-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  border-top: 4px solid var(--color-accent);
  padding: 28px 28px 22px;
  scroll-margin-top: calc(var(--header-height) + 88px);
}

.hn-card--soft {
  border-top-color: #e5e5e5;
  background: #fafafa;
}

.hn-card__title {
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  color: #0a0a0a;
  margin: 0 0 16px;
}

.hn-card__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: #222;
}

.hn-card__body p {
  margin-bottom: 1em;
}

.hn-card__body h3 {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  margin: 1.2em 0 0.6em;
}

.hn-card__body ul,
.hn-card__body--rich ul {
  list-style: none;
  margin: 0.5em 0 1em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hn-card__body ul li,
.hn-card__body--rich ul li {
  position: relative;
  margin: 0;
  padding-left: 36px;
  font-weight: 400;
  color: #0a0a0a;
  line-height: 1.5;
}

.hn-card__body ul li::before,
.hn-card__body--rich ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #22c55e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.hn-card__body--rich > h1:first-child,
.hn-card__body--rich > h2:first-child {
  margin-top: 0;
}

.hn-card__body--rich h1,
.hn-card__body--rich h2 {
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  color: #0a0a0a;
  margin: 1.6em 0 0.75em;
}

.hn-card__body--rich h1 {
  font-size: var(--text-h2);
}

.hn-card__body--rich h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

/* Custom pager (reviews) */
.hn-slider-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 18px auto 0;
  padding: 8px 14px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 999px;
  width: fit-content;
}

.hn-slider-nav--reviews {
  display: flex;
  margin: 22px auto 0;
}

.hn-slider-nav__btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  transition: background 0.2s;
}

.hn-slider-nav__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hn-slider-nav__count {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  min-width: 48px;
  text-align: center;
}

/* Category cards */
.hn-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
  scroll-margin-top: calc(var(--header-height) + 88px);
}

.hn-category-card {
  background: #ebebeb;
  border-radius: 12px;
  padding: 20px 18px;
  min-height: 0;
}

.hn-category-card__icon {
  display: inline-flex;
  color: #0a0a0a;
  margin-bottom: 12px;
}

.hn-category-card__title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #0a0a0a;
  line-height: 1.3;
}

.hn-category-card__text {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: #222;
  margin: 0;
}

/* Checklist */
.hn-checklist {
  list-style: none !important;
  margin: 0.5em 0 0 !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hn-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
  font-weight: 400;
  color: #0a0a0a;
}

.hn-checklist li > div {
  font-weight: 400;
  line-height: 1.55;
}

.hn-checklist__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.hn-checklist__icon svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
}

.hn-checklist strong {
  font-weight: 800;
  margin-right: 4px;
}

.hn-checklist p {
  margin: 0;
  color: #555;
  font-size: var(--text-base);
}

.hn-checklist--plain {
  margin: 4px 0 0 !important;
  gap: 12px;
}

.hn-checklist--plain li {
  font-weight: 400;
}

/* Avoid double ticks when checklist already has icon spans */
.hn-checklist li::before,
.hn-checklist--plain li::before {
  content: none !important;
  display: none !important;
}

.hn-checklist li,
.hn-checklist--plain li {
  padding-left: 0;
}

.hn-card--media {
  padding: 0;
  overflow: hidden;
}

.hn-media-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 420px;
}

.hn-media-img--inset {
  margin-top: 8px;
  border-radius: 10px;
  max-height: 360px;
}

/* Why choose / stats + features */
.hn-why {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 16px;
  align-items: stretch;
  margin: 20px 0 ;
}

.hn-why__stats {
  background: #0a0a0a;
  color: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0;
  margin: 0;
  height: 100%;
}

.hn-why__stats.stats-card {
  padding: 28px 22px;
}

.hn-why__stats .stats-card__value {
  font-size: clamp(var(--text-2xl), 2.5vw, var(--text-2xl));
}

.hn-why__stat {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hn-why__stat:first-child {
  padding-top: 0;
}

.hn-why__stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hn-why__stat-label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.hn-why__stat-value {
  display: block;
  font-size: clamp(var(--text-2xl), 2.5vw, var(--text-2xl));
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.hn-why__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hn-why__feature {
  background: var(--color-accent, #f7e018);
  border-radius: 14px;
  padding: 22px 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hn-why__feature-icon {
  color: #0a0a0a;
  display: inline-flex;
}

.hn-why__feature h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 800;
  line-height: 1.35;
  color: #0a0a0a;
}

/* Dark download card */
.hn-docs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.hn-docs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-right: 1px solid #e0e0e0;
}

.hn-docs__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e0e0e0;
  color: #222;
  font-size: var(--text-base);
  line-height: 1.55;
  margin: 0;
}

.hn-docs__list li:last-child {
  border-bottom: none;
}

.hn-docs__check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.hn-docs__list strong {
  font-weight: 800;
  color: #0a0a0a;
  margin-right: 4px;
}

.hn-docs__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: #fff;
}

.hn-docs__media img {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* Dark download card */
.hn-dark-card {
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 28px 24px;
}

.hn-dark-card__title {
  font-size: clamp(var(--text-xl), 2.2vw, var(--text-xl));
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px;
}

.hn-dark-card__desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-base);
  margin: 0 0 22px;
  line-height: 1.6;
}

.hn-dark-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hn-dark-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: var(--text-base);
  line-height: 1.5;
}

.hn-dark-steps__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #0a0a0a;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* FAQ */
.hn-faq {
  padding: 28px 28px 10px;
}

.hn-faq__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: #0a0a0a;
  margin: 0 0 6px;
  line-height: 1.25;
}

.hn-faq__list {
  border-top: none;
}

.hn-faq__item {
  border-bottom: 1px solid #e6e6e6;
}

.hn-faq__item:last-child {
  border-bottom: none;
}

.hn-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 500;
  color: #111;
  line-height: 1.5;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hn-faq__question span:first-child {
  flex: 1;
  min-width: 0;
}

.hn-faq__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: #8a8a8a;
  transition: transform 0.2s ease;
}

.hn-faq__item.is-open .hn-faq__icon {
  transform: rotate(45deg);
  color: #555;
}

.hn-faq__answer {
  display: none;
  padding: 0 36px 18px 0;
  color: #444;
  font-size: var(--text-base);
  line-height: 1.7;
}

.hn-faq__item.is-open .hn-faq__answer {
  display: block;
}

.hn-faq__answer p {
  margin: 0;
}

/* Author */
.hn-author {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  border-top: 4px solid var(--color-accent);
  padding: 26px 28px 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.hn-author__title {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 800;
  color: #0a0a0a;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8e8e8;
  line-height: 1.3;
}

.hn-author__body {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.hn-author__media {
  text-align: center;
}

.hn-author__media img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 12px;
  display: block;
}

.hn-author__badge {
  display: block;
  width: 100%;
  background: var(--color-accent);
  color: #0a0a0a;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 999px;
  text-align: center;
  box-sizing: border-box;
  line-height: 1.2;
}

.hn-author__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.hn-author__name {
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: #0a0a0a;
  margin: 0;
  line-height: 1.15;
}

.hn-author__linkedin {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity 0.2s;
}

.hn-author__linkedin:hover {
  opacity: 0.85;
}

.hn-author__meta {
  color: #6b6b1f;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.5;
}

.hn-author__bio {
  margin: 0;
  color: #1a1a1a;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* Reviews styles live in home.css (shared) */
.hn-reviews--embedded {
  padding: 16px 0 8px;
}

.hn-consult {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 20px;
  padding: 26px 22px 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.hn-consult__title {
  font-size: var(--text-lg);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hn-consult__success {
  background: #e8f8ef;
  border: 1px solid #b7e4c7;
  color: #1b4332;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: var(--text-sm);
}

.hn-consult__field {
  margin-bottom: 20px;
}

.hn-consult__field input,
.hn-consult__field select {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 15px 16px;
  font: inherit;
  font-size: var(--text-base);
  background: #f0f2f9;
  color: #0a0a0a;
  transition: box-shadow 0.2s, background 0.2s;
}

.hn-consult__field input::placeholder {
  color: #8a8f9c;
}

.hn-consult__field input:focus,
.hn-consult__field select:focus {
  outline: none;
  background: #e8ebf5;
  box-shadow: 0 0 0 3px rgba(242, 230, 0, 0.35);
}

.hn-consult__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  color: #8a8f9c;
}

.hn-consult__field select:valid {
  color: #0a0a0a;
}

.hn-consult__phone {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f2f9;
  min-width: 0;
}

.hn-consult__phone:focus-within {
  box-shadow: 0 0 0 3px rgba(242, 230, 0, 0.35);
  background: #e8ebf5;
}

.hn-consult__phone-code {
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  border-right: 1px solid #dde1ec;
  background: #e8ebf5;
}

.hn-consult__phone-code--select {
  padding: 0;
  max-width: 132px;
  flex: 0 0 auto;
}

.hn-consult__phone-code--select select {
  width: 100%;
  max-width: 132px;
  border: none;
  border-radius: 0;
  background: #e8ebf5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding: 15px 26px 15px 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #0a0a0a;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
}

.hn-consult__phone-code--select select:focus {
  outline: none;
  box-shadow: none;
  background-color: #e8ebf5;
}

.hn-consult__phone input {
  border-radius: 0;
  background: transparent;
  min-width: 0;
  flex: 1 1 auto;
}

.hn-consult__phone input:focus {
  box-shadow: none;
  background: transparent;
}

.hn-consult__error {
  display: block;
  margin-top: 6px;
  font-size: var(--text-xs);
  color: #c0392b;
}

.hn-consult__submit {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: var(--text-base);
  white-space: normal;
  min-width: 0;
  overflow: hidden;
}

.hn-consult__submit-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.hn-consult__submit svg {
  flex-shrink: 0;
}

.hn-consult__privacy {
  margin: 14px 0 0;
  text-align: center;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: #7a7f8c;
}

/* Agent card */
.hn-agent {
  background: #231f20;
  color: #fff;
  border-radius: 14px;
  padding: 18px;
}

.hn-agent__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hn-agent__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.hn-agent__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.hn-agent__name {
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.2;
}

.hn-agent__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #00c853;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1.3;
}

.hn-agent__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
}

.hn-agent__rating {
  color: #ffc107;
  font-size: var(--text-2xl);
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.hn-agent__rating-empty {
  color: rgba(255, 255, 255, 0.25);
}

.hn-agent__rating-value {
  color: #fff;
  letter-spacing: 0;
  margin-left: 4px;
  font-size: var(--text-sm);
  font-weight: 500;
}

.hn-agent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hn-agent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #0a0a0a;
  border-radius: 10px;
  padding: 10px 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s, background 0.15s;
}

.hn-agent__btn:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}

.hn-agent__btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hn-agent__btn-icon--call {
  background: #e91e63;
}

.hn-agent__btn-icon--chat {
  background: #25d366;
}

.hn-agent__btn-icon svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

/* Other services */
.hn-other__title {
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 4px 0 12px;
}

.hn-other__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hn-other__tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #222;
  transition: border-color 0.15s, background 0.15s;
}

.hn-other__tag:hover {
  border-color: #bbb;
  background: #fafafa;
}

/* Responsive */
@media (max-width: 1100px) {
  .hn-hero__grid {
    grid-template-columns: 1fr;
    /* gap: 28px; */
  }

  .hn-hero__aside {
    max-width: 460px;
  }

  .hn-body__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hn-main,
  .hn-body__grid > .hn-card,
  .hn-body__grid > .hn-author,
  .hn-body__grid > .hn-reviews,
  .hn-body__grid > .hn-dark-card,
  .hn-side {
    grid-column: 1;
    grid-row: auto;
  }

  .hn-side {
    order: -1;
    align-self: auto;
    height: auto;
    position: static;
    top: auto;
  }

  .hn-side__sticky {
    position: static;
    top: auto;
  }

  .hn-categories {
    grid-template-columns: 1fr;
  }

  .hn-docs__grid {
    grid-template-columns: 1fr;
  }

  .hn-docs__list {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .hn-docs__media {
    order: 0;
  }

  .hn-why {
    grid-template-columns: 1fr;
  }

  .hn-why__features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hn-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 24px);
  }

  .hn-hero__steps {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hn-hero__step-line {
    display: none;
  }

  .hn-hero__step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    text-align: left;
    align-items: center;
    max-width: none;
    padding: 10px 0;
  }

  .hn-hero__step-icon {
    margin: 0;
  }

  .hn-hero__aside {
    max-width: none;
    padding-bottom: 32px;
  }

  .hn-trusted__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hn-card {
    padding: 22px 18px 18px;
  }

  .hn-author {
    padding: 20px 18px 22px;
  }

  .hn-author__body {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .hn-author__media img {
    width: 120px;
    height: 120px;
  }

  .hn-author__badge {
    width: auto;
    display: inline-block;
    min-width: 120px;
  }

  .hn-author__heading {
    justify-content: center;
  }

  .hn-author__name {
    font-size: 1.4rem;
  }

  .hn-author__bio {
    text-align: left;
  }

  .hn-why__features {
    grid-template-columns: 1fr;
  }

  .hn-agent__actions {
    grid-template-columns: 1fr;
  }

}

/* Newsletter (match Figma strip) */
.hn-newsletter {
  background: #f8f8f6;
  padding-top: 40px;
}

.hn-newsletter .newsletter__bg-text {
  color: #ececec;
  opacity: 0.7;
  font-size: clamp(120px, 16vw, 280px);
  letter-spacing: 0.02em;
  line-height: 0.85;
  margin: 0;
}

.hn-newsletter .newsletter__divider {
  margin-top: 8px;
  background: #e0e0e0;
}

.hn-newsletter__inner {
  gap: 40px;
  padding: 48px 0 56px;
}

.hn-newsletter__left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.hn-newsletter__icon {
  flex: 0 0 auto;
  color: #0a0a0a;
  margin-top: 4px;
}

.hn-newsletter__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.hn-newsletter .newsletter__heading {
  font-size: clamp(var(--text-xl), 2.4vw, var(--text-2xl));
  margin: 0;
}

.hn-newsletter .newsletter__desc {
  margin: 0;
  max-width: 420px;
}

.hn-newsletter .newsletter__btn svg {
  transform: none;
}

.hn-newsletter .newsletter__btn:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 900px) {
  .hn-newsletter__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hn-newsletter .newsletter__right {
    justify-content: stretch;
  }

  .hn-newsletter .newsletter__form {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .hn-newsletter__left {
    flex-direction: column;
    gap: 12px;
  }

  .hn-newsletter .newsletter__form {
    height: auto;
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 20px;
  }

  .hn-newsletter .newsletter__input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
  }

  .hn-newsletter .newsletter__btn {
    width: 100%;
    justify-content: center;
  }
}

/* Service page extra responsive */
@media (max-width: 1100px) {
  .hn-hero__aside {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .hn-hero__content {
    padding-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .hn-hero {
    padding: calc(var(--header-height, 72px) + 20px) 0 28px;
  }

  .hn-hero__title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hn-hero__desc {
    font-size: var(--text-base);
    margin-bottom: 20px;
  }

  .hn-hero__steps {
    display: flex;
    flex-direction: column;
  }

  .hn-hero__step-line {
    display: none;
  }

  .hn-consult {
    padding: 20px 16px 16px;
    border-radius: 16px;
  }

  .hn-consult__title {
    font-size: var(--text-base);
    margin-bottom: 16px;
  }

  .hn-consult__phone-code--select {
    max-width: 118px;
  }

  .hn-consult__phone-code--select select {
    max-width: 118px;
    padding: 14px 24px 14px 8px;
    font-size: var(--text-xs);
  }

  .hn-consult__submit {
    padding: 13px 14px;
    font-size: var(--text-sm);
  }

  .hn-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 4px;
  }

  .hn-tabs__item {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hn-body {
    padding-top: 20px;
  }

  .hn-docs__grid {
    gap: 16px;
  }

  .hn-side {
    order: 0;
  }
}

@media (max-width: 480px) {
  .hn-hero__grid {
    gap: 18px;
  }

  .hn-hero__ratings {
    gap: 8px;
  }

  .hn-hero__avatar {
    width: 34px;
    height: 34px;
  }

  .hn-hero__feature {
    padding: 12px 10px;
  }

  .hn-consult__field {
    margin-bottom: 14px;
  }

  .hn-consult__field input,
  .hn-consult__field select {
    padding: 13px 14px;
    font-size: var(--text-sm);
  }

  .hn-consult__phone-code--select {
    max-width: 108px;
  }

  .hn-consult__phone-code--select select {
    max-width: 108px;
  }

  .hn-why {
    gap: 12px;
  }

  .hn-card {
    padding: 18px 14px 14px;
    border-radius: 14px;
  }

  .hn-other__tag {
    font-size: var(--text-xs);
  }
}
.hn-card__body .table-responsive table {
    width: 100%;
    border-color: #f2f2f2;
    margin-top: 15px;
}
.hn-card__body .table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.hn-card__body .table th,
.hn-card__body .table td {
  padding: 0.75rem;
  vertical-align: top;
}

.hn-card__body .table-bordered {
  border: 1px solid #dee2e6;
}

.hn-card__body .table-bordered th,
.hn-card__body .table-bordered td {
  border: 1px solid #dee2e6;
}

.hn-card__body .table-bordered thead th,
.hn-card__body .table-bordered thead td {
  border-bottom-width: 2px;
}

/* Live CMS HTML (too_long_description) — keep document order & spacing */
.hn-cms .service-space,
.hn-cms .service-link-item {
  margin: 0 0 1.5rem;
}

.hn-cms .title h1,
.hn-cms .title h2,
.hn-cms h1.overview-company-h2,
.hn-cms h2.overview-company-h2 {
  margin: 0 0 0.75rem;
  /*font-size: clamp(1.35rem, 2.2vw, 1.75rem);*/
  font-weight: 800;
  line-height: 1.25;
  color: #0a0a0a;
}

.hn-cms .overview-content > p,
.hn-cms p {
  margin: 0 0 0.9rem;
  line-height: 1.65;
  color: #222;
}

.hn-cms img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.hn-cms table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.hn-cms table th,
.hn-cms table td {
  border: 1px solid #e5e5e5;
  padding: 0.65rem 0.75rem;
  vertical-align: top;
}

.hn-cms .accordion,
.hn-cms #Faq {
  display: none;
}
