:root {
  --navy-950: #031036;
  --navy-900: #04133c;
  --navy-700: #072675;
  --cyan: #0ad1e3;
  --pink: #f652ee;
  --gold: #f6c174;
  --cream: #fbf8f3;
  --ink: #0b193d;
  --muted: #69738c;
  --line: rgba(7, 38, 117, 0.11);
  --brand-gradient: linear-gradient(120deg, var(--pink), var(--cyan) 56%, var(--gold));
  --shadow: 0 28px 70px rgba(4, 19, 60, 0.13);
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 4%, rgba(246, 82, 238, 0.14), transparent 28rem),
    radial-gradient(circle at 94% 88%, rgba(10, 209, 227, 0.14), transparent 32rem),
    linear-gradient(145deg, #020b28, var(--navy-950) 58%, #061c55);
  font-family: "Cairo", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  right: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy-900);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.planner-header {
  position: relative;
  z-index: 20;
  width: min(1370px, calc(100% - 48px));
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 18px auto 0;
  padding: 10px 14px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 27px;
  background: rgba(4, 19, 60, 0.72);
  box-shadow: 0 15px 46px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(1.25);
}
.planner-header::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -1px;
  left: 26px;
  height: 2px;
  opacity: 0.66;
  background: var(--brand-gradient);
}
.planner-brand { width: 135px; justify-self: start; }
.planner-brand img { width: 100%; height: 57px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(10, 209, 227, 0.12)); }
.header-context {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
}
.context-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(10, 209, 227, 0.12), 0 0 18px rgba(10, 209, 227, 0.48);
}
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.language-toggle,
.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.075);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}
.language-toggle {
  min-width: 48px;
  color: #fff;
  font: 700 12px/1 "Roboto", sans-serif;
}
.back-link { gap: 15px; padding: 0 17px; color: rgba(255, 255, 255, 0.88); font-size: 12px; font-weight: 800; }
.back-link b { font: 500 18px/1 "Roboto", sans-serif; }
.language-toggle:hover,
.back-link:hover { transform: translateY(-2px); border-color: rgba(10, 209, 227, 0.52); box-shadow: 0 10px 24px rgba(7, 38, 117, 0.1); }

.planner-main { width: min(1370px, calc(100% - 48px)); margin: 18px auto 0; }
.planner-shell {
  min-height: 750px;
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(640px, 1.28fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  background: var(--navy-950);
  box-shadow: var(--shadow);
}

.planner-story {
  position: relative;
  min-height: 750px;
  display: flex;
  flex-direction: column;
  padding: clamp(38px, 5vw, 72px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 8%, rgba(10, 209, 227, 0.2), transparent 24rem),
    radial-gradient(circle at 88% 82%, rgba(246, 82, 238, 0.16), transparent 23rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 58%, #08266d);
}
.planner-story::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.62) 1px, transparent 1.4px);
  background-size: 18px 18px;
  mask-image: linear-gradient(145deg, #000, transparent 68%);
}
.planner-story::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -38%;
  bottom: 22%;
  width: 140%;
  height: 120px;
  border: 12px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--navy-900), var(--navy-900)) padding-box, var(--brand-gradient) border-box;
  opacity: 0.2;
  transform: rotate(-18deg);
}
.story-art { position: relative; z-index: 2; width: 170px; height: 170px; margin-bottom: 38px; }
.story-ring { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; }
.story-ring-one { animation: orbit 13s linear infinite; }
.story-ring-one::before,
.story-ring-two::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(10, 209, 227, 0.75);
}
.story-ring-one::before { top: 17px; right: 18px; }
.story-ring-two { inset: 21px; border-color: rgba(246, 193, 116, 0.23); animation: orbit 9s linear infinite reverse; }
.story-ring-two::before { right: -3px; bottom: 30px; width: 9px; height: 9px; background: var(--gold); box-shadow: 0 0 20px rgba(246, 193, 116, 0.68); }
.story-icon {
  position: absolute;
  inset: 42px;
  width: 86px;
  height: 86px;
  padding: 16px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 22px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}
.story-spark { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 14px var(--pink); }
.story-spark-one { top: 9px; left: 35px; }
.story-spark-two { right: 3px; bottom: 32px; width: 5px; height: 5px; background: var(--gold); }
.story-copy { position: relative; z-index: 2; }
.eyebrow,
.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.eyebrow::before,
.step-tag::before { content: ""; width: 28px; height: 2px; border-radius: 99px; background: currentColor; }
.story-copy h1 { margin: 0; font-size: clamp(45px, 4.3vw, 70px); line-height: 1.12; letter-spacing: -0.055em; }
.story-copy h1 em,
.corporate-placeholder h1 em { color: transparent; background: var(--brand-gradient); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.story-copy p { max-width: 420px; margin: 20px 0 0; color: rgba(255, 255, 255, 0.65); font-size: 15px; line-height: 1.95; }

.live-summary {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(15px);
}
.live-summary div { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 17px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.live-summary div:last-child { border-bottom: 0; }
.live-summary span { color: rgba(255, 255, 255, 0.43); font-size: 10px; }
.live-summary strong { max-width: 60%; overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.privacy-note { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; margin: 15px 0 0; color: rgba(255, 255, 255, 0.42); font-size: 9px; line-height: 1.7; }
.privacy-note > span:first-child { color: var(--gold); }

.planner-workspace {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 100%, rgba(10, 209, 227, 0.055), transparent 23rem),
    linear-gradient(155deg, #fff, #fbfaf7 72%);
}
.progress-panel {
  position: relative;
  padding: 31px clamp(30px, 5vw, 76px) 25px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(10, 209, 227, 0.13), transparent 17rem),
    linear-gradient(115deg, #061642, var(--navy-950));
}
.progress-panel::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -38px;
  width: 58%;
  height: 65px;
  border: 5px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--navy-950), var(--navy-950)) padding-box, var(--brand-gradient) border-box;
  opacity: 0.15;
  transform: rotate(-8deg);
}
.progress-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.progress-head > div:first-child { display: grid; gap: 4px; }
.progress-head span { color: rgba(255, 255, 255, 0.48); font-size: 10px; font-weight: 700; }
.progress-head strong { color: #fff; font-size: 13px; }
.progress-head strong b { color: var(--pink); font-family: "Roboto", sans-serif; font-size: 16px; }
.progress-value { color: var(--cyan); font: 700 13px/1 "Roboto", sans-serif; }
.progress-value span { color: inherit; font: 700 27px/1 "Roboto", sans-serif; }
.progress-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}
.progress-steps::before,
.progress-steps::after { content: ""; position: absolute; z-index: 0; top: 17px; right: 7%; left: 7%; height: 2px; border-radius: 99px; }
.progress-steps::before { background: rgba(255, 255, 255, 0.13); }
.progress-steps::after { left: auto; width: var(--progress-width, 0%); max-width: 86%; background: var(--brand-gradient); transition: width 0.55s var(--ease); }
[dir="ltr"] .progress-steps::after { right: auto; left: 7%; }
.progress-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; color: rgba(255, 255, 255, 0.36); }
.progress-steps li span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.44);
  background: var(--navy-950);
  font: 700 11px/1 "Roboto", sans-serif;
  transition: 0.35s var(--ease);
}
.progress-steps li b { font-size: 10px; font-weight: 700; }
.progress-steps li.is-active span,
.progress-steps li.is-complete span { border-color: transparent; color: var(--navy-950); background: var(--brand-gradient); box-shadow: 0 8px 20px rgba(10, 209, 227, 0.19); }
.progress-steps li.is-active { color: #fff; }

.planner-form { flex: 1; display: flex; flex-direction: column; margin-top: 0; padding: 34px clamp(30px, 5vw, 76px) clamp(34px, 4vw, 58px); }
.form-step { animation: step-in 0.55s var(--ease) both; }
.step-heading { max-width: 680px; }
.step-tag { color: var(--pink); }
.step-heading h2,
.success-state h2 { margin: 12px 0 0; color: var(--navy-950); font-size: clamp(29px, 3vw, 45px); line-height: 1.25; letter-spacing: -0.045em; }
.step-heading p { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.occasion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 25px; }
.occasion-card-other { grid-column: 1 / -1; }
.occasion-card,
.inspiration-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  transition: transform 0.28s var(--ease), border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}
.occasion-card { min-height: 81px; padding: 12px 13px; border-radius: 19px; }
.occasion-card:hover,
.inspiration-card:hover { transform: translateY(-3px); border-color: rgba(10, 209, 227, 0.42); box-shadow: 0 14px 28px rgba(7, 38, 117, 0.08); }
.occasion-card:has(input:focus-visible),
.inspiration-card:has(input:focus-visible) { outline: 3px solid rgba(246, 193, 116, 0.62); outline-offset: 2px; }
.occasion-card:has(input:checked),
.inspiration-card:has(input:checked) { border-color: rgba(10, 209, 227, 0.64); background: linear-gradient(110deg, rgba(246, 82, 238, 0.055), rgba(10, 209, 227, 0.065) 56%, rgba(246, 193, 116, 0.06)); box-shadow: 0 14px 30px rgba(7, 38, 117, 0.1); }
.occasion-card input,
.inspiration-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.occasion-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--cream);
}
.occasion-icon img { width: 33px; height: 33px; object-fit: contain; }
.occasion-card > span:nth-child(3),
.inspiration-card > span:nth-child(3) { min-width: 0; display: grid; gap: 3px; }
.occasion-card strong,
.inspiration-card strong { overflow: hidden; color: var(--navy-950); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.occasion-card small,
.inspiration-card small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.occasion-card > i,
.inspiration-card > b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #dce0e9;
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font: 700 11px/1 "Roboto", sans-serif;
  transition: 0.25s ease;
}
.occasion-card:has(input:checked) > i,
.inspiration-card:has(input:checked) > b { border-color: transparent; color: var(--navy-950); background: var(--brand-gradient); }
.other-occasion-field { margin-top: 13px; padding: 15px; border: 1px solid rgba(10, 209, 227, 0.18); border-radius: 19px; background: rgba(10, 209, 227, 0.045); animation: step-in 0.35s var(--ease) both; }

.personal-service-recommendation { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 20px; padding: 13px 15px; border: 1px solid rgba(10, 209, 227, 0.22); border-radius: 18px; background: linear-gradient(110deg, rgba(246, 82, 238, 0.045), rgba(10, 209, 227, 0.075), rgba(246, 193, 116, 0.06)); }
.personal-service-recommendation > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--navy-950); background: var(--brand-gradient); box-shadow: 0 10px 22px rgba(10, 209, 227, 0.14); font: 800 16px/1 "Roboto", sans-serif; }
.personal-service-recommendation p { display: grid; gap: 3px; margin: 0; }
.personal-service-recommendation strong { color: var(--navy-950); font-size: 11px; }
.personal-service-recommendation small { color: var(--muted); font-size: 9px; line-height: 1.65; }
.personal-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.personal-service-card {
  position: relative;
  min-width: 0;
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 11px;
  padding: 22px 14px 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  cursor: pointer;
  text-align: center;
  background: #fff;
  transition: transform 0.28s var(--ease), border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}
.personal-service-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -48px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--brand-gradient);
  opacity: 0.055;
}
.personal-service-card:hover { transform: translateY(-3px); border-color: rgba(10, 209, 227, 0.42); box-shadow: 0 14px 28px rgba(7, 38, 117, 0.08); }
.personal-service-card:has(input:focus-visible) { outline: 3px solid rgba(246, 193, 116, 0.62); outline-offset: 2px; }
.personal-service-card:has(input:checked) { border-color: rgba(10, 209, 227, 0.64); background: linear-gradient(145deg, var(--navy-950), #082460); box-shadow: 0 15px 30px rgba(7, 38, 117, 0.18); }
.personal-service-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.personal-service-icon { width: 67px; height: 67px; display: grid; place-items: center; border-radius: 21px; background: var(--cream); transition: transform 0.28s var(--ease), background 0.28s ease; }
.personal-service-icon img { width: 44px; height: 44px; object-fit: contain; }
.personal-service-card:has(input:checked) .personal-service-icon { transform: scale(1.04) rotate(-2deg); background: rgba(255, 255, 255, 0.78); }
.personal-service-card strong { max-width: 100%; overflow: hidden; color: var(--navy-950); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.personal-service-card:has(input:checked) strong { color: #fff; }
.personal-service-card > i { position: absolute; z-index: 1; top: 12px; inset-inline-end: 12px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #dce0e9; border-radius: 50%; color: transparent; background: #fff; font: 700 11px/1 "Roboto", sans-serif; transition: 0.25s ease; }
.personal-service-card:has(input:checked) > i { border-color: transparent; color: var(--navy-950); background: var(--brand-gradient); }

.field-error { margin: 10px 0 0; color: #b72560; font-size: 11px; font-weight: 700; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 27px; }
.field { min-width: 0; display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field > span { color: var(--navy-950); font-size: 11px; font-weight: 800; }
.field > span small { color: var(--muted); font-size: 9px; font-weight: 500; }
.field input,
.field select,
.field textarea,
.field-suffix,
.phone-field {
  width: 100%;
  min-height: 51px;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: 0;
  background: #fff;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.field input,
.field select,
.field textarea { padding: 0 15px; }
.field textarea { min-height: 104px; padding-top: 13px; line-height: 1.8; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #a4abba; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.field-suffix:focus-within,
.phone-field:focus-within { border-color: rgba(10, 209, 227, 0.7); box-shadow: 0 0 0 4px rgba(10, 209, 227, 0.09); }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.field.is-invalid .field-suffix,
.field.is-invalid .phone-field { border-color: rgba(183, 37, 96, 0.46); background: rgba(255, 244, 247, 0.65); }
.input-error { display: none; color: #b72560; font-size: 9px; font-weight: 700; }
.field.is-invalid .input-error { display: block; }
.input-help { color: var(--muted); font-size: 9px; }
.field-suffix,
.phone-field { display: flex; align-items: center; overflow: hidden; }
.field-suffix input,
.phone-field input { min-width: 0; height: 49px; flex: 1; border: 0; border-radius: 0; box-shadow: none !important; }
.field-suffix b { padding-inline-end: 15px; color: var(--muted); font-size: 10px; }
.phone-field b { align-self: stretch; display: grid; place-items: center; padding: 0 14px; border-right: 1px solid var(--line); color: var(--navy-700); background: var(--cream); font: 700 12px/1 "Roboto", sans-serif; }

.inspiration-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 27px; }
.inspiration-card { min-height: 124px; padding: 17px; border-radius: 20px; }
.inspiration-visual {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 19px;
  background: var(--navy-950);
}
.inspiration-lameet i { position: absolute; width: 54px; height: 9px; border-radius: 99px; transform: rotate(-18deg); }
.inspiration-lameet i:nth-child(1) { top: 13px; right: -5px; background: var(--cyan); }
.inspiration-lameet i:nth-child(2) { top: 28px; left: -12px; background: var(--gold); }
.inspiration-lameet i:nth-child(3) { bottom: 9px; right: 4px; background: var(--pink); }
.inspiration-own { color: #fff; background: var(--brand-gradient); font-size: 25px; }
.notes-field { position: relative; margin-top: 17px; }
.character-count { position: absolute; left: 14px; bottom: 10px; color: #9aa2b4; font: 500 9px/1 "Roboto", sans-serif; }
.idea-upload { margin-top: 15px; padding: 16px; border: 1px solid rgba(7, 38, 117, 0.1); border-radius: 21px; background: #fff; box-shadow: 0 12px 30px rgba(7, 38, 117, 0.055); animation: step-in 0.35s var(--ease) both; }
.upload-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.upload-heading > div { display: grid; gap: 3px; }
.upload-heading strong { color: var(--navy-950); font-size: 11px; }
.upload-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.upload-heading > span { color: var(--muted); font-size: 9px; }
.upload-dropzone {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px;
  border: 1px dashed rgba(10, 209, 227, 0.48);
  border-radius: 17px;
  cursor: pointer;
  background: linear-gradient(110deg, rgba(246, 82, 238, 0.035), rgba(10, 209, 227, 0.055) 55%, rgba(246, 193, 116, 0.045));
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}
.upload-dropzone:hover,
.upload-dropzone.is-dragging { transform: translateY(-2px); border-color: var(--cyan); background: rgba(10, 209, 227, 0.09); }
.upload-mark { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: var(--navy-950); background: var(--brand-gradient); font: 500 20px/1 "Roboto", sans-serif; }
.upload-dropzone > span:last-child { display: grid; gap: 3px; }
.upload-dropzone strong { color: var(--navy-700); font-size: 10px; }
.upload-dropzone small { color: var(--muted); font-size: 8px; }
.upload-previews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.upload-preview { position: relative; min-width: 0; aspect-ratio: 1.2; margin: 0; overflow: hidden; border-radius: 13px; background: var(--navy-950); }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview figcaption { position: absolute; right: 5px; bottom: 5px; left: 5px; overflow: hidden; padding: 4px 6px; border-radius: 7px; color: #fff; background: rgba(3, 16, 54, 0.68); text-overflow: ellipsis; white-space: nowrap; font-size: 7px; backdrop-filter: blur(6px); }
.remove-upload { position: absolute; z-index: 2; top: 5px; left: 5px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, 0.36); border-radius: 8px; color: #fff; cursor: pointer; background: rgba(3, 16, 54, 0.72); font: 700 12px/1 "Roboto", sans-serif; }
.service-followup-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: 15px;
  padding: 12px 15px;
  border: 1px solid rgba(10, 209, 227, 0.22);
  border-radius: 17px;
  background: rgba(10, 209, 227, 0.055);
}
.service-followup-note img { width: 38px; height: 38px; object-fit: contain; }
.service-followup-note strong { color: var(--navy-700); font-size: 11px; }
.service-followup-note p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }

.review-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 23px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--line); }
.review-card div { min-width: 0; display: grid; gap: 4px; padding: 12px 14px; background: var(--cream); }
.review-card span { color: var(--muted); font-size: 8px; }
.review-card strong { overflow: hidden; color: var(--navy-950); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.review-card .review-services { grid-column: 1 / -1; }
.review-card .review-services strong { white-space: normal; line-height: 1.7; }
.contact-grid { margin-top: 17px; }
.contact-panel {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(7, 38, 117, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 38, 117, 0.08);
}
.contact-panel-heading {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 15%, rgba(10, 209, 227, 0.19), transparent 12rem),
    linear-gradient(125deg, var(--navy-950), #082567);
}
.contact-panel-heading::after { content: ""; position: absolute; right: -54px; bottom: -72px; width: 180px; height: 115px; border: 8px solid transparent; border-radius: 50%; background: linear-gradient(#082567, #082567) padding-box, var(--brand-gradient) border-box; opacity: 0.15; transform: rotate(-14deg); }
.contact-panel-icon { position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 17px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.contact-panel-icon img { width: 36px; height: 36px; object-fit: contain; }
.contact-panel-heading > div { position: relative; z-index: 1; min-width: 0; }
.contact-panel-kicker { display: block; color: var(--cyan); font-size: 8px; font-weight: 800; }
.contact-panel-heading h3 { margin: 4px 0 0; color: #fff; font-size: 16px; line-height: 1.4; }
.contact-panel .contact-panel-heading p { max-width: 520px; margin: 4px 0 0; color: rgba(255, 255, 255, 0.62); font-size: 8px; line-height: 1.7; }
.contact-security { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; color: rgba(255, 255, 255, 0.76); background: rgba(255, 255, 255, 0.07); font-size: 8px; font-weight: 700; white-space: nowrap; }
.contact-security i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: var(--brand-gradient); font: 800 8px/1 "Roboto", sans-serif; }
.contact-panel .contact-grid,
.contact-panel .corporate-contact-grid { margin-top: 0; padding: 20px 20px 0; }
.professional-field { align-content: start; }
.field > .field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field-label-row > span { min-width: 0; }
.field-label-row > small { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: var(--navy-700) !important; background: rgba(10, 209, 227, 0.1); font-size: 7px !important; font-weight: 800 !important; }
.professional-field > input,
.professional-field > .phone-field { min-height: 54px; border-color: rgba(7, 38, 117, 0.14); background: linear-gradient(180deg, #fff, #fdfdfd); box-shadow: inset 0 1px 0 rgba(7, 38, 117, 0.02); }
.professional-field > input { font-size: 11px; }
.contact-promise { display: flex; align-items: center; gap: 9px; margin: 15px 20px 0; padding: 10px 12px; border: 1px solid rgba(10, 209, 227, 0.16); border-radius: 13px; background: rgba(10, 209, 227, 0.045); }
.contact-promise > span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(10, 209, 227, 0.1), 0 0 14px rgba(10, 209, 227, 0.48); }
.contact-panel .contact-promise p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.7; }
.consent-field { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: var(--muted); cursor: pointer; font-size: 10px; line-height: 1.65; }
.consent-field input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--cyan); }
.consent-card { align-items: center; margin: 13px 20px 20px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 15px; background: var(--cream); transition: border-color 0.22s ease, background 0.22s ease; }
.consent-card:has(input:checked) { border-color: rgba(10, 209, 227, 0.36); background: rgba(10, 209, 227, 0.055); }
.consent-card > span { display: grid; gap: 2px; }
.consent-card strong { color: var(--navy-950); font-size: 9px; }
.consent-card small { color: var(--muted); font-size: 8px; line-height: 1.65; }
.consent-card-error { margin: -11px 20px 18px; }

.submission-feedback {
  margin: 18px 0 0;
  padding: 12px 15px;
  border: 1px solid rgba(183, 37, 96, 0.22);
  border-radius: 15px;
  color: #9c174c;
  background: rgba(255, 240, 246, 0.82);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.75;
}

.primary-button:disabled,
.secondary-button:disabled { cursor: wait; opacity: 0.62; transform: none; box-shadow: none; }

.form-actions { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.primary-button,
.secondary-button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}
.primary-button { min-width: 150px; padding: 0 20px; border: 0; color: var(--navy-950); background: var(--brand-gradient); box-shadow: 0 14px 30px rgba(7, 38, 117, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 19px 38px rgba(7, 38, 117, 0.22); }
.secondary-button { min-width: 102px; padding: 0 17px; border: 1px solid var(--line); color: var(--navy-700); background: #fff; }
.secondary-button:hover { transform: translateY(-2px); border-color: rgba(10, 209, 227, 0.48); }
.draft-state { justify-self: center; display: flex; align-items: center; gap: 7px; color: #9ba3b4; font-size: 9px; }
.draft-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b9c0cc; }
.draft-state.is-saved::before { background: var(--cyan); box-shadow: 0 0 10px rgba(10, 209, 227, 0.55); }
.submit-button { min-width: 180px; }

.success-state { margin: auto; padding: 58px clamp(30px, 5vw, 76px); text-align: center; animation: step-in 0.6s var(--ease) both; }
.success-mark { position: relative; width: 115px; height: 115px; display: grid; place-items: center; margin: 0 auto 26px; border: 1px solid rgba(10, 209, 227, 0.25); border-radius: 50%; }
.success-mark::before,
.success-mark::after { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(246, 82, 238, 0.14); border-radius: 50%; animation: success-ring 2.6s ease-in-out infinite; }
.success-mark::after { inset: -25px; border-color: rgba(246, 193, 116, 0.12); animation-delay: -1.3s; }
.success-mark span { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 25px; color: var(--navy-950); background: var(--brand-gradient); box-shadow: 0 18px 36px rgba(10, 209, 227, 0.19); font: 700 25px/1 "Roboto", sans-serif; transform: rotate(-5deg); }
.success-state p { max-width: 550px; margin: 16px auto 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 27px; }

.corporate-placeholder {
  position: relative;
  min-height: 750px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 70px 24px;
  overflow: hidden;
  border-radius: 38px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 12% 12%, rgba(246, 82, 238, 0.15), transparent 31rem),
    radial-gradient(circle at 88% 86%, rgba(10, 209, 227, 0.17), transparent 32rem),
    var(--navy-950);
  box-shadow: var(--shadow);
}
.corporate-placeholder .eyebrow { position: relative; z-index: 2; }
.corporate-placeholder h1 { position: relative; z-index: 2; margin: 20px 0 0; font-size: clamp(48px, 7vw, 86px); line-height: 1.12; letter-spacing: -0.055em; }
.corporate-placeholder p { position: relative; z-index: 2; max-width: 690px; margin: 22px 0 30px; color: rgba(255, 255, 255, 0.63); font-size: 15px; line-height: 2; }
.corporate-placeholder .primary-button { position: relative; z-index: 2; }
.corporate-orbit { position: absolute; width: min(780px, 74vw); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; animation: orbit 28s linear infinite; }
.corporate-orbit::before,
.corporate-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; }
.corporate-orbit::before { inset: 14%; }
.corporate-orbit::after { inset: 30%; }
.corporate-orbit span { position: absolute; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 25px currentColor; }
.corporate-orbit span:nth-child(1) { top: 8%; right: 24%; color: var(--cyan); background: currentColor; }
.corporate-orbit span:nth-child(2) { bottom: 13%; left: 19%; color: var(--pink); background: currentColor; }
.corporate-orbit span:nth-child(3) { top: 51%; right: 13%; color: var(--gold); background: currentColor; }

.planner-footer {
  width: min(1370px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 24px 6px 30px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}
.planner-love { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, 0.68); font-size: 13px; font-weight: 600; }
.love-heart { display: inline-block; color: var(--pink); filter: drop-shadow(0 0 8px rgba(246, 82, 238, 0.58)); animation: love-heartbeat 1.35s ease-in-out infinite; transform-origin: center; font-size: 20px; line-height: 1; }

body[data-planner-type="corporate"] .planner-shell { display: none; }
body[data-planner-type="corporate"] .corporate-placeholder { display: grid; }
body[data-planner-type="corporate"] .header-context .context-dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(246, 193, 116, 0.12), 0 0 18px rgba(246, 193, 116, 0.48); }

[dir="ltr"] body { font-family: "Roboto", sans-serif; }
[dir="ltr"] .back-link b,
[dir="ltr"] .primary-button span:last-child,
[dir="ltr"] .secondary-button span:first-child { transform: scaleX(-1); }
[dir="ltr"] .phone-field b { border-right: 1px solid var(--line); }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 3px solid rgba(246, 193, 116, 0.72); outline-offset: 3px; }
.step-heading h2:focus,
.corporate-step-heading h2:focus,
.success-state h2:focus,
.corporate-success h2:focus { outline: 0; }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes step-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes success-ring { 0%, 100% { opacity: 0.25; transform: scale(0.94); } 50% { opacity: 0.75; transform: scale(1.05); } }
@keyframes love-heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.28); } 28% { transform: scale(0.96); } 42% { transform: scale(1.18); } 58% { transform: scale(1); } }

@media (max-width: 1050px) {
  .planner-header,
  .planner-main,
  .planner-footer { width: min(100% - 28px, 900px); }
  .planner-shell { grid-template-columns: 1fr; }
  .planner-story { min-height: auto; display: grid; grid-template-columns: 1fr; align-items: center; gap: 8px 26px; padding: 32px 38px; }
  .story-art { grid-row: 1 / 3; width: 116px; height: 116px; margin: 0; }
  .story-icon { inset: 29px; width: 58px; height: 58px; padding: 10px; border-radius: 20px; }
  .story-ring-two { inset: 15px; }
  .story-copy h1 { font-size: 42px; }
  .story-copy p { margin-top: 10px; }
  .live-summary { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); margin-top: 15px; }
  .live-summary div { display: grid; justify-content: start; gap: 4px; border-bottom: 0; border-inline-end: 1px solid rgba(255, 255, 255, 0.09); }
  .live-summary div:last-child { border-inline-end: 0; }
  .live-summary strong { max-width: 100%; }
  .privacy-note { grid-column: 1 / -1; }
  .planner-workspace { min-height: 680px; }
}

@media (max-width: 720px) {
  .planner-header { min-height: 66px; grid-template-columns: 1fr auto; margin-top: 8px; padding: 7px 8px 7px 12px; border-radius: 21px; }
  .planner-brand { width: 96px; }
  .planner-brand img { height: 48px; }
  .header-context { display: none; }
  .back-link { min-width: 44px; width: 44px; padding: 0; }
  .back-link span { display: none; }
  .planner-main { margin-top: 10px; }
  .planner-shell,
  .corporate-placeholder { border-radius: 27px; }
  .planner-story { grid-template-columns: 1fr; gap: 4px 16px; padding: 23px 20px 20px; }
  .story-art { width: 66px; height: 66px; }
  .story-icon { inset: 16px; width: 34px; height: 34px; padding: 6px; border-radius: 11px; }
  .story-ring-two { inset: 8px; }
  .story-spark { display: none; }
  .story-copy .eyebrow { font-size: 8px; }
  .story-copy h1 { margin-top: 0; font-size: 27px; }
  .story-copy p { display: none; }
  .live-summary { margin-top: 12px; }
  .live-summary div { padding: 9px 11px; }
  .live-summary span { font-size: 7px; }
  .live-summary strong { font-size: 8px; }
  .privacy-note { display: none; }
  .planner-workspace { min-height: 680px; }
  .progress-panel { padding: 22px 18px 18px; }
  .progress-head span { font-size: 8px; }
  .progress-head strong { font-size: 10px; }
  .progress-value span { font-size: 21px; }
  .progress-steps { margin-top: 13px; }
  .progress-steps li span { width: 30px; height: 30px; }
  .progress-steps::before,
  .progress-steps::after { top: 14px; }
  .progress-steps li b { display: none; }
  .planner-form { margin-top: 0; padding: 24px 18px 22px; }
  .step-heading h2,
  .success-state h2 { font-size: 28px; }
  .step-heading p { font-size: 11px; }
  .occasion-grid,
  .inspiration-options { grid-template-columns: 1fr; gap: 8px; margin-top: 19px; }
  .personal-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 19px; }
  .personal-service-card { min-height: 124px; padding: 18px 10px 13px; border-radius: 17px; }
  .personal-service-icon { width: 55px; height: 55px; border-radius: 17px; }
  .personal-service-icon img { width: 36px; height: 36px; }
  .personal-service-card strong { font-size: 10px; }
  .occasion-card-other { grid-column: auto; }
  .occasion-card { min-height: 69px; padding: 9px 10px; }
  .occasion-icon { width: 43px; height: 43px; border-radius: 14px; }
  .occasion-icon img { width: 28px; height: 28px; }
  .occasion-card strong { font-size: 12px; }
  .inspiration-card { min-height: 96px; padding: 12px; }
  .inspiration-visual { width: 53px; height: 53px; border-radius: 16px; }
  .field-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .field-wide { grid-column: auto; }
  .review-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel-heading { grid-template-columns: 44px minmax(0, 1fr); gap: 11px; padding: 15px; }
  .contact-panel-icon { width: 44px; height: 44px; border-radius: 14px; }
  .contact-panel-icon img { width: 31px; height: 31px; }
  .contact-panel-heading h3 { font-size: 13px; }
  .contact-security { grid-column: 2; justify-self: start; margin-top: 2px; }
  .contact-panel .contact-grid,
  .contact-panel .corporate-contact-grid { padding: 15px 15px 0; }
  .contact-promise { margin-inline: 15px; }
  .consent-card { margin-inline: 15px; }
  .consent-card-error { margin-inline: 15px; }
  .upload-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-actions { position: sticky; z-index: 5; bottom: 8px; margin: 18px -5px -4px; padding: 9px; border: 1px solid rgba(7, 38, 117, 0.08); border-radius: 19px; background: rgba(255, 255, 255, 0.88); box-shadow: 0 15px 35px rgba(4, 19, 60, 0.1); backdrop-filter: blur(15px); }
  .draft-state { display: none; }
  .form-actions { grid-template-columns: auto 1fr; }
  .primary-button { width: 100%; min-width: 0; }
  .submit-button { grid-column: 2; }
  .secondary-button { min-width: 86px; }
  .corporate-placeholder { min-height: 680px; }
  .corporate-placeholder h1 { font-size: 45px; }
  .corporate-placeholder p { font-size: 12px; }
}

@media (max-width: 430px) {
  .planner-header,
  .planner-main,
  .planner-footer { width: calc(100% - 16px); }
  .planner-story { padding-inline: 16px; }
  .story-copy h1 { font-size: 24px; }
  .planner-form { padding-inline: 14px; }
  .progress-panel { padding-inline: 14px; }
  .step-heading h2 { font-size: 25px; }
  .occasion-card small { max-width: 175px; }
  .review-card { grid-template-columns: 1fr 1fr; }
  .planner-footer { padding-inline: 4px; }
  .planner-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  .planner-love { order: -1; width: 100%; justify-content: center; }
}

/* Persistent planner navigation and occasion-aware portfolio */
.planner-header {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.planner-main { margin-top: 118px; }

.back-link {
  border-color: transparent;
  color: var(--navy-950);
  background: var(--brand-gradient);
  box-shadow: 0 9px 26px rgba(10, 209, 227, 0.22), 0 0 24px rgba(246, 82, 238, 0.15);
}
.back-link:hover {
  border-color: transparent;
  box-shadow: 0 13px 32px rgba(10, 209, 227, 0.3), 0 0 30px rgba(246, 82, 238, 0.2);
}

.planner-portfolio {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(7, 38, 117, 0.12);
  border-radius: 23px;
  background: linear-gradient(145deg, #fff, rgba(10, 209, 227, 0.045));
  box-shadow: 0 15px 36px rgba(4, 19, 60, 0.07);
  animation: step-in 0.38s var(--ease) both;
}
.portfolio-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}
.portfolio-heading > div { display: grid; gap: 3px; }
.portfolio-heading span {
  color: var(--cyan);
  font: 800 9px/1 "Roboto", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.portfolio-heading strong { color: var(--navy-950); font-size: 13px; }
.portfolio-heading small { max-width: 300px; color: var(--muted); font-size: 8px; line-height: 1.65; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 112px;
  gap: 9px;
}
.portfolio-item {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  cursor: zoom-in;
  color: #fff;
  background: var(--navy-950);
  box-shadow: 0 8px 18px rgba(3, 16, 54, 0.12);
}
.portfolio-item:nth-child(1),
.portfolio-item:nth-child(2) { grid-column: span 3; }
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), opacity 0.3s ease;
}
.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(3, 16, 54, 0.78));
}
.portfolio-item span {
  position: absolute;
  z-index: 1;
  right: 11px;
  bottom: 9px;
  left: 11px;
  font-size: 8px;
  font-weight: 800;
  text-align: start;
}
.portfolio-item:hover img { transform: scale(1.055); }
.portfolio-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  width: min(1060px, calc(100vw - 40px));
  max-width: none;
  height: min(780px, calc(100vh - 40px));
  max-height: none;
  margin: auto;
  padding: 20px 72px 50px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  color: #fff;
  background: rgba(2, 8, 27, 0.96);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.55);
}
.portfolio-lightbox::backdrop { background: rgba(0, 4, 19, 0.82); backdrop-filter: blur(12px); }
.portfolio-lightbox figure { width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; margin: 0; }
.portfolio-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 20px; }
.portfolio-lightbox figcaption { font-size: 12px; font-weight: 800; text-align: center; }
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  transition: 0.25s var(--ease);
}
.lightbox-close { top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; font: 300 27px/1 "Roboto", sans-serif; }
.lightbox-arrow { top: 50%; width: 48px; height: 48px; font: 300 34px/1 "Roboto", sans-serif; transform: translateY(-50%); }
.lightbox-previous { left: 13px; }
.lightbox-next { right: 13px; }
.lightbox-close:hover,
.lightbox-arrow:hover { color: var(--navy-950); background: var(--brand-gradient); transform: translateY(-50%) scale(1.06); }
.lightbox-close:hover { transform: scale(1.06); }
.lightbox-counter { position: absolute; bottom: 17px; right: 0; left: 0; color: rgba(255, 255, 255, 0.58); font: 700 9px/1 "Roboto", sans-serif; text-align: center; }

@media (max-width: 760px) {
  .planner-header { top: 8px; }
  .planner-main { margin-top: 88px; }
  .planner-portfolio { padding: 13px; border-radius: 19px; }
  .portfolio-heading { align-items: start; flex-direction: column; gap: 5px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 108px; gap: 7px; }
  .portfolio-item,
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2) { grid-column: span 1; border-radius: 13px; }
  .portfolio-item:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .portfolio-lightbox { width: calc(100vw - 18px); height: calc(100vh - 28px); padding: 58px 10px 54px; border-radius: 22px; }
  .lightbox-arrow { top: auto; bottom: 10px; width: 39px; height: 39px; transform: none; }
  .lightbox-previous { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-arrow:hover { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
