/* DR INTERNATIONAL — Buyer Section (premium layout) */

body[data-page="buyer"] {
  background: #fff;
}

.jx-buyer {
  background: #fff;
  color: #141414;
}

/* ─── Intro strip ─── */
.jx-buyer-hero {
  padding: clamp(3.25rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: #fff;
  text-align: center;
}

.jx-buyer-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.jx-buyer-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9962e;
}

.jx-buyer-hero__title {
  margin: 0 0 1rem;
  font-family: 'Alice', Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1.25;
  color: #051e33;
  letter-spacing: 0.02em;
}

.jx-buyer-hero__text {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  color: #474747;
}

/* ─── Process timeline ─── */
.jx-buyer-steps {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
  background: #fff;
}

.jx-buyer-steps__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.jx-buyer-steps__head h3 {
  margin: 0 0 0.5rem;
  font-family: 'Alice', Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 400;
  color: #051e33;
}

.jx-buyer-steps__head p {
  margin: 0;
  font-size: 0.92rem;
  color: #6e6a61;
  line-height: 1.65;
}

.jx-buyer-steps__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.jx-buyer-steps__list::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 150, 46, 0.45), transparent);
  pointer-events: none;
}

.jx-buyer-step {
  position: relative;
  padding: 0 0.65rem;
  text-align: center;
}

.jx-buyer-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(201, 150, 46, 0.35);
  box-shadow: 0 8px 24px rgba(7, 29, 58, 0.06);
  font-family: 'Alice', Georgia, serif;
  font-size: 1.15rem;
  color: #c9962e;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.jx-buyer-step:hover .jx-buyer-step__num {
  transform: translateY(-3px);
  border-color: #c9962e;
  box-shadow: 0 12px 28px rgba(201, 150, 46, 0.18);
}

.jx-buyer-step h4 {
  margin: 0 0 0.4rem;
  font-family: 'Alice', Georgia, serif;
  font-size: 0.98rem;
  font-weight: 400;
  color: #051e33;
  line-height: 1.35;
}

.jx-buyer-step p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #6e6a61;
}

/* ─── Form layout ─── */
.jx-buyer-contact {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, #faf8f4 0%, #fff 100%);
}

.jx-buyer-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.jx-buyer-contact__intro {
  margin-bottom: 1.75rem;
}

.jx-buyer-contact__intro h2 {
  margin: 0 0 0.5rem;
  font-family: 'Alice', Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 400;
  color: #051e33;
}

.jx-buyer-contact__intro p {
  margin: 0;
  font-size: 0.92rem;
  color: #6e6a61;
  line-height: 1.65;
}

.jx-buyer-form {
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  background: #fff;
  border: 1px solid rgba(201, 150, 46, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(7, 29, 58, 0.07);
}

.jx-buyer-form .form-block {
  margin-bottom: 1.75rem;
  padding: 0;
  border: none;
}

.jx-buyer-form .form-block legend {
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(5, 30, 51, 0.08);
  font-family: 'Alice', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #c9962e;
  letter-spacing: 0.04em;
}

.jx-buyer-form .form-grid {
  gap: 0.85rem 1rem;
}

.jx-buyer-form .form-field input,
.jx-buyer-form .form-field textarea,
.jx-buyer-form .form-field select {
  border-radius: 10px;
  border-color: rgba(5, 30, 51, 0.12);
  background: #fcfbfa;
  box-shadow: none;
}

.jx-buyer-form .form-field input:focus,
.jx-buyer-form .form-field textarea:focus,
.jx-buyer-form .form-field select:focus {
  background: #fff;
  border-color: #c9962e;
  box-shadow: 0 0 0 3px rgba(201, 150, 46, 0.12);
}

.jx-buyer-form .form-checks {
  gap: 1rem;
}

.jx-buyer-form .form-check {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(5, 30, 51, 0.1);
  border-radius: 999px;
  background: #fcfbfa;
  transition: border-color 0.25s, background 0.25s;
}

.jx-buyer-form .form-check:has(input:checked) {
  border-color: rgba(201, 150, 46, 0.45);
  background: rgba(201, 150, 46, 0.08);
}

.jx-buyer-form .form-consent {
  margin: 1.25rem 0 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(5, 30, 51, 0.08);
}

.jx-buyer-form .form-submit {
  max-width: 320px;
  margin: 0 auto;
  display: block;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

/* ─── Sidebar ─── */
.jx-buyer-aside {
  position: sticky;
  top: calc(var(--jz-chrome-h, 128px) + 1.5rem);
}

.jx-buyer-aside__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
}

.jx-buyer-aside__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jx-buyer-aside__card {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(201, 150, 46, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(7, 29, 58, 0.12);
  backdrop-filter: blur(6px);
}

.jx-buyer-aside__card h3 {
  margin: 0 0 0.65rem;
  font-family: 'Alice', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #051e33;
  line-height: 1.35;
}

.jx-buyer-aside__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.jx-buyer-aside__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #051e33;
  transition: color 0.25s;
}

.jx-buyer-aside__links a:hover {
  color: #c9962e;
}

.jx-buyer-aside__links span {
  color: #c9962e;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Quick support ─── */
.jx-buyer-quick {
  padding: clamp(3rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 5.5rem);
  background: #051e33;
  color: #fff;
}

.jx-buyer-quick__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.jx-buyer-quick__head h3 {
  margin: 0 0 0.5rem;
  font-family: 'Alice', Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 400;
  color: #fff;
}

.jx-buyer-quick__head p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.jx-buyer-quick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.jx-buyer-quick__card {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.jx-buyer-quick__card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 150, 46, 0.45);
}

.jx-buyer-quick__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(201, 150, 46, 0.15);
  color: #f6d675;
  font-size: 1.1rem;
}

.jx-buyer-quick__card h4 {
  margin: 0 0 0.45rem;
  font-family: 'Alice', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #fff;
}

.jx-buyer-quick__card p {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.jx-buyer-quick__link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f6d675;
  transition: color 0.25s;
}

.jx-buyer-quick__link:hover {
  color: #fff;
}

/* Hide generic section styles clash */
.jx-buyer .section-head .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .jx-buyer-steps__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .jx-buyer-steps__list::before {
    display: none;
  }

  .jx-buyer-contact__grid {
    grid-template-columns: 1fr;
  }

  .jx-buyer-aside {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
}

.jx-buyer-step,
.jx-buyer-quick__card {
  opacity: 0;
  transform: translateY(32px);
}

@media (prefers-reduced-motion: reduce) {
  .jx-buyer-step,
  .jx-buyer-quick__card {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .jx-buyer-steps__list {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .jx-buyer-quick__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .jx-buyer-form .form-grid {
    grid-template-columns: 1fr;
  }

  .jx-buyer-form .form-submit {
    max-width: none;
    width: 100%;
  }
}
