@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/NotoSansSC-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/NotoSansSC-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/NotoSansSC-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #071611;
  --bg-deep: #04110d;
  --panel: #09231c;
  --panel-raised: #0c2b23;
  --field: #061b15;
  --field-focus: #08251d;
  --text: #f2f7f2;
  --muted: #93a79d;
  --soft: #6f8a7f;
  --line: rgba(189, 223, 208, 0.15);
  --line-strong: rgba(189, 223, 208, 0.25);
  --green: #2add91;
  --green-bright: #70f5b8;
  --lime: #d7ff64;
  --danger: #ff9b83;
  --display: "Noto Sans SC", sans-serif;
  --sans: "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--green);
  color: #04110d;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 5px;
  background: var(--green);
  color: var(--bg-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.quote-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(42, 221, 145, 0.08), transparent 30%),
    radial-gradient(circle at 16% 80%, rgba(51, 137, 112, 0.08), transparent 24%),
    linear-gradient(145deg, #061510, #04100c 72%);
}

.quote-page::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(208, 235, 223, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 235, 223, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: radial-gradient(circle at 60% 38%, #000, transparent 78%);
  pointer-events: none;
}

.quote-header {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(94vw, 1440px);
  height: 86px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.quote-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.quote-brand img {
  width: 34px;
  height: 34px;
}

.quote-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.quote-brand strong {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.quote-brand small {
  margin-top: 3px;
  color: var(--soft);
  font-size: 0.48rem;
  letter-spacing: 0.15em;
}

.quote-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.quote-nav a {
  color: #9aaca2;
  font-size: 0.72rem;
  transition: color 0.2s ease;
}

.quote-nav a:hover {
  color: var(--green-bright);
}

.quote-back {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 12px;
  padding: 0 9px 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: #b9c7c0;
  font-size: 0.69rem;
}

.quote-back svg {
  width: 22px;
  height: 22px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease);
}

.quote-back:hover svg {
  transform: rotate(-45deg);
}

.quote-main {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(94vw, 1440px);
  grid-template-columns: minmax(380px, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(44px, 6vw, 104px);
  align-items: start;
  margin-inline: auto;
  padding: clamp(72px, 9vw, 150px) 0 72px;
}

.quote-intro {
  padding-top: 8px;
}

.quote-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.quote-eyebrow i {
  position: relative;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(42, 221, 145, 0.65);
  border-radius: 50%;
}

.quote-eyebrow i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.quote-intro h1 {
  margin: clamp(30px, 4vw, 52px) 0 28px;
  font-family: var(--display);
  font-size: clamp(3.7rem, 5.8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}

.quote-intro h1 span {
  color: var(--green-bright);
  white-space: nowrap;
}

.quote-lead {
  max-width: 540px;
  margin: 0;
  color: #9fb2a8;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.9;
}

.quote-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 33px 0 50px;
  padding: 0;
  color: #bdcbc4;
  font-size: 0.82rem;
  list-style: none;
}

.quote-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.quote-benefits span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(42, 221, 145, 0.45);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.52rem;
}

.quote-contact {
  max-width: 560px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(15, 52, 42, 0.88), rgba(7, 29, 22, 0.9));
}

.quote-contact__head {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  border-bottom: 1px solid var(--line);
}

.quote-contact__head > span {
  color: #b7c7bf;
  font-size: 0.7rem;
  font-weight: 500;
}

.quote-contact__head small {
  color: var(--soft);
  font-size: 0.56rem;
}

.quote-contact__body {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 20px;
  align-items: center;
  padding: 23px 21px;
}

.quote-contact__details {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.quote-contact__details > a,
.quote-contact__service {
  display: flex;
  min-height: 37px;
  align-items: center;
  gap: 11px;
  color: #b5c4bd;
  font-size: 0.72rem;
}

.quote-contact__details > a:hover {
  color: var(--green-bright);
}

.quote-contact__details svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--green);
}

.wechat-copy {
  display: grid;
  min-height: 37px;
  grid-template-columns: 16px auto 1fr;
  gap: 9px;
  align-items: center;
  padding: 0;
  background: transparent;
  color: #b5c4bd;
  text-align: left;
  cursor: pointer;
}

.wechat-copy svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.wechat-copy span {
  font-size: 0.72rem;
  white-space: nowrap;
}

.wechat-copy i {
  overflow: hidden;
  color: var(--soft);
  font-size: 0.56rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wechat-copy.is-copied i {
  color: var(--green-bright);
}

.quote-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.quote-qr img {
  width: 132px;
  height: 132px;
  border: 5px solid #f4f4ed;
  border-radius: 8px;
}

.quote-qr > span {
  margin-top: 9px;
  font-size: 0.66rem;
  font-weight: 500;
}

.quote-qr small {
  margin-top: 2px;
  color: var(--soft);
  font-size: 0.5rem;
}

.quote-card {
  position: relative;
  min-height: 720px;
  padding: clamp(27px, 3.4vw, 46px);
  border: 1px solid rgba(178, 222, 205, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(42, 221, 145, 0.06), transparent 25%),
    rgba(7, 32, 25, 0.94);
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.03);
}

.quote-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.quote-card__head > div > span {
  color: var(--green);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.quote-card__head h2 {
  margin: 7px 0 5px;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

.quote-card__head p {
  margin: 0;
  color: var(--soft);
  font-size: 0.67rem;
}

.quote-card__head > small {
  color: var(--soft);
  font-size: 0.58rem;
}

.quote-card__head > small i,
.quote-field > span i {
  color: var(--green);
  font-style: normal;
}

#quote-form {
  padding-top: 24px;
}

.honeypot {
  position: fixed;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.quote-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.quote-field--full {
  position: relative;
  grid-column: 1 / -1;
}

.quote-field > span:first-child {
  color: #a9bab1;
  font-size: 0.65rem;
  font-weight: 500;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  outline: 0;
  border: 1px solid rgba(168, 210, 193, 0.22);
  border-radius: 9px;
  background: var(--field);
  color: var(--text);
  font-size: 0.76rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.quote-field input,
.quote-field select {
  height: 48px;
  padding: 0 14px;
}

.quote-field textarea {
  min-height: 166px;
  padding: 14px 14px 30px;
  line-height: 1.75;
  resize: vertical;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: #667d72;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  border-color: rgba(42, 221, 145, 0.75);
  background: var(--field-focus);
  box-shadow: 0 0 0 3px rgba(42, 221, 145, 0.08);
}

.quote-field input[aria-invalid="true"],
.quote-field select[aria-invalid="true"],
.quote-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  transform: translateY(-70%) rotate(45deg);
  border-right: 1px solid #9eb2a7;
  border-bottom: 1px solid #9eb2a7;
  content: "";
  pointer-events: none;
}

.quote-field select {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.quote-field select:invalid {
  color: #667d72;
}

.quote-field option {
  background: #09231c;
  color: var(--text);
}

.char-count {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: #60776c;
  font-size: 0.55rem;
}

.char-count b {
  font-weight: 400;
}

.quote-optional {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.quote-optional > summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 13px;
  cursor: pointer;
  list-style: none;
}

.quote-optional > summary::-webkit-details-marker {
  display: none;
}

.quote-optional > summary span {
  color: var(--soft);
  font-size: 0.58rem;
}

.quote-optional > summary small {
  color: #6c7c72;
  font-size: 0.49rem;
}

.quote-optional[open] > summary {
  border-bottom: 1px solid var(--line);
}

.quote-optional .quote-fields {
  padding: 15px 13px;
}

.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 21px 0 18px;
  color: #9dafA6;
  font-size: 0.66rem;
  line-height: 1.7;
  cursor: pointer;
}

.quote-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-box {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 1px;
  border: 1px solid rgba(188, 219, 205, 0.3);
  border-radius: 4px;
  background: var(--field);
}

.consent-box svg {
  width: 13px;
  height: 13px;
  transform: scale(0);
  color: #062119;
  stroke-width: 2.4;
  transition: transform 0.2s var(--ease);
}

.quote-consent input:checked + .consent-box {
  border-color: var(--green);
  background: var(--green);
}

.quote-consent input:checked + .consent-box svg {
  transform: scale(1);
}

.quote-consent input:focus-visible + .consent-box {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.quote-consent.is-invalid .consent-box {
  border-color: var(--danger);
}

.quote-message {
  display: none;
  margin: 0 0 13px;
  padding: 10px 12px;
  border-left: 2px solid var(--danger);
  background: rgba(255, 112, 87, 0.08);
  color: #ffb09e;
  font-size: 0.66rem;
}

.quote-message.is-visible {
  display: block;
}

.quote-submit {
  display: flex;
  width: 100%;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 100px;
  background: var(--green);
  color: #04140e;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.quote-submit:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
}

.quote-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.quote-submit svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.quote-submit:hover svg {
  transform: translateX(4px);
}

.quote-submit.is-loading svg {
  border-radius: 50%;
  animation: submit-spin 0.8s linear infinite;
}

@keyframes submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.quote-form-note {
  margin: 12px 0 0;
  color: #647b70;
  font-size: 0.56rem;
  text-align: center;
}

.quote-success {
  min-height: 632px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 42px 20px;
  text-align: center;
}

.quote-success:not([hidden]) {
  display: flex;
}

.success-orbit {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(42, 221, 145, 0.4);
  border-radius: 50%;
}

.success-orbit::before,
.success-orbit::after {
  position: absolute;
  border: 1px solid rgba(42, 221, 145, 0.12);
  border-radius: 50%;
  content: "";
}

.success-orbit::before {
  inset: -12px;
}

.success-orbit::after {
  inset: -28px;
  border-style: dashed;
}

.success-orbit svg {
  width: 30px;
  height: 30px;
  color: var(--green);
  stroke-width: 2;
}

.success-kicker {
  margin-top: 48px;
  color: var(--green);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.quote-success h2 {
  margin: 11px 0 10px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: 0;
}

.quote-success > p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.request-id {
  display: flex;
  min-width: 250px;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--field);
}

.request-id span {
  color: var(--soft);
  font-size: 0.58rem;
}

.request-id strong {
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.success-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.success-actions button {
  height: 39px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: transparent;
  color: #aebfb6;
  cursor: pointer;
  font-size: 0.62rem;
}

.success-actions button:first-child {
  border-color: transparent;
  background: var(--green);
  color: var(--bg-deep);
  font-weight: 600;
}

.quote-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(94vw, 1440px);
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-top: 1px solid var(--line);
  color: #60776c;
  font-size: 0.55rem;
}

.quote-footer b {
  font-weight: 400;
}

.quote-footer a {
  color: #9bb1a6;
}

.quote-dialog {
  width: min(92vw, 420px);
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: #09231c;
  color: var(--text);
  text-align: center;
}

.quote-dialog::backdrop {
  background: rgba(0, 8, 5, 0.82);
  backdrop-filter: blur(8px);
}

.quote-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.quote-dialog > span {
  color: var(--green);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
}

.quote-dialog h2 {
  margin: 14px 0 8px;
  font-size: 1.6rem;
  font-weight: 500;
}

.quote-dialog > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.68rem;
}

.quote-dialog > div {
  width: min(70vw, 240px);
  margin: 0 auto 16px;
  padding: 10px;
  border-radius: 8px;
  background: #f5f4ec;
}

.quote-dialog img {
  width: 100%;
}

.quote-dialog > strong {
  color: #91a79b;
  font-size: 0.62rem;
  font-weight: 400;
}

@media (max-width: 1120px) {
  .quote-main {
    grid-template-columns: 1fr;
    max-width: 820px;
    gap: 48px;
  }

  .quote-intro {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 0.7fr);
    gap: 28px 42px;
  }

  .quote-eyebrow,
  .quote-intro h1,
  .quote-lead,
  .quote-benefits {
    grid-column: 1;
  }

  .quote-contact {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: end;
  }

  .quote-intro h1 {
    font-size: clamp(3.7rem, 7vw, 5.3rem);
  }

  .quote-contact__body {
    grid-template-columns: 1fr 130px;
  }

  .quote-qr img {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 780px) {
  .quote-header {
    height: 70px;
  }

  .quote-nav {
    display: none;
  }

  .quote-back {
    height: 34px;
  }

  .quote-main {
    padding-top: 52px;
  }

  .quote-intro {
    display: block;
  }

  .quote-intro h1 {
    font-size: clamp(3.2rem, 13vw, 5rem);
  }

  .quote-benefits {
    margin-bottom: 36px;
  }

  .quote-contact {
    margin-top: 34px;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .quote-field--full {
    grid-column: auto;
  }

  .quote-card {
    min-height: 0;
  }

  .quote-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 20px 0;
  }
}

@media (max-width: 520px) {
  .quote-header,
  .quote-main,
  .quote-footer {
    width: 90vw;
  }

  .quote-brand small {
    display: none;
  }

  .quote-intro h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
    line-height: 1.1;
  }

  .quote-contact__head {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }

  .quote-contact__body {
    grid-template-columns: 1fr;
  }

  .quote-qr {
    margin-top: 16px;
  }

  .quote-qr img {
    width: 145px;
    height: 145px;
  }

  .quote-card {
    padding: 21px 17px;
    border-radius: 17px;
  }

  .quote-card__head {
    gap: 16px;
  }

  .quote-card__head > small {
    flex: 0 0 auto;
  }

  .success-actions {
    width: 100%;
    flex-direction: column;
  }

  .success-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
