/* ---- page-specific: refill ---- */
.refill-hero {
  padding: clamp(48px, 7vw, 92px) 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 98, 26, .12), transparent 30%),
    linear-gradient(180deg, var(--sv-cream) 0%, var(--sv-white) 100%);
}

.refill-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.refill-hero h1 {
  max-width: 720px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
}

.refill-hero p {
  max-width: 620px;
  color: var(--sv-ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

.refill-actions,
.refill-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.refill-hero__card {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 36vw, 470px);
  border: 1px solid rgba(123, 63, 160, .16);
  border-radius: 24px;
  background: var(--sv-white);
  box-shadow: 0 28px 60px -42px rgba(42, 10, 62, .52);
}

.refill-hero__card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  display: block;
}

.refill-hero__badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  max-width: min(310px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 20px 42px -28px rgba(42, 10, 62, .55);
  backdrop-filter: blur(8px);
}

.refill-hero__badge strong {
  color: var(--sv-purple);
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.1;
}

.refill-hero__badge span {
  color: var(--sv-ink-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.refill-section {
  padding: clamp(54px, 7vw, 88px) 0;
  background: var(--sv-white);
}

.refill-section--compact {
  padding-top: 0;
}

.refill-section--lav {
  background: var(--sv-surface);
}

.refill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.refill-card {
  min-height: 245px;
  border: 1px solid rgba(123, 63, 160, .14);
  border-radius: 18px;
  padding: 28px;
  background: var(--sv-white);
  box-shadow: 0 18px 42px -36px rgba(42, 10, 62, .45);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.refill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 63, 160, .28);
  box-shadow: 0 26px 54px -38px rgba(42, 10, 62, .52);
}

.refill-card i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--sv-surface);
  color: var(--sv-purple);
  font-size: 20px;
}

.refill-card h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.refill-card p {
  color: var(--sv-ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.refill-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(123, 63, 160, .16);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--sv-white);
  box-shadow: 0 22px 54px -42px rgba(42, 10, 62, .5);
}

.refill-form-shell {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(123, 63, 160, .16);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 98, 26, .08), transparent 28%),
    var(--sv-white);
  box-shadow: 0 30px 70px -50px rgba(42, 10, 62, .6);
}

.refill-form-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.refill-form-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
}

.refill-form-head p {
  color: var(--sv-ink-soft);
  line-height: 1.65;
}

.refill-form-head a {
  color: var(--sv-orange);
}

.refill-form {
  display: grid;
  gap: 20px;
}

.refill-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.refill-form .field.full {
  grid-column: 1 / -1;
}

.refill-form label {
  display: grid;
  gap: 8px;
  color: var(--sv-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.refill-form input,
.refill-form select,
.refill-form textarea {
  width: 100%;
  border: 1px solid rgba(123, 63, 160, .18);
  border-radius: 14px;
  padding: 14px 15px;
  background: var(--sv-white);
  color: var(--sv-ink);
  font: 500 15.5px/1.45 "DM Sans", sans-serif;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.refill-form input,
.refill-form select {
  min-height: 52px;
}

.refill-form textarea {
  resize: vertical;
}

.refill-form input:focus,
.refill-form select:focus,
.refill-form textarea:focus {
  border-color: rgba(123, 63, 160, .52);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(123, 63, 160, .1);
}

.refill-confirmation {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 12px !important;
  max-width: 820px;
  padding: 14px 16px;
  border: 1px solid rgba(123, 63, 160, .14);
  border-radius: 14px;
  background: var(--sv-surface);
  color: var(--sv-ink-soft) !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
  text-transform: none !important;
}

.refill-confirmation input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--sv-purple);
}

.refill-submit {
  justify-self: start;
  min-height: 56px;
}

.refill-panel h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
}

.refill-panel p {
  max-width: 670px;
  color: var(--sv-ink-soft);
}

.refill-panel__actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 900px) {
  .refill-hero__grid,
  .refill-form__grid,
  .refill-panel {
    grid-template-columns: 1fr;
  }

  .refill-grid {
    grid-template-columns: 1fr;
  }

  .refill-panel__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .refill-hero__grid {
    gap: 28px;
  }

  .refill-actions .btn,
  .refill-submit,
  .refill-panel__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .refill-hero__card {
    min-height: 280px;
    border-radius: 18px;
  }

  .refill-hero__badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .refill-form-shell {
    padding: 22px 16px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refill-card {
    transition: none;
  }

  .refill-card:hover {
    transform: none;
  }
}
