/* ================= CUSTOM JEWELRY PAGE ================= */

/* --- hero CTA --- */
.custom-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.custom-hero-cta .btn {
  padding: 14px 26px;
}

/* --- how it works --- */
.custom-process-head {
  margin-bottom: 42px;
}

.custom-process-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--onyx);
  margin-top: 12px;
}

.custom-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-bottom: 84px;
}

.process-step .step-num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold-dim);
  line-height: 1;
}

.process-step h3 {
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--onyx);
  margin: 14px 0 10px;
}

.process-step p {
  color: #3a4460;
  font-size: 14.5px;
  line-height: 1.75;
}

/* --- custom sections --- */
.custom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  margin-bottom: 90px;
  align-items: center;
  scroll-margin-top: 110px;
}

.custom-media {
  grid-column: 1;
  min-height: 300px;
}

.custom-copy {
  grid-column: 2;
}

.custom-media-ring img {
  width: 100%;
  height: 400px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: block;
  object-fit: cover;
}

.custom-media-earrings img {
  width: 100%;
  height: 400px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: block;
  object-fit: cover;
}

.custom-media-bracelet,
.custom-media-necklace {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border: 1px dashed var(--gold-dim);
  border-radius: 6px;
  background: linear-gradient(180deg, #fffdf6 0%, var(--ivory) 100%);
  overflow: hidden;
}

.custom-media-bracelet img,
.custom-media-necklace img {
  width: 100%;
  height: 400px;
  border-radius: 6px;
  display: block;
  object-fit: cover;
}

.custom-copy h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--onyx);
  margin: 10px 0 16px;
}

.custom-copy p {
  color: #3a4460;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.custom-checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-checks li {
  position: relative;
  padding-left: 26px;
  color: var(--onyx);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.custom-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* --- quote form card --- */
.custom-form-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 42px 44px;
}

.custom-form-card h3 {
  color: var(--ivory);
  font-size: 26px;
  margin-bottom: 10px;
}

.custom-form-note {
  color: var(--ivory-dim);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.custom-form-card .field label {
  color: var(--gold-light);
}

.custom-form-card .field label .opt {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: none;
  opacity: 0.7;
}

.custom-form-card .field input,
.custom-form-card .field select,
.custom-form-card .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 2px;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.custom-form-card .field select {
  cursor: pointer;
}

.custom-form-card .field select option {
  color: var(--onyx);
  background: var(--ivory);
}

.custom-form-card .field input:focus,
.custom-form-card .field select:focus,
.custom-form-card .field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.custom-form-card .field textarea {
  resize: vertical;
  min-height: 100px;
}

.custom-form-card .field input[type="file"] {
  padding: 8px 2px;
  color: var(--ivory-dim);
  font-size: 13.5px;
}

/* --- upload dropzone --- */
.field-upload .upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 18px 24px;
  margin-top: 8px;
  border: 1.5px dashed var(--gold-dim);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.field-upload .upload-zone:hover,
.field-upload .upload-zone:focus-within,
.field-upload .upload-zone.dragover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.field-upload .upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.field-upload .upload-icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.field-upload .upload-title {
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.field-upload .upload-sub {
  color: var(--ivory-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.field-upload .upload-file {
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-upload .upload-zone.has-file {
  border-color: var(--gold);
  border-style: solid;
}

.custom-form-card .field ::placeholder {
  color: #7a7568;
}

.custom-form-card .btn {
  width: 100%;
  margin-top: 4px;
}

/* --- talk it through --- */
.custom-talk {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 70px;
}

/* --- custom quote section --- */
.custom-quote {
  margin-bottom: 90px;
  scroll-margin-top: 110px;
}

.custom-quote-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 42px;
}

.custom-quote-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--onyx);
  margin: 12px 0 16px;
}

.custom-quote-head p {
  color: #3a4460;
  font-size: 15.5px;
  line-height: 1.8;
}

.custom-form-wide {
  max-width: 760px;
  margin: 0 auto;
}

.custom-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.custom-tab {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  color: var(--ivory-dim);
  font-family: var(--font-body);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.custom-tab:hover,
.custom-tab:focus-visible {
  color: var(--ivory);
  border-color: var(--gold-dim);
  outline: none;
}

.custom-tab.is-active {
  color: var(--onyx);
  background: var(--gold);
  border-color: var(--gold);
}

.custom-talk h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--onyx);
  margin-bottom: 14px;
}

.custom-talk p {
  color: #3a4460;
  font-size: 15.5px;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 30px;
}

.custom-talk-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.custom-talk-cta .mobile-cta-btn {
  animation: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 920px) {
  .custom-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .custom-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 26px;
    margin-bottom: 70px;
  }

  .custom-media,
  .custom-copy,
  .custom-form-card {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .custom-process {
    grid-template-columns: 1fr;
  }

  .custom-form-card {
    padding: 32px 24px;
  }

  .custom-hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .custom-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .custom-tab {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .custom-copy .btn {
    width: 100%;
    text-align: center;
  }
}