/* ============================================================
   arrange.css  –  EternaLink | Arrange a Service
   Design: Split-screen — left panel with info, right with form
   Brand: #F5F0E8 #EEEBE3 #A39C90 #414042 #2a2829 #C0C0C0 #6e6c6e
   ============================================================ */

.arrange-page { padding-bottom: 0; min-height: 100vh; }

/* ═══════════════════════════════════════
   HERO — SPLIT LAYOUT
════════════════════════════════════════ */
.arrange-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 70px);
}

/* LEFT PANEL */
.arrange-hero__left {
  background: #414042;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.arrange-hero__left::before {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(163,156,144,0.06);
  pointer-events: none;
}
.arrange-hero__left::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(163,156,144,0.04);
  pointer-events: none;
}
.arrange-hero__content { position: relative; z-index: 1; max-width: 420px; }

.arrange-eyebrow {
  font-family: "Raleway", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: #A39C90; margin-bottom: 20px;
  display: block;
}

.arrange-hero__title {
  font-family: "Merriweather", serif;
  font-size: 38px; font-weight: 400;
  color: #F5F0E8; line-height: 1.3;
  margin: 0 0 20px;
}

.arrange-hero__sub {
  font-family: "Raleway", sans-serif;
  font-size: 14px; font-weight: 300;
  color: #C0C0C0; line-height: 1.9;
  margin: 0 0 40px;
}

/* PROMISE ITEMS */
.arrange-hero__promise {
  display: flex; flex-direction: column; gap: 20px;
}
.arrange-promise-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.arrange-promise-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  margin-top: 2px;
}
.arrange-promise-icon svg { width: 100%; height: 100%; }
.arrange-promise-title {
  font-family: "Raleway", sans-serif;
  font-size: 13px; font-weight: 700;
  color: #F5F0E8; margin: 0 0 3px;
}
.arrange-promise-body {
  font-family: "Raleway", sans-serif;
  font-size: 12px; color: #C0C0C0;
  margin: 0; line-height: 1.5;
}

/* RIGHT PANEL */
.arrange-hero__right {
  background: #EEEBE3;
  padding: 40px 48px 56px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}

/* PROGRESS */
.arrange-progress {
  margin-bottom: 28px;
}
.arrange-progress__track {
  display: flex; align-items: center;
}
.arrange-progress__step {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  font-family: "Raleway", sans-serif;
  font-size: 11px; font-weight: 600;
  color: #C0C0C0;
  transition: color 0.3s;
}
.arrange-progress__step--active { color: #414042; }
.arrange-progress__step--done { color: #A39C90; }
.arrange-progress__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff; border: 2px solid #C0C0C0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Merriweather", serif;
  font-size: 11px; font-weight: 700;
  color: #C0C0C0;
  transition: all 0.3s;
}
.arrange-progress__step--active .arrange-progress__dot {
  background: #414042; border-color: #414042;
  color: #F5F0E8;
  box-shadow: 0 0 0 4px rgba(65,64,66,0.12);
}
.arrange-progress__step--done .arrange-progress__dot {
  background: #A39C90; border-color: #A39C90;
  color: #F5F0E8;
}
.arrange-progress__label { white-space: nowrap; }
.arrange-progress__line {
  flex: 1; height: 1px;
  background: #C0C0C0; margin: 0 8px;
  margin-bottom: 18px;
}

/* FORM CARD */
.arrange-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #C0C0C0;
  padding: 36px 32px;
  flex: 1;
  box-shadow: 0 4px 24px rgba(65,64,66,0.06);
}

/* ═══════════════════════════════════════
   STEP
════════════════════════════════════════ */
.arrange-step { animation: fadeSlideIn 0.35s ease; }
.arrange-step--hidden { display: none; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.arrange-step__head {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid #EEEBE3;
}
.arrange-step__num {
  font-family: "Merriweather", serif;
  font-size: 24px; font-weight: 400;
  color: #A39C90; line-height: 1;
  flex-shrink: 0;
}
.arrange-step__title {
  font-family: "Merriweather", serif;
  font-size: 19px; font-weight: 700;
  color: #414042; margin: 0 0 4px;
}
.arrange-step__sub {
  font-family: "Raleway", sans-serif;
  font-size: 12.5px; color: #6e6c6e;
  margin: 0; line-height: 1.6;
}
.arrange-required-mark { color: #A39C90; font-weight: 700; }

/* ═══════════════════════════════════════
   FIELDS
════════════════════════════════════════ */
.arrange-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.arrange-field { display: flex; flex-direction: column; gap: 5px; }
.arrange-field--half { grid-column: span 1; }
.arrange-field--third { grid-column: span 1; }
.arrange-field:not(.arrange-field--half):not(.arrange-field--third) { grid-column: span 2; }

.arrange-field label {
  font-family: "Raleway", sans-serif;
  font-size: 11px; font-weight: 700;
  color: #414042; letter-spacing: 0.4px;
  text-transform: uppercase;
}
.arrange-field__optional {
  font-weight: 400; text-transform: none;
  color: #A39C90; font-size: 10.5px; letter-spacing: 0;
}
.arrange-field input,
.arrange-field select,
.arrange-field textarea {
  font-family: "Raleway", sans-serif;
  font-size: 13.5px; color: #414042;
  background: #fff;
  border: 1px solid #C0C0C0;
  border-radius: 4px;
  padding: 10px 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.arrange-field input:focus,
.arrange-field select:focus,
.arrange-field textarea:focus {
  border-color: #A39C90;
  box-shadow: 0 0 0 3px rgba(163,156,144,0.15);
}
.arrange-field input.error,
.arrange-field select.error { border-color: #c62828; }
.arrange-field textarea { resize: vertical; min-height: 80px; }
.arrange-field__error {
  font-family: "Raleway", sans-serif;
  font-size: 11px; color: #c62828; min-height: 14px;
}

/* ═══════════════════════════════════════
   PACKAGES
════════════════════════════════════════ */
.arrange-packages {
  display: flex; flex-direction: column; gap: 12px;
}
.arrange-package {
  background: #FAFAF8;
  border: 1.5px solid #C0C0C0;
  border-radius: 6px;
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.arrange-package:hover {
  border-color: #A39C90;
  box-shadow: 0 3px 12px rgba(163,156,144,0.15);
}
.arrange-package.selected {
  border-color: #A39C90; border-width: 2px;
  background: #F5F0E8;
  box-shadow: 0 4px 16px rgba(163,156,144,0.2);
}
.arrange-package--featured { border-color: rgba(163,156,144,0.5); }

.arrange-package__top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 8px;
}
.arrange-package__badge {
  font-family: "Raleway", sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: #414042; color: #F5F0E8;
  padding: 3px 9px; border-radius: 2px;
}
.arrange-package__badge--featured { background: #A39C90; }
.arrange-package__badge--premium { background: #2a2829; }
.arrange-package__price {
  font-family: "Merriweather", serif;
  font-size: 17px; font-weight: 700; color: #414042;
}
.arrange-package__price span {
  font-family: "Raleway", sans-serif;
  font-size: 11px; font-weight: 400; color: #A39C90;
}
.arrange-package__name {
  font-family: "Merriweather", serif;
  font-size: 15px; font-weight: 700;
  color: #414042; margin: 0 0 10px;
}
.arrange-package__features {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
}
.arrange-package__features li {
  font-family: "Raleway", sans-serif;
  font-size: 11.5px; color: #6e6c6e;
  padding-left: 14px; position: relative;
  line-height: 1.4;
}
.arrange-package__features li::before {
  content: "•"; position: absolute; left: 0;
  color: #A39C90; font-size: 14px; line-height: 1;
  top: 0;
}
.arrange-package__footer {
  display: flex; align-items: center; gap: 8px;
  padding-top: 12px; border-top: 1px solid #EEEBE3;
  font-family: "Raleway", sans-serif;
  font-size: 11px; font-weight: 700;
  color: #A39C90; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.arrange-package__check { width: 16px; height: 16px; flex-shrink: 0; }
.arrange-package.selected .arrange-package__check svg circle { stroke: #A39C90; fill: #A39C90; }
.arrange-package.selected .arrange-package__check svg path { stroke: #fff; }
.arrange-package.selected .arrange-package__select-label { color: #414042; }

/* ═══════════════════════════════════════
   ADD-ONS
════════════════════════════════════════ */
.arrange-addons__label {
  font-family: "Raleway", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #A39C90;
  display: block;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid #EEEBE3;
  grid-column: span 2;
}
.arrange-addons__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.arrange-addon {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 12px 14px;
  background: #FAFAF8; border: 1px solid #C0C0C0;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.arrange-addon:hover { border-color: #A39C90; }
.arrange-addon input[type="checkbox"] { display: none; }
.arrange-addon__box {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 1.5px solid #C0C0C0; border-radius: 3px;
  margin-top: 2px; position: relative;
  transition: all 0.2s;
}
.arrange-addon input:checked ~ .arrange-addon__box {
  background: #A39C90; border-color: #A39C90;
}
.arrange-addon input:checked ~ .arrange-addon__box::after {
  content: "✓"; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px; color: #F5F0E8; font-weight: 700;
}
.arrange-addon__text {
  font-family: "Raleway", sans-serif;
  font-size: 12.5px; color: #6e6c6e; line-height: 1.4;
}
.arrange-addon__price {
  display: block; font-size: 11px;
  color: #A39C90; font-weight: 600; margin-top: 2px;
}

.arrange-addons__grid > .arrange-addons__label:first-child {
  border-top: none;
  padding-top: 0;
}

/* ── ADDON INCLUDED/DISABLED STATE ── */
.arrange-addon--included {
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}

.arrange-addon--included .arrange-addon__box {
  background: #EEEBE3;
  border-color: #EEEBE3;
}

.arrange-addon--included .arrange-addon__text {
  color: #A39C90;
}

/* Tooltip */
.arrange-addon__tooltip {
  display: none;
}

.arrange-addon--included .arrange-addon__tooltip {
  display: block;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #414042;
  color: #F5F0E8;
  font-family: "Raleway", sans-serif;
  font-size: 10px;
  line-height: 1.5;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  max-width: 260px;
  white-space: normal;
  text-align: center;
}

.arrange-addon--included .arrange-addon__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #414042;
}

.arrange-addon--included:hover .arrange-addon__tooltip {
  opacity: 1;
}

/* ═══════════════════════════════════════
   STEP ACTIONS
════════════════════════════════════════ */
.arrange-step__actions {
  display: flex; gap: 10px;
  justify-content: space-between;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid #EEEBE3;
}
.arrange-step__actions--right { justify-content: flex-end; }
.arrange-btn {
  font-family: "Raleway", sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 11px 24px; border-radius: 4px;
  border: none; cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none;
}
.arrange-btn--next, .arrange-btn--submit {
  background: #414042; color: #F5F0E8;
}
.arrange-btn--next:hover, .arrange-btn--submit:hover { background: #2a2829; }
.arrange-btn--back {
  background: transparent; color: #6e6c6e;
  border: 1px solid #C0C0C0;
}
.arrange-btn--back:hover { border-color: #A39C90; color: #A39C90; }

/* ═══════════════════════════════════════
   SUCCESS SCREEN
════════════════════════════════════════ */
.arrange-success {
  background: #F5F0E8;
  min-height: calc(100vh - 70px);
  display: flex; align-items: center;
}
.arrange-success__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 70px);
  width: 100%;
}
.arrange-success__left {
  background: #414042;
  padding: 72px 56px;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative; overflow: hidden;
}
.arrange-success__left::before {
  content: "";
  position: absolute; bottom: -80px; left: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(163,156,144,0.06);
}
.arrange-success__icon {
  width: 64px; height: 64px; margin-bottom: 28px;
}
.arrange-success__icon svg { width: 100%; height: 100%; }
.arrange-success__eyebrow {
  font-family: "Raleway", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: #A39C90; margin-bottom: 14px;
}
.arrange-success__heading {
  font-family: "Merriweather", serif;
  font-size: 28px; font-weight: 400;
  color: #F5F0E8; margin: 0 0 16px; line-height: 1.3;
}
.arrange-success__body {
  font-family: "Raleway", sans-serif;
  font-size: 14px; color: #C0C0C0;
  line-height: 1.9; margin: 0 0 24px; max-width: 380px;
}
.arrange-success__notice {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(163,156,144,0.1);
  border-left: 2px solid #A39C90;
  padding: 14px 16px; border-radius: 2px;
  max-width: 380px;
}
.arrange-success__notice svg { flex-shrink: 0; margin-top: 1px; }
.arrange-success__notice p {
  font-family: "Raleway", sans-serif;
  font-size: 12.5px; color: #C0C0C0;
  line-height: 1.7; margin: 0;
}

.arrange-success__right {
  background: #EEEBE3;
  padding: 56px 48px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 24px;
  overflow-y: auto;
}
.arrange-success__code-block {
  background: #414042; border-radius: 6px;
  padding: 28px 32px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  text-align: center;
}
.arrange-success__code-label {
  font-family: "Raleway", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #A39C90; margin: 0;
}
.arrange-success__code {
  font-family: "Merriweather", serif;
  font-size: 30px; font-weight: 700;
  color: #F5F0E8; letter-spacing: 4px;
}
.arrange-success__copy {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Raleway", sans-serif;
  font-size: 11px; font-weight: 600;
  color: #A39C90; background: transparent;
  border: 1px solid rgba(163,156,144,0.3);
  border-radius: 4px; padding: 6px 14px;
  cursor: pointer; transition: all 0.2s;
}
.arrange-success__copy:hover {
  background: rgba(163,156,144,0.1);
  border-color: #A39C90;
}
.arrange-success__summary {
  background: #fff;
  border: 1px solid #C0C0C0;
  border-radius: 6px;
  padding: 20px 22px;
}
.arrange-success__redirect-prompt {
  font-family: "Raleway", sans-serif;
  font-size: 13px; font-weight: 600;
  color: #414042; margin: 0; text-align: center;
}
.arrange-success__actions {
  display: flex; flex-direction: column; gap: 10px;
}
.arrange-success__actions .arrange-btn {
  width: 100%; justify-content: center;
  text-align: center;
}

/* summary items reuse */
.arrange-summary__item {
  padding: 8px 0; border-bottom: 1px solid #EEEBE3;
}
.arrange-summary__item:last-child { border-bottom: none; }
.arrange-summary__item-label {
  font-family: "Raleway", sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #A39C90; margin-bottom: 2px;
}
.arrange-summary__item-value {
  font-family: "Raleway", sans-serif;
  font-size: 13px; color: #414042; line-height: 1.4;
}

/* ═══════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .arrange-hero { grid-template-columns: 1fr; }
  .arrange-hero__left { padding: 48px 32px 40px; min-height: auto; }
  .arrange-hero__title { font-size: 28px; }
  .arrange-hero__right { padding: 32px 24px 48px; }
  .arrange-success__split { grid-template-columns: 1fr; }
  .arrange-success__left { padding: 48px 32px; min-height: auto; }
  .arrange-success__right { padding: 40px 24px; }
}
@media (max-width: 640px) {
  .arrange-card { padding: 24px 18px; }
  .arrange-fields { grid-template-columns: 1fr; }
  .arrange-field--half,
  .arrange-field--third { grid-column: span 1; }
  .arrange-field:not(.arrange-field--half):not(.arrange-field--third) { grid-column: span 1; }
  .arrange-packages { gap: 10px; }
  .arrange-package__features { grid-template-columns: 1fr; }
  .arrange-addons__grid { grid-template-columns: 1fr; }
  .arrange-progress__label { display: none; }
  .arrange-success__code { font-size: 22px; }
}

/* ── CONSENT ── */
.arrange-consent {
  margin-top: 20px;
}

.arrange-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.arrange-consent__label input[type="checkbox"] { display: none; }

.arrange-consent__box {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid #C0C0C0;
  border-radius: 3px;
  margin-top: 2px;
  position: relative;
  transition: all 0.2s;
}

.arrange-consent__label input:checked ~ .arrange-consent__box {
  background: #A39C90;
  border-color: #A39C90;
}

.arrange-consent__label input:checked ~ .arrange-consent__box::after {
  content: "✓";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  color: #F5F0E8;
  font-weight: 700;
}

.arrange-consent__text {
  font-family: "Raleway", sans-serif;
  font-size: 12.5px;
  color: #6e6c6e;
  line-height: 1.6;
}

.arrange-consent__link {
  color: #414042;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.arrange-consent__link:hover { color: #A39C90; }