/* Service pages (/mna-sell, /mna-buy, /mna-valuation, /mna-fddtdd) ---------- */
/* Values mirror the live pages' computed styles at 1440px. */

/* Hero --------------------------------------------------------------------- */
.svc-hero {
  height: 583px;
  overflow: hidden;
  background-color: #161616;
  background-size: auto, cover;
  background-position:
    0 0,
    50% 50%;
}

.svc-hero-sell {
  background-image:
    linear-gradient(176deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.9) 23%, rgba(22, 22, 22, 0.5)),
    url('/assets/images/services/hero-sell.avif');
}

.svc-hero-buy {
  background-image:
    linear-gradient(176deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.9) 23%, rgba(22, 22, 22, 0.5)),
    url('/assets/images/services/hero-buy.avif');
}

.svc-hero-seoul {
  background-image:
    linear-gradient(176deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.9) 23%, rgba(22, 22, 22, 0.5)),
    url('/assets/images/services/hero-seoul.avif');
}

.svc-hero .container {
  padding-top: 40px;
}

.svc-hero-headline {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
}

.svc-hero-sub {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

.svc-hero-narrow .svc-hero-headline,
.svc-hero-narrow .svc-hero-sub {
  max-width: 647px;
}

.svc-hero-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  background-color: #f2542d;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.35s;
}

.svc-hero-button:hover {
  background-color: #ff6742;
}

.svc-hero-visual {
  display: block;
  width: 796px;
  max-width: 100%;
  height: auto;
  margin: 40px 0 0 auto;
}

/* Intro -------------------------------------------------------------------- */
.svc-intro {
  background-color: #fff;
  background-image: url('/assets/images/services/intro-banner.avif');
  background-size: cover;
  background-position: 100% 50%;
}

.svc-intro .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-intro-heading {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.6vw + 15px, 34px);
  font-weight: 300;
  line-height: 1.4;
  color: #151515;
}

.svc-intro-body {
  max-width: 500px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #ebebeb;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #7e8181;
}

/* Section heading (serif 44px, shared) ------------------------------------- */
.svc-heading {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: var(--fs-heading);
  font-weight: 300;
  line-height: 1.3;
  color: #151515;
}

.svc-heading-center {
  text-align: center;
}

/* Reasons ------------------------------------------------------------------ */
.svc-reasons {
  background-color: #fafafa;
}

.svc-reasons .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-reason-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.svc-reason-card {
  display: flex;
  gap: 40px;
  padding: 40px;
  background-color: #fff;
  border: 1px solid #ebebeb;
  transition: box-shadow 0.35s;
}

.svc-reason-card:hover {
  box-shadow: 0 4px 20px rgba(36, 36, 37, 0.05);
}

.svc-reason-card img {
  width: 292px;
  height: 190px;
  flex-shrink: 0;
}

.svc-reason-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 0;
}

.svc-reason-number {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #f2542d;
}

.svc-reason-title {
  margin: 0;
  font-size: var(--fs-subheading);
  font-weight: 600;
  line-height: 1.1;
  color: #323232;
}

.svc-reason-body {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #7e8181;
}

/* Buy page deal strip ------------------------------------------------------- */
.svc-deals {
  background-color: #fafafa;
}

.svc-deals .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-deals-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.svc-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #f64114;
  text-decoration: none;
}

.svc-more-link:hover {
  text-decoration: underline;
}

.svc-deal-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.svc-deal-item {
  margin-bottom: 24px;
}

.svc-deal-item:last-child {
  margin-bottom: 0;
}

/* Compact acquire card: header + title over the spec table, no detail link */
.svc-deal-header {
  margin-bottom: 10px;
}

.svc-deal-body {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr);
  gap: 24px;
}

.svc-deal-title {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: #161616;
}

.svc-deals-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  margin: 40px auto 0;
  padding: 16px 24px;
  background-color: #161616;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #fafafa;
  text-decoration: none;
  transition: background-color 0.35s;
}

.svc-deals-cta:hover {
  background-color: #323232;
}

/* Process ------------------------------------------------------------------- */
.svc-process {
  background-color: #fff;
}

.svc-process .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-process-frame {
  margin-top: 40px;
  padding: 40px 60px 40px 40px;
  background-color: #fafafa;
  border: 1px solid #d4d4d4;
  text-align: center;
}

.svc-process-frame img {
  max-width: 100%;
  height: auto;
}

.svc-process-mobile {
  display: none;
}

/* Trust banner --------------------------------------------------------------- */
.svc-trust {
  padding: 72px 0;
  background-color: #161616;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(22, 22, 22, 0.2)), url('/assets/images/services/trust-banner.avif');
  background-size: auto, cover;
  background-position:
    0 0,
    50% 50%;
  text-align: center;
}

.svc-trust-heading {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: var(--fs-heading);
  font-weight: 300;
  line-height: 1.3;
  color: #fff;
}

.svc-trust-checks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.svc-trust-check {
  display: flex;
  align-items: center;
}

.svc-trust-check img {
  width: 46px;
  height: 46px;
}

.svc-trust-check span {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: #ebebeb;
}

.svc-trust .svc-hero-button {
  margin: 0 auto;
}

/* Best grid ------------------------------------------------------------------ */
.svc-best {
  background-color: #fafafa;
}

.svc-best .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-best-white {
  background-color: #fff;
}

.svc-best-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.svc-best-card {
  background-color: #fff;
}

.svc-best-white .svc-best-card {
  background-color: #fafafa;
}

/* Whole card is clickable; hovering it triggers the link's arrow slide. */
.svc-best-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.svc-best-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 532 / 253;
  object-fit: cover;
}

.svc-best-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 40px 40px;
}

.svc-best-title {
  margin: 0;
  font-size: clamp(20px, 1vw + 16px, 26px);
  font-weight: 500;
  line-height: 1.2;
  color: #323232;
}

.svc-best-body {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: #7e8181;
}

.svc-best-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  font-size: 16px;
  font-weight: 600;
  color: #f2542d;
  text-decoration: none;
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hovering anywhere on the card slides the arrow out (gap 10 -> 15). */
.svc-best-card-link:hover .svc-best-link {
  gap: 15px;
}

/* Valuation: cost intro ------------------------------------------------------ */
.svc-value-intro {
  background-color: #fafafa;
  background-image:
    linear-gradient(90deg, #fff, #fff 0%, rgba(255, 255, 255, 0.76) 34%, rgba(255, 255, 255, 0)),
    url('/assets/images/services/value-intro.avif');
  background-position:
    0 0,
    120%;
  background-repeat: repeat, no-repeat;
  background-size: auto, contain;
}

.svc-value-intro .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-value-logo {
  display: block;
  width: 206px;
  height: 42px;
  margin-bottom: 20px;
}

.svc-value-heading {
  max-width: 500px;
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.6vw + 15px, 34px);
  font-weight: 300;
  line-height: 1.4;
  color: #151515;
}

.svc-value-heading em {
  font-style: normal;
  color: #f2542d;
}

.svc-value-body {
  max-width: 500px;
  margin: 0;
  padding-top: 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #7e8181;
}

.svc-value-alert {
  max-width: 500px;
  margin: 20px 0 0;
  padding: 8px 0 8px 20px;
  border-left: 2px solid #f2542d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: #f2542d;
}

/* Valuation: support process ------------------------------------------------- */
.svc-support {
  background-color: #fafafa;
}

.svc-support .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-support-heading {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: var(--fs-heading);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  color: #161616;
}

.svc-support-sub {
  margin: 0 0 40px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.5px;
  text-align: center;
  color: #323232;
}

.svc-support-frame {
  padding: 1px 0;
  background-color: #fff;
  border: 1px solid #ebebeb;
  text-align: center;
}

.svc-support-frame img {
  max-width: 862px;
  width: 80%;
  height: auto;
}

.svc-support-mobile {
  display: none;
}

/* Valuation: extra programs -------------------------------------------------- */
.svc-programs {
  background-color: #fff;
}

.svc-programs .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding: 40px;
  background-color: #fff;
  border: 1px solid #ebebeb;
}

.svc-program-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 4px;
  border: 1px solid #7e8181;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: #7e8181;
}

.svc-program-title {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: #323232;
}

.svc-program-body {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #7e8181;
}

/* fddtdd: cost section ------------------------------------------------------- */
.svc-cost {
  background-color: #fafafa;
}

.svc-cost .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.svc-cost-body {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #323232;
}

.svc-cost img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 50px;
}

.svc-cost .svc-cost-mobile {
  display: none;
}

/* Buy page: W&I banner ------------------------------------------------------- */
.svc-wni {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 80px 0;
  background-color: #151515;
  background-image:
    linear-gradient(rgba(21, 21, 21, 0.6), rgba(21, 21, 21, 0.8)), url('/assets/images/services/wni-banner.avif');
  background-size: cover;
  background-position: 50% 8%;
  text-align: center;
}

.svc-wni-title {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.svc-wni-sub {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #c5c5c5;
}

.svc-wni img {
  width: 360px;
  height: 50px;
  margin-top: 32px;
}

/* Valuation CTA variant ------------------------------------------------------- */
.svc-cta-logo {
  display: block;
  width: auto;
  height: 58px;
  margin: 0 auto 32px;
  padding: 8px 16px;
  background-color: #fff;
}

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Stronger white wash over the intro banner so the (left-aligned) copy stays
     legible on the tighter mobile crop. */
  .svc-intro {
    background-image:
      linear-gradient(90deg, #fff 0%, #fff 42%, rgba(255, 255, 255, 0.85) 68%, rgba(255, 255, 255, 0.5) 100%),
      url('/assets/images/services/intro-banner.avif');
  }

  .svc-process-frame {
    padding: 24px 0;
  }

  /* Hide only the desktop diagram; the mobile one needs equal specificity to
     win over `.svc-process-frame img`. */
  .svc-process-frame img:not(.svc-process-mobile) {
    display: none;
  }

  .svc-process-frame img.svc-process-mobile {
    display: inline-block;
    width: 200px;
  }

  .svc-support-frame img:not(.svc-support-mobile) {
    display: none;
  }

  .svc-support-frame img.svc-support-mobile {
    display: inline-block;
    width: 80%;
    padding: 16px 0;
  }

  .svc-cost img {
    display: none;
  }

  .svc-cost .svc-cost-mobile {
    display: block;
    width: 100%;
    margin-top: 40px;
  }

  .svc-reason-card {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .svc-reason-card img {
    width: 100%;
    height: auto;
  }

  .svc-reason-content {
    gap: 12px;
    padding: 0;
  }

  .svc-deal-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .svc-programs-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }

  .svc-wni {
    padding: 36px 16px;
  }

  .svc-wni-title {
    font-size: 24px;
  }

  .svc-wni-sub {
    font-size: 16px;
  }

  .svc-wni img {
    width: 240px;
    height: auto;
  }
}

@media (max-width: 479px) {
  .svc-hero {
    height: auto;
    padding-bottom: 40px;
  }

  .svc-hero-headline {
    margin-bottom: 16px;
  }

  .svc-hero-sub {
    font-size: 16px;
  }

  .svc-hero-visual {
    margin-top: 32px;
  }

  .svc-intro-body {
    font-size: 16px;
  }

  .svc-reason-number {
    font-size: 22px;
  }

  .svc-reason-body {
    font-size: 16px;
  }

  .svc-deal-title {
    font-size: 22px;
  }

  .svc-trust {
    padding: 40px 0;
  }

  .svc-trust-checks {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: fit-content;
    margin: 0 auto 24px;
  }

  .svc-trust-check img {
    width: 36px;
    height: 36px;
  }

  .svc-trust-check span {
    font-size: 18px;
  }

  .svc-best-grid {
    grid-template-columns: 1fr;
  }

  .svc-best-card-content {
    margin: 16px 20px 24px;
  }

  .svc-support-sub {
    font-size: 16px;
  }

  .svc-program-title {
    font-size: 20px;
  }

  .svc-program-body {
    font-size: 16px;
  }

  .svc-cost-body {
    font-size: 16px;
  }
}

/* Valuation floating CTA ----------------------------------------------------
   Page-specific pill (the shared .sticky-cta is suppressed here via
   page.hideStickyCta). Same width/position as the default .sticky-cta pill, but
   with valuation-specific copy and an orange action button; the whole pill is
   one link. Fades out near the final CTA/footer via main.js. */
.val-fixed-cta {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  max-width: 720px;
  margin: 0 auto;
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.5s;
}

.val-fixed-cta.is-hidden {
  opacity: 0;
  transform: translateY(24px);
  visibility: hidden;
  pointer-events: none;
}

.val-fixed-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background-color: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.val-fixed-cta-text {
  min-width: 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.35;
  color: #fff;
}

.val-fixed-cta-button {
  flex-shrink: 0;
  padding: 11px 16px;
  background-color: #f2542d;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  transition: background-color 0.35s;
}

.val-fixed-cta-bar:hover .val-fixed-cta-button {
  background-color: #323232;
}

@media (max-width: 767px) {
  .val-fixed-cta-text {
    font-size: 16px;
    line-height: 1.3;
  }

  .val-fixed-cta-button {
    padding: 10px 12px;
    font-size: 15px;
  }
}
