/* INTENSIVE161 survey standalone owner. Do not merge into app.css. */
.survey-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(74, 210, 231, 0.18), transparent 32rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: #12204a;
}

.survey-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.survey-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  color: #1c347f;
  font-weight: 700;
  text-decoration: none;
}

.survey-hero {
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(84, 196, 223, 0.32);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 70px rgba(26, 45, 96, 0.12);
}

.survey-hero__kicker {
  margin: 0 0 10px;
  color: #1d6dd8;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.survey-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #15236f;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.survey-hero__lead {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  color: #33405e;
}

.survey-form {
  display: grid;
  gap: 18px;
}

.survey-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(84, 196, 223, 0.34);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 42px rgba(18, 32, 74, 0.08);
}

.survey-card__title {
  margin: 0 0 14px;
  color: #13216a;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.survey-card__hint {
  margin: -4px 0 16px;
  color: #56617a;
  font-size: 16px;
  line-height: 1.45;
}

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

.survey-field {
  display: grid;
  gap: 8px;
  color: #14215f;
  font-weight: 800;
}

.survey-field--wide {
  grid-column: 1 / -1;
}

.survey-input,
.survey-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(28, 52, 127, 0.18);
  border-radius: 18px;
  background: #fff;
  color: #14204c;
  font: inherit;
  font-weight: 500;
  padding: 15px 16px;
  outline: none;
}

.survey-textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.5;
}

.survey-input:focus,
.survey-textarea:focus {
  border-color: #2f7dff;
  box-shadow: 0 0 0 4px rgba(47, 125, 255, 0.13);
}

.survey-options {
  display: grid;
  gap: 10px;
}

.survey-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(28, 52, 127, 0.14);
  border-radius: 18px;
  background: #f8fbff;
  color: #1b275c;
  font-weight: 700;
  line-height: 1.35;
}

.survey-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.survey-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.survey-submit-note {
  margin: 0;
  color: #59647c;
  line-height: 1.45;
}

.survey-error {
  border-color: rgba(255, 96, 61, 0.34);
  background: #fff7f4;
}

.survey-success {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(18, 32, 74, 0.08);
}

.survey-success strong {
  color: #13216a;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
}

@media (max-width: 760px) {
  .survey-shell {
    width: min(100% - 22px, 1120px);
    padding-top: 18px;
  }

  .survey-contact-grid {
    grid-template-columns: 1fr;
  }

  .survey-hero,
  .survey-card {
    border-radius: 22px;
  }

  .survey-option {
    border-radius: 16px;
  }
}

/* INTENSIVE162 survey scoped buttons + favicon polish. Keep local to /survey/. */
.survey-page .button,
.survey-page button.button,
.survey-page a.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.survey-page .button-primary,
.survey-page button.button-primary,
.survey-page a.button-primary {
  background: linear-gradient(135deg, #245cff 0%, #1ec8d8 100%);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(36, 92, 255, 0.24);
}

.survey-page .button:hover,
.survey-page button.button:hover,
.survey-page a.button:hover,
.survey-page .button:focus-visible,
.survey-page button.button:focus-visible,
.survey-page a.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(36, 92, 255, 0.30);
  outline: none;
}

.survey-page .survey-back {
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(18, 32, 74, 0.08);
}

.survey-page .survey-back:hover,
.survey-page .survey-back:focus-visible {
  background: #ffffff;
  outline: 2px solid rgba(47, 125, 255, 0.22);
  outline-offset: 2px;
}

.survey-page .survey-submit-row {
  margin-top: 4px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 12px 34px rgba(18, 32, 74, 0.07);
}

.survey-page .survey-submit-row .button {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .survey-page .button,
  .survey-page button.button,
  .survey-page a.button {
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
  }

  .survey-page .survey-back {
    width: auto;
  }

  .survey-page .survey-submit-row {
    align-items: stretch;
    padding: 14px;
  }

  .survey-page .survey-submit-note {
    width: 100%;
  }
}

/* INTENSIVE162 visual repair after Masha review: visible survey buttons. */
.survey-page .survey-back {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  border: 2px solid rgba(20, 32, 111, 0.14);
  border-radius: 999px;
  padding: 12px 20px;
  background: #ffffff;
  color: #14206f;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(18, 32, 74, 0.13);
}

.survey-page .survey-back:hover,
.survey-page .survey-back:focus-visible {
  border-color: rgba(36, 92, 255, 0.34);
  background: #eff7ff;
  color: #0f1b68;
  transform: translateY(-1px);
  outline: none;
}

.survey-page .survey-submit-row {
  display: grid;
  grid-template-columns: minmax(220px, max-content) minmax(220px, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding: 20px;
  border: 1px solid rgba(84, 196, 223, 0.34);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(18, 32, 74, 0.10);
}

.survey-page .survey-submit-row .button,
.survey-page .survey-success .button {
  min-height: 58px;
  border-radius: 999px;
  padding: 17px 28px;
  background: #14206f;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 18px 38px rgba(20, 32, 111, 0.24);
}

.survey-page .survey-submit-row .button:hover,
.survey-page .survey-submit-row .button:focus-visible,
.survey-page .survey-success .button:hover,
.survey-page .survey-success .button:focus-visible {
  background: #245cff;
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 22px 46px rgba(36, 92, 255, 0.28);
}

@media (max-width: 760px) {
  .survey-page .survey-back {
    min-height: 46px;
    padding: 11px 16px;
    font-size: 16px;
  }

  .survey-page .survey-submit-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .survey-page .survey-submit-row .button,
  .survey-page .survey-success .button {
    width: 100%;
    min-height: 58px;
  }
}

/* INTENSIVE162 survey legal consent block reuses registration legal owner. */
.survey-page .survey-card--legal {
  border-color: rgba(20, 32, 111, 0.18);
}

.survey-page .survey-option--legal a,
.survey-page .survey-legal-note a {
  color: #245cff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.survey-page .survey-legal-note {
  margin: 14px 0 0;
  color: #56617a;
  font-size: 15px;
  line-height: 1.45;
}

/* INTENSIVE164 survey thank-you gifts */
.survey-page .survey-success {
  display: grid;
  gap: 16px;
}

.survey-page .survey-gifts {
  margin-top: 16px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(225, 244, 255, 0.92));
  border: 1px solid rgba(31, 114, 171, 0.18);
  box-shadow: 0 18px 48px rgba(26, 70, 120, 0.12);
}

.survey-page .survey-gifts__kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #28749a;
}

.survey-page .survey-gifts__title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.08;
  color: #18395a;
}

.survey-page .survey-gifts__lead {
  margin: 10px 0 0;
  max-width: 760px;
  color: #476579;
  font-size: 1rem;
  line-height: 1.55;
}

.survey-page .survey-gifts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.survey-page .survey-gift-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 114, 171, 0.14);
}

.survey-page .survey-gift-card__badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(44, 156, 205, 0.12);
  color: #28749a;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
}

.survey-page .survey-gift-card h3 {
  margin: 0;
  color: #18395a;
  font-size: 1.08rem;
  line-height: 1.2;
}

.survey-page .survey-gift-card p {
  margin: 0;
  color: #526b7a;
  line-height: 1.5;
}

.survey-page .survey-gift-card__button {
  margin-top: auto;
  width: fit-content;
}

@media (max-width: 720px) {
  .survey-page .survey-gifts {
    padding: 18px;
    border-radius: 24px;
  }

  .survey-page .survey-gifts__grid {
    grid-template-columns: 1fr;
  }

  .survey-page .survey-gift-card__button {
    width: 100%;
  }
}
