:root {
  --survey-ink: #252a28;
  --survey-muted: #69716e;
  --survey-line: #e4e7e5;
  --survey-surface: #ffffff;
  --survey-soft: #f4f6f5;
  --survey-accent: #8d5f51;
  --survey-accent-dark: #694238;
  --survey-success: #188a55;
  --survey-danger: #a44942;
  --survey-shadow: 0 20px 55px rgba(34, 43, 39, .10);
}

/* Form alanlarında padding kaynaklı yatay taşmaları engeller. */
.survey-page,
.survey-page *,
.survey-page *::before,
.survey-page *::after,
.health-survey-float,
.health-survey-float * {
  box-sizing: border-box;
}

.health-survey-float {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  max-width: calc(100vw - 36px);
  padding: 9px 17px 9px 10px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--survey-accent-dark), var(--survey-accent));
  box-shadow: 0 14px 35px rgba(105, 66, 56, .35);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateZ(0);
  animation: survey-float-attention 2.25s ease-in-out infinite;
}

.health-survey-float::before,
.health-survey-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border: 1px solid rgba(141, 95, 81, .46);
  border-radius: inherit;
  opacity: 0;
  animation: survey-float-ring 2.25s ease-out infinite;
}

.health-survey-float::after { animation-delay: 1.1s; }
.health-survey-float:hover { color: #fff; transform: translateY(-2px); }
.health-survey-float:focus-visible { outline: 3px solid rgba(141, 95, 81, .28); outline-offset: 4px; }

.health-survey-float-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.17);
  font-size: 21px;
  line-height: 1;
}

.health-survey-float-copy {
  display: grid;
  min-width: 0;
  line-height: 1.16;
}
.health-survey-float-copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.health-survey-float-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes survey-float-attention {
  0%, 100% { box-shadow: 0 14px 35px rgba(105, 66, 56, .33); }
  50% { box-shadow: 0 17px 42px rgba(105, 66, 56, .50); }
}
@keyframes survey-float-ring {
  0% { transform: scale(.94); opacity: 0; }
  20% { opacity: .75; }
  75%, 100% { transform: scale(1.18); opacity: 0; }
}

.survey-page {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--survey-ink);
  background:
    radial-gradient(circle at 2% 0%, rgba(190, 153, 136, .12), transparent 28%),
    radial-gradient(circle at 98% 0%, rgba(141, 95, 81, .08), transparent 25%),
    var(--survey-soft);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.survey-shell {
  width: min(calc(100% - 32px), 940px);
  margin: 0 auto;
  padding: 24px 0 64px;
}

.survey-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 9px;
}
.survey-brand { min-width: 0; }
.survey-brand img {
  display: block;
  width: 178px;
  max-width: 100%;
  height: auto;
}
.survey-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--survey-line);
  border-radius: 10px;
  background: rgba(255,255,255,.88);
  color: var(--survey-ink);
  box-shadow: 0 4px 14px rgba(33,42,38,.04);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.survey-back:hover {
  color: var(--survey-accent-dark);
  border-color: rgba(141,95,81,.38);
  background: #fff;
}

.survey-card {
  overflow: hidden;
  border: 1px solid rgba(93, 105, 99, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--survey-shadow);
}

/* Başlık daha kompakt; ana odak form alanlarıdır. */
.survey-hero {
  position: relative;
  padding: 30px 38px 25px;
  border-bottom: 1px solid var(--survey-line);
  background: #fff;
}
.survey-hero::before {
  content: "";
  position: absolute;
  top: 29px;
  bottom: 25px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--survey-accent), var(--survey-accent-dark));
}
.survey-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--survey-accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.survey-kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
.survey-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #292d2b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4.2vw, 43px);
  line-height: 1.08;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.survey-hero p {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--survey-muted);
  font-size: 14px;
  line-height: 1.7;
}
.survey-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  margin-top: 17px;
  padding: 12px 14px;
  border: 1px solid #e6dfda;
  border-radius: 11px;
  background: #faf7f5;
  color: #615650;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.survey-privacy-note strong { color: #443935; }

.survey-progress-wrap {
  position: relative;
  padding: 10px 14px 11px;
  border: 1px solid rgba(93, 105, 99, .15);
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 7px 20px rgba(37,42,40,.06);
}
.survey-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
  color: var(--survey-muted);
  font-size: 12px;
}
.survey-progress-meta > * { min-width: 0; }
.survey-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #eaeeec;
}
.survey-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--survey-accent-dark), #b98977);
  transition: width .25s ease;
}

.survey-form {
  display: grid;
  gap: 15px;
  min-width: 0;
  padding: 22px 38px 38px;
  background: #f7f8f7;
}

/* Her bölüm bağımsız form kartıdır. */
.survey-section {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--survey-line);
  border-radius: 16px;
  background: var(--survey-surface);
  box-shadow: 0 5px 16px rgba(34,43,39,.035);
}
.survey-section:last-of-type { border-bottom: 1px solid var(--survey-line); }
.survey-section-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0ee;
}
.survey-section-title > div { min-width: 0; }
.survey-section-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid #dfd3cd;
  border-radius: 9px;
  background: #f8f1ed;
  color: var(--survey-accent-dark);
  font-size: 12px;
  font-weight: 800;
}
.survey-section-title h2 {
  margin: 0;
  color: #303533;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.survey-section-title p {
  margin: 4px 0 0;
  color: var(--survey-muted);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.survey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.survey-grid > * { min-width: 0; }
.survey-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.survey-field + .survey-field { margin-top: 20px; }
.survey-grid .survey-field + .survey-field { margin-top: 0; }
.survey-label {
  display: block;
  max-width: 100%;
  color: #3b423f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.survey-required { color: var(--survey-danger); }
.survey-help {
  max-width: 100%;
  margin: -1px 0 0;
  color: #7c8581;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.survey-control,
.survey-textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  border: 1px solid #d5dbd8;
  border-radius: 10px;
  background: #fcfdfc;
  color: var(--survey-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.survey-control {
  min-height: 50px;
  padding: 11px 13px;
}
.survey-textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.survey-control:hover,
.survey-textarea:hover {
  border-color: #bdc6c1;
  background: #fff;
}
.survey-control:focus,
.survey-textarea:focus {
  border-color: var(--survey-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(141,95,81,.10);
}
.survey-control::placeholder,
.survey-textarea::placeholder {
  color: #98a09c;
  opacity: 1;
}
.survey-input-unit {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.survey-input-unit .survey-control { padding-right: 74px; }
.survey-input-unit span {
  position: absolute;
  top: 50%;
  right: 12px;
  max-width: 62px;
  color: #7c8581;
  font-size: 11px;
  line-height: 1.15;
  text-align: right;
  transform: translateY(-50%);
  pointer-events: none;
}

.survey-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 410px);
  max-width: 100%;
}
.survey-choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.survey-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.survey-choice span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #d5dbd8;
  border-radius: 10px;
  background: #fcfdfc;
  color: #505854;
  font-size: 14px;
  font-weight: 750;
  transition: .18s ease;
}
.survey-choice span::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-right: 9px;
  border: 1.5px solid #aeb8b3;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff;
}
.survey-choice:hover span {
  border-color: #bfc8c3;
  background: #fff;
}
.survey-choice input:checked + span {
  border-color: var(--survey-accent);
  background: #f8f0ec;
  color: var(--survey-accent-dark);
  box-shadow: 0 0 0 3px rgba(141,95,81,.07);
}
.survey-choice input:checked + span::before {
  border-color: var(--survey-accent);
  background: var(--survey-accent);
}
.survey-choice input:focus-visible + span {
  outline: 3px solid rgba(141,95,81,.16);
  outline-offset: 2px;
}

.survey-conditional {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: max-height .25s ease, margin .25s ease, opacity .2s ease, transform .2s ease;
}
.survey-conditional.is-open {
  max-height: 340px;
  margin-top: 14px;
  opacity: 1;
  transform: none;
}
.survey-conditional input:disabled,
.survey-conditional textarea:disabled { background: #f4f6f5; }

.survey-alert {
  margin: 0;
  padding: 15px 17px;
  border: 1px solid #e7b7b2;
  border-radius: 12px;
  background: #fff2f1;
  color: #7e3933;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.survey-alert strong { display: block; margin-bottom: 4px; }
.survey-alert ul { margin: 7px 0 0; padding-left: 18px; }

.survey-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  margin: 2px 0 0;
  padding: 15px 16px;
  border: 1px solid var(--survey-line);
  border-radius: 12px;
  background: #fff;
  color: #5d6662;
  font-size: 12px;
  line-height: 1.6;
}
.survey-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  accent-color: var(--survey-accent);
}
.survey-consent span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.survey-consent a {
  color: var(--survey-accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.survey-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--survey-success);
  box-shadow: 0 12px 24px rgba(24,138,85,.20);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.survey-submit:hover {
  background: #137849;
  transform: translateY(-1px);
  box-shadow: 0 15px 28px rgba(24,138,85,.25);
}
.survey-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.survey-submit svg { width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; }
.survey-submit-note {
  margin: -4px 0 0;
  color: #727b77;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}
.survey-footer {
  padding: 20px 0 0;
  color: #777f7b;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}
.survey-footer a { color: var(--survey-accent-dark); }

@media (max-width: 720px) {
  .health-survey-float {
    left: auto;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(94px + env(safe-area-inset-bottom));
    z-index: 1120;
    max-width: calc(100vw - 28px);
    min-height: 52px;
    padding: 7px 13px 7px 8px;
  }
  .health-survey-float-icon {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
    font-size: 19px;
  }
  .health-survey-float-copy strong { font-size: 13px; }
  .health-survey-float-copy small { font-size: 10px; }

  .survey-shell {
    width: min(calc(100% - 18px), 940px);
    padding: 12px 0 32px;
  }
  .survey-topbar {
    gap: 10px;
    margin-bottom: 11px;
  }
  .survey-brand img { width: 148px; }
  .survey-back {
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 12px;
  }
  .survey-card {
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(34,43,39,.09);
  }
  .survey-hero {
    padding: 24px 18px 20px;
  }
  .survey-hero::before {
    top: 23px;
    bottom: 20px;
    width: 3px;
  }
  .survey-kicker { margin-bottom: 8px; }
  .survey-hero h1 {
    font-size: clamp(28px, 9vw, 37px);
    line-height: 1.1;
  }
  .survey-hero p {
    margin-top: 11px;
    font-size: 13px;
    line-height: 1.65;
  }
  .survey-privacy-note {
    margin-top: 14px;
    padding: 11px 12px;
    font-size: 11px;
  }
  .survey-progress-wrap { padding: 8px 10px 9px; border-radius: 11px; }
  .survey-progress-meta { font-size: 11px; }
  .survey-form {
    gap: 11px;
    padding: 13px 11px 20px;
  }
  .survey-section {
    padding: 18px 15px;
    border-radius: 13px;
  }
  .survey-section-title {
    gap: 10px;
    margin-bottom: 17px;
    padding-bottom: 14px;
  }
  .survey-section-number {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .survey-section-title h2 { font-size: 17px; }
  .survey-section-title p { font-size: 11px; }
  .survey-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .survey-label { font-size: 13px; }
  .survey-control,
  .survey-textarea {
    font-size: 16px; /* iOS odaklanma yakınlaştırmasını engeller. */
  }
  .survey-control {
    min-height: 50px;
    padding: 11px 12px;
  }
  .survey-textarea {
    min-height: 104px;
    padding: 12px;
  }
  .survey-input-unit .survey-control { padding-right: 72px; }
  .survey-choice-row {
    width: 100%;
    max-width: none;
  }
  .survey-choice span {
    min-height: 49px;
    padding: 10px 12px;
  }
  .survey-consent { padding: 14px; }
  .survey-submit { min-height: 55px; }
}

@media (max-width: 390px) {
  .survey-topbar { align-items: center; }
  .survey-brand img { width: 132px; }
  .survey-back span { display: none; }
  .survey-choice-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .health-survey-float-copy small { display: none; }
}

@media (max-width: 330px) {
  .survey-shell { width: min(calc(100% - 12px), 940px); }
  .survey-form { padding-right: 7px; padding-left: 7px; }
  .survey-section { padding-right: 12px; padding-left: 12px; }
  .survey-choice span { padding-right: 9px; padding-left: 9px; font-size: 13px; }
  .health-survey-float-copy strong { max-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  .health-survey-float,
  .health-survey-float::before,
  .health-survey-float::after { animation: none !important; }
  .survey-progress > span,
  .survey-conditional,
  .survey-submit { transition: none !important; }
}

/* Başlangıç görseli, başlıkla rekabet etmeden bilgi notunun yanında durur. */
.survey-hero-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 218px;
  align-items: center;
  gap: 24px;
  min-width: 0;
  margin-top: 18px;
}
.survey-hero-support .survey-privacy-note {
  max-width: none;
  margin-top: 0;
}
.survey-intro-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  isolation: isolate;
}
.survey-intro-visual::before {
  content: "";
  position: absolute;
  inset: 10px -7px -8px 13px;
  z-index: -1;
  border-radius: 20px;
  background: rgba(141, 95, 81, .09);
  transform: rotate(2.2deg);
}
.survey-intro-visual-frame {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(141, 95, 81, .15);
  border-radius: 18px;
  background: #eef6f7;
  box-shadow: 0 11px 24px rgba(47, 64, 59, .09);
  transform: rotate(-.7deg);
}
.survey-intro-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 633 / 484;
  object-fit: cover;
}

/* Gönderim alanının altında kontrollü, görsel bir kapanış bölümü. */
.survey-closing-visual {
  position: relative;
  min-width: 0;
  margin: 8px 0 0;
  overflow: hidden;
  border: 1px solid rgba(75, 87, 82, .15);
  border-radius: 18px;
  background: #263b43;
  box-shadow: 0 15px 34px rgba(32, 45, 41, .12);
}
.survey-closing-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 37, 43, .82) 0%, rgba(23, 37, 43, .44) 44%, rgba(23, 37, 43, .05) 78%);
  pointer-events: none;
}
.survey-closing-visual img {
  display: block;
  width: 100%;
  height: clamp(190px, 27vw, 255px);
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.015);
}
.survey-closing-visual figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 5px;
  width: min(410px, calc(100% - 48px));
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}
.survey-closing-visual figcaption span {
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.survey-closing-visual figcaption strong {
  max-width: 390px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.15;
  font-weight: 500;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .survey-hero-support {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
  }
  .survey-intro-visual {
    width: min(62vw, 210px);
    margin: 0 auto;
  }
  .survey-intro-visual::before {
    inset: 9px -6px -7px 11px;
    border-radius: 17px;
  }
  .survey-intro-visual-frame { border-radius: 16px; }
  .survey-closing-visual {
    margin-top: 6px;
    border-radius: 15px;
  }
  .survey-closing-visual img {
    height: clamp(210px, 64vw, 270px);
    object-position: 58% 50%;
  }
  .survey-closing-visual::after {
    background: linear-gradient(0deg, rgba(23, 37, 43, .86) 0%, rgba(23, 37, 43, .24) 56%, rgba(23, 37, 43, .02) 100%);
  }
  .survey-closing-visual figcaption {
    right: 17px;
    bottom: 17px;
    left: 17px;
    width: auto;
  }
  .survey-closing-visual figcaption strong {
    max-width: 320px;
    font-size: clamp(20px, 6.4vw, 25px);
  }
}

@media (max-width: 390px) {
  .survey-intro-visual { width: min(68vw, 188px); }
  .survey-closing-visual img { height: 225px; }
  .survey-closing-visual figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}

/* Logo, anasayfa bağlantısı ve form ilerlemesi kaydırmada görünür kalır. */
.survey-sticky-panel {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 0 18px;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(244, 246, 245, .99) 0%, rgba(244, 246, 245, .95) 78%, rgba(244, 246, 245, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.survey-sticky-panel .survey-topbar {
  margin-bottom: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(93, 105, 99, .14);
  border-radius: 15px 15px 0 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(34, 43, 39, .08);
}
.survey-sticky-panel .survey-progress-wrap {
  position: static;
  padding: 10px 13px 12px;
  border: 1px solid rgba(93, 105, 99, .14);
  border-top: 0;
  border-radius: 0 0 15px 15px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(34, 43, 39, .08);
}
.survey-sticky-panel .survey-progress-meta {
  margin-bottom: 6px;
}

/* Üst illüstrasyonun her ekranda oranını koruyan güvenli yerleşim. */
.survey-intro-visual-frame {
  aspect-ratio: 633 / 484;
}
.survey-intro-visual img {
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 720px) {
  .survey-shell {
    padding-top: 0;
  }
  .survey-sticky-panel {
    margin-right: -1px;
    margin-bottom: 11px;
    margin-left: -1px;
    padding-top: max(7px, env(safe-area-inset-top));
  }
  .survey-sticky-panel .survey-topbar {
    min-height: 52px;
    margin-bottom: 0;
    padding: 7px 10px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 5px 16px rgba(34, 43, 39, .07);
  }
  .survey-sticky-panel .survey-brand img {
    width: 128px;
  }
  .survey-sticky-panel .survey-back {
    min-height: 36px;
    padding: 6px 9px;
  }
  .survey-sticky-panel .survey-progress-wrap {
    padding: 8px 10px 10px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 16px rgba(34, 43, 39, .07);
  }
  .survey-sticky-panel .survey-progress-meta {
    gap: 8px;
    font-size: 10px;
    line-height: 1.25;
  }
  .survey-sticky-panel .survey-progress-meta strong {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .survey-intro-visual {
    width: min(100%, 260px);
    margin: 0 auto 17px;
  }
  .survey-intro-visual::before {
    inset: 9px -5px -6px 10px;
  }
  .survey-intro-visual-frame {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 390px) {
  .survey-sticky-panel .survey-brand img {
    width: 112px;
  }
  .survey-sticky-panel .survey-back {
    font-size: 11px;
  }
  .survey-intro-visual {
    width: min(100%, 226px);
  }
}

/* Masaustunde yukari cik butonuyla cakismamasi icin form cagrisini yukarida tutar. */
@media (min-width: 721px) {
  .health-survey-float {
    bottom: 86px;
  }
}

/* Nokta atisi form dogrulama geri bildirimi. */
.survey-client-alert[hidden] {
  display: none !important;
}
.survey-client-alert {
  position: sticky;
  top: 132px;
  z-index: 90;
  box-shadow: 0 14px 30px rgba(126, 57, 51, .13);
}
.survey-client-alert p {
  margin: 3px 0 0;
  color: inherit;
  font-size: 12px;
  line-height: 1.55;
}
.survey-field.is-invalid,
.survey-consent.is-invalid {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 0 0 3px rgba(164, 73, 66, .10);
}
.survey-section > .survey-field.is-invalid,
.survey-section > div.survey-field.is-invalid {
  padding: 13px;
  border: 1px solid rgba(164, 73, 66, .38);
  background: #fff9f8;
}
.survey-grid .survey-field.is-invalid {
  padding: 10px;
  border: 1px solid rgba(164, 73, 66, .38);
  background: #fff9f8;
}
.survey-consent.is-invalid {
  border-color: rgba(164, 73, 66, .58);
  background: #fff5f4;
}
.survey-control[aria-invalid="true"],
.survey-textarea[aria-invalid="true"] {
  border-color: var(--survey-danger) !important;
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(164, 73, 66, .11) !important;
}
.survey-choice-row.is-invalid .survey-choice span {
  border-color: rgba(164, 73, 66, .58);
  background: #fffafa;
}
.survey-inline-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  margin-top: 8px;
  color: var(--survey-danger);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.survey-inline-error::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--survey-danger);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.survey-focus-pulse {
  animation: survey-invalid-pulse .85s ease 2;
}
@keyframes survey-invalid-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(164, 73, 66, .10); }
  50% { box-shadow: 0 0 0 7px rgba(164, 73, 66, .18); }
}
@media (max-width: 720px) {
  .survey-client-alert {
    top: 107px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .survey-focus-pulse { animation: none !important; }
}


/* Kompakt form girişi: ilk alanlar sayfa açılışında görünür. */
.survey-hero.survey-hero-compact {
  padding: 14px 20px;
}
.survey-hero.survey-hero-compact::before {
  top: 14px;
  bottom: 14px;
}
.survey-hero-compact .survey-hero-support {
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 14px;
  margin-top: 0;
}
.survey-hero-compact .survey-privacy-note {
  min-height: 62px;
  padding: 9px 11px;
  font-size: 11px;
  line-height: 1.4;
}
.survey-hero-compact .survey-intro-visual {
  width: 104px;
  margin: 0;
  justify-self: end;
}
.survey-hero-compact .survey-intro-visual::before {
  inset: 5px -4px -4px 7px;
  border-radius: 13px;
}
.survey-hero-compact .survey-intro-visual-frame {
  border-radius: 12px;
  transform: rotate(-.4deg);
}

@media (max-width: 720px) {
  .survey-hero.survey-hero-compact {
    padding: 9px 10px;
  }
  .survey-hero.survey-hero-compact::before {
    top: 9px;
    bottom: 9px;
  }
  .survey-hero-compact .survey-hero-support {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
    align-items: center;
    margin-top: 0;
  }
  .survey-hero-compact .survey-privacy-note {
    min-height: 0;
    margin: 0;
    padding: 7px 8px;
    gap: 6px;
    border-radius: 9px;
    font-size: 9.5px;
    line-height: 1.3;
  }
  .survey-hero-compact .survey-privacy-note > span:first-child {
    font-size: 12px;
  }
  .survey-hero-compact .survey-intro-visual {
    width: 76px;
    margin: 0;
    justify-self: end;
  }
  .survey-hero-compact .survey-intro-visual::before {
    inset: 4px -3px -3px 5px;
    border-radius: 10px;
  }
  .survey-hero-compact .survey-intro-visual-frame {
    border-radius: 9px;
  }
  .survey-form {
    padding-top: 10px;
  }
}

@media (max-width: 390px) {
  .survey-hero-compact .survey-hero-support {
    grid-template-columns: minmax(0, 1fr) 66px;
  }
  .survey-hero-compact .survey-intro-visual {
    width: 66px;
  }
  .survey-hero-compact .survey-privacy-note {
    font-size: 9px;
  }
}

/* Son CTA ve hizmet vurgusu güncellemesi. */
.health-survey-float {
  border-color: rgba(255, 255, 255, .58);
  background:
    linear-gradient(135deg, #8f5264 0%, #b86f7d 58%, #c88791 100%);
  box-shadow: 0 15px 36px rgba(111, 55, 73, .34);
}
.health-survey-float:hover {
  background: linear-gradient(135deg, #7f4557 0%, #aa6171 58%, #bd7884 100%);
  box-shadow: 0 18px 42px rgba(111, 55, 73, .43);
}
.health-survey-float::before,
.health-survey-float::after {
  border-color: rgba(184, 111, 125, .46);
}
.health-survey-float-icon {
  background: rgba(255, 247, 244, .19);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.health-survey-float-copy strong {
  font-size: 14px;
  letter-spacing: 0;
}
.health-survey-float-copy small {
  color: rgba(255, 250, 248, .88);
}
@keyframes survey-float-attention {
  0%, 100% { box-shadow: 0 15px 36px rgba(111, 55, 73, .32); }
  50% { box-shadow: 0 18px 44px rgba(111, 55, 73, .50); }
}

.survey-service-note {
  border-color: rgba(184, 111, 125, .20);
  background: linear-gradient(135deg, #fff9f8 0%, #fbf2f1 100%);
  color: #5e4a4f;
}
.survey-service-note strong {
  display: block;
  margin-bottom: 2px;
  color: #874d5d;
  font-size: 12px;
  letter-spacing: .01em;
}
.survey-service-note-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: #fff;
  color: #a45f70;
  box-shadow: 0 5px 14px rgba(111, 55, 73, .12);
  font-size: 14px !important;
}

@media (max-width: 720px) {
  .health-survey-float-copy strong { font-size: 12.5px; }
  .health-survey-float-copy small { font-size: 9.5px; }
  .survey-hero-compact .survey-service-note strong {
    margin-bottom: 1px;
    font-size: 10px;
  }
  .survey-hero-compact .survey-service-note-icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    font-size: 11px !important;
  }
}

@media (max-width: 390px) {
  .health-survey-float-copy small { display: block; }
  .health-survey-float-copy strong { max-width: none; font-size: 11.5px; }
  .health-survey-float { padding-right: 10px; gap: 8px; }
}
