:root {
  --bg: #f4f0e3;
  --paper: #fffdf7;
  --ink: #183429;
  --muted: #66746b;
  --green: #2e6b45;
  --green-deep: #1f5134;
  --lime: #dce9b5;
  --line: #dfe4d9;
  --zalo: #1177dd;
  --shadow: 0 18px 50px rgba(45, 70, 53, .14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(180, 205, 147, .42), transparent 34%),
    linear-gradient(180deg, #f7f4ea 0%, #eef3e9 100%);
}

button, input { font: inherit; }
a { color: inherit; }

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

.page-shell {
  min-height: 100vh;
  padding: 14px;
  display: grid;
  place-items: center;
}

.quote-card {
  width: min(100%, 470px);
  background: rgba(255, 253, 247, .97);
  border: 1px solid rgba(46, 107, 69, .11);
  border-radius: 28px;
  padding: 22px 18px 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.quote-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -95px;
  top: 100px;
  border-radius: 50%;
  background: rgba(220, 233, 181, .34);
  pointer-events: none;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.brand-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-right {
  flex: 0 0 auto;
  max-width: 44%;
  text-align: right;
  line-height: 1.05;
}
.brand-right span,
.brand-right strong { display: block; }
.brand-right span {
  color: #778477;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .09em;
}
.brand-right strong {
  margin-top: 3px;
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .05em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #edf3df;
  color: var(--green-deep);
}
.brand-mark svg { width: 32px; height: 32px; }
.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #728070;
}
.brand-name {
  margin: 2px 0 0;
  font-size: 17px;
  line-height: 1;
  font-weight: 850;
  color: var(--green-deep);
}

.product-visual {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  height: 248px;
  border-radius: 20px;
  overflow: hidden;
  background: #dce5d4;
  border: 1px solid rgba(31, 81, 52, .13);
  box-shadow: 0 10px 28px rgba(35, 64, 44, .12);
}
.slider-track {
  position: absolute;
  inset: 0;
}
.product-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .45s ease, transform 2.8s ease;
  pointer-events: none;
}
.product-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.product-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}
.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 19, .02) 48%, rgba(10, 30, 19, .56) 100%);
  pointer-events: none;
}
.product-visual figcaption {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 30px;
  color: rgba(255,255,255,.94);
  font-size: 10.5px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.slider-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 5px;
}
.slider-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  box-shadow: 0 0 0 1px rgba(20, 40, 28, .12);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.slider-dot.is-active {
  width: 19px;
  background: rgba(255,255,255,.96);
}
.slider-dot:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
.import-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(255, 253, 247, .94);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 5px 18px rgba(20, 38, 26, .16);
  backdrop-filter: blur(6px);
}
.import-badge small,
.import-badge strong { display: block; }
.import-badge small {
  font-size: 8px;
  letter-spacing: .08em;
  color: #758078;
  font-weight: 800;
}
.import-badge strong {
  margin-top: 1px;
  color: var(--green-deep);
  font-size: 12px;
}
.jp-flag {
  width: 30px;
  height: 22px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #e5e5e5;
  position: relative;
  flex: 0 0 auto;
}
.jp-flag::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cf3340;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero-copy { margin-top: 20px; position: relative; z-index: 1; }
.offer-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 750;
}
.hero-copy h1 {
  margin: 13px 0 10px;
  font-size: clamp(34px, 10vw, 46px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 900;
  max-width: 420px;
}
.hero-copy h1 span { color: var(--green); }
.lead {
  margin: 0;
  max-width: 390px;
  color: #55655c;
  font-size: 15.5px;
  line-height: 1.5;
}
.lead strong { color: var(--green-deep); font-weight: 800; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 18px;
}
.trust-item {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fafaf5;
  border-radius: 13px;
  padding: 9px 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  color: #4b5b52;
  font-size: 11px;
  text-align: center;
}
.trust-item span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f1d9;
  color: var(--green-deep);
  font-weight: 900;
}
.trust-item strong { font-weight: 750; }

.import-proof {
  margin-top: 10px;
  min-height: 142px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 13px;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: #eef3e7;
  border: 1px solid #d9e4d0;
}
.import-proof img {
  width: 112px;
  height: 100%;
  min-height: 142px;
  display: block;
  object-fit: cover;
  object-position: center;
}
.import-proof > div {
  padding: 12px 12px 11px 0;
  align-self: center;
}
.proof-kicker {
  display: block;
  margin-bottom: 3px;
  color: #72816f;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: .10em;
}
.import-proof strong {
  display: block;
  color: var(--green-deep);
  font-size: 13px;
  line-height: 1.25;
}
.import-proof p {
  margin: 6px 0 0;
  color: #68756c;
  font-size: 10px;
  line-height: 1.42;
}
.proof-copy b { color: #355c3e; }
.proof-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.proof-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fffdf7;
  border: 1px solid #d4dfcb;
  color: #31573d;
  font-size: 8px;
  line-height: 1.15;
  font-weight: 800;
}
.proof-note {
  display: block;
  margin-top: 5px;
  color: #839086;
  font-size: 7.5px;
}

.lead-form {
  margin-top: 21px;
  padding: 15px;
  border-radius: 20px;
  background: #f4f7ee;
  border: 1px solid #dfe8d5;
}
.combo-offer {
  margin: -3px -3px 14px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff7df 0%, #fffdf7 100%);
  border: 1px solid #e6cf86;
  box-shadow: 0 8px 20px rgba(116, 91, 28, .09);
}
.combo-offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.combo-offer-head > span {
  color: #815b05;
  font-size: 10.8px;
  font-weight: 950;
  letter-spacing: .035em;
}
.combo-offer-head small {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2dfa0;
  color: #745400;
  font-size: 8.5px;
  font-weight: 900;
}
.combo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.combo-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e9d49b;
  border-radius: 13px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 3px 10px rgba(116, 91, 28, .04);
}
.combo-best {
  border-color: #d7b64d;
  background: linear-gradient(180deg, #fff0b6 0%, #fff8dc 100%);
  box-shadow: inset 0 0 0 1px rgba(215, 182, 77, .13), 0 5px 14px rgba(131, 98, 18, .08);
}
.combo-top strong,
.combo-gift span { display: block; }
.combo-top strong {
  color: #174d33;
  font-size: 11.5px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: .03em;
}
.combo-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #2f7048;
  color: #fff;
  font-size: 7.5px;
  line-height: 1.4;
  font-weight: 900;
}
.combo-gift {
  margin-top: 8px;
  padding: 8px 7px 7px;
  border-top: 1px dashed #dec985;
  border-radius: 8px;
  background: rgba(255, 245, 220, .72);
}
.gift-line {
  color: #b94d0a;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -.01em;
}
.gift-sub {
  margin-top: 4px;
  color: #7a5208;
  font-size: 11.5px;
  line-height: 1.15;
  font-weight: 900;
}
.combo-lock {
  margin: 9px 1px 0;
  color: #77653e;
  font-size: 10.5px;
  line-height: 1.35;
  text-align: center;
}
.combo-lock strong { color: #1d6942; }
.lead-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}
.phone-field-wrap {
  height: 56px;
  display: flex;
  align-items: center;
  background: white;
  border: 1.5px solid #d9dfd5;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.phone-field-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 107, 69, .10);
}
.phone-prefix {
  padding: 0 12px 0 14px;
  border-right: 1px solid #e5e8e2;
  color: #6e776f;
  font-weight: 700;
}
.phone-field-wrap input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 13px;
  background: transparent;
  color: #1c2d25;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .015em;
}
.phone-field-wrap input::placeholder {
  color: rgba(72, 87, 78, .30);
  font-weight: 650;
  letter-spacing: .01em;
}
.field-help,
.field-error { margin: 7px 2px 0; font-size: 11.5px; }
.field-help { color: #7b847d; }
.field-error { color: #a62f2f; font-weight: 700; }

.primary-cta {
  width: 100%;
  min-height: 56px;
  margin-top: 13px;
  border: 0;
  border-radius: 14px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(180deg, #397b52, #28643f);
  color: white;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .015em;
  box-shadow: 0 8px 18px rgba(40, 100, 63, .22);
  cursor: pointer;
}
.primary-cta:active { transform: translateY(1px); }
.primary-cta:disabled { opacity: .68; cursor: wait; }
.primary-cta svg { width: 18px; height: 18px; }

.privacy-note {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #778178;
  font-size: 10.5px;
  text-align: center;
}
.privacy-note svg { width: 14px; height: 14px; flex: 0 0 auto; }

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 2px 13px;
  color: #8b938d;
  font-size: 11px;
  font-weight: 700;
}
.divider::before,
.divider::after { content: ""; flex: 1; height: 1px; background: #e2e6df; }

.direct-actions { display: grid; gap: 9px; }
.direct-btn {
  min-height: 60px;
  border-radius: 15px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  border: 1px solid #dfe3de;
  background: #fff;
  transition: transform .15s ease, border-color .15s ease;
}
.direct-btn:active { transform: scale(.99); }
.direct-btn small,
.direct-btn strong { display: block; }
.direct-btn small { color: #77817b; font-size: 10.5px; margin-bottom: 2px; }
.direct-btn strong { font-size: 14px; }
.direct-icon,
.direct-btn > svg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
}
.direct-icon {
  display: grid;
  place-items: center;
  background: #eaf4ff;
  color: var(--zalo);
  font-weight: 950;
  font-size: 20px;
}
.zalo-btn { border-color: #d9e9fb; }
.zalo-btn strong { color: #0d66b7; }
.call-btn > svg {
  padding: 9px;
  color: var(--green-deep);
  background: #edf3df;
}
.call-btn strong { color: var(--green-deep); }

.mini-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #7c857e;
  font-size: 10.5px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #51a46c;
  box-shadow: 0 0 0 4px rgba(81, 164, 108, .11);
}

.success-sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 16px;
  display: grid;
  place-items: end center;
  background: rgba(18, 35, 26, .42);
  backdrop-filter: blur(5px);
}

.success-sheet[hidden] {
  display: none;
}

.success-card {
  width: min(100%, 450px);
  background: #fffdf8;
  border-radius: 24px;
  padding: 24px 19px 17px;
  text-align: center;
  box-shadow: 0 22px 70px rgba(15, 36, 24, .28);
}
.success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f1d8;
  color: var(--green-deep);
  font-size: 28px;
  font-weight: 900;
}
.success-card h2 { margin: 0; font-size: 24px; }
.success-card p { color: #647168; line-height: 1.5; margin: 8px auto 16px; max-width: 320px; }
.success-zalo {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--zalo);
  color: white;
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
}
#close-success {
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  border: 0;
  background: transparent;
  color: #7a847d;
  font-weight: 750;
  cursor: pointer;
}

@media (min-width: 640px) {
  .page-shell { padding: 28px; }
  .quote-card { padding: 28px 26px 22px; }
  .product-visual { height: 280px; }
  .success-sheet { place-items: center; }
}

@media (max-width: 639px) {
  .page-shell {
    padding: 8px;
    place-items: start center;
  }
  .quote-card {
    border-radius: 22px;
    padding: 13px 14px 15px;
  }
  .brand-row { gap: 8px; }
  .brand-left { gap: 7px; }
  .brand-right { max-width: 43%; }
  .brand-right span { font-size: 6.7px; }
  .brand-right strong { margin-top: 2px; font-size: 14px; }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
  .brand-mark svg { width: 27px; height: 27px; }
  .eyebrow { font-size: 8.5px; }
  .brand-name { font-size: 15px; }

  .product-visual {
    height: 180px;
    margin-top: 10px;
    border-radius: 16px;
  }
  .import-badge {
    top: 7px;
    right: 7px;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 11px;
  }
  .jp-flag { width: 25px; height: 18px; }
  .jp-flag::after { width: 8px; height: 8px; }
  .import-badge small { font-size: 7px; }
  .import-badge strong { font-size: 10.5px; }
  .product-visual figcaption {
    left: 9px;
    bottom: 25px;
    font-size: 9px;
  }
  .slider-dots { bottom: 7px; }

  .hero-copy { margin-top: 11px; }
  .offer-pill {
    min-height: 23px;
    padding: 0 8px;
    font-size: 10.5px;
  }
  .hero-copy h1 {
    margin: 7px 0 5px;
    font-size: 30px;
    line-height: .96;
  }
  .lead {
    font-size: 13px;
    line-height: 1.32;
  }

  .lead-form {
    margin-top: 11px;
    padding: 10px;
    border-radius: 16px;
  }
  .combo-offer {
    margin: 0 0 9px;
    padding: 8px;
    border-radius: 13px;
  }
  .combo-offer-head { margin-bottom: 6px; }
  .combo-offer-head > span { font-size: 9.5px; }
  .combo-offer-head small {
    padding: 2px 6px;
    font-size: 7.5px;
  }
  .combo-grid { gap: 6px; }
  .combo-card {
    padding: 8px;
    border-radius: 10px;
  }
  .combo-top strong { font-size: 10px; }
  .combo-badge {
    margin-bottom: 4px;
    padding: 2px 5px;
    font-size: 6.5px;
  }
  .combo-gift {
    margin-top: 6px;
    padding: 6px 5px 5px;
  }
  .gift-line {
    font-size: 11.3px;
    line-height: 1.08;
  }
  .gift-sub {
    margin-top: 3px;
    font-size: 9.8px;
    line-height: 1.1;
  }
  .combo-lock {
    margin-top: 6px;
    font-size: 9.5px;
  }
  .lead-form label {
    margin-bottom: 5px;
    font-size: 12px;
  }
  .phone-field-wrap {
    height: 49px;
    border-radius: 12px;
  }
  .phone-field-wrap input { font-size: 16px; }
  .phone-prefix { padding-inline: 10px; }
  .field-help { display: none; }
  .field-error { margin-top: 5px; font-size: 10px; }
  .primary-cta {
    min-height: 50px;
    margin-top: 8px;
    border-radius: 12px;
    font-size: 12.5px;
  }
  .privacy-note {
    margin-top: 6px;
    font-size: 9px;
  }

  .trust-grid {
    margin-top: 11px;
    gap: 5px;
  }
  .trust-item {
    padding: 7px 4px;
    font-size: 9.5px;
  }
  .trust-item span {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
  .import-proof {
    margin-top: 7px;
    grid-template-columns: 98px 1fr;
    min-height: 148px;
  }
  .import-proof img { width: 98px; min-height: 148px; }
  .import-proof > div { padding: 10px 9px 9px 0; }
  .import-proof strong { font-size: 11.5px; }
  .import-proof p { font-size: 9px; line-height: 1.35; }
  .proof-benefits { gap: 4px; margin-top: 6px; }
  .proof-benefits span { min-height: 20px; padding: 2px 6px; font-size: 7px; }
}

@media (max-width: 639px) and (max-height: 760px) {
  .product-visual { height: 145px; }
  .hero-copy h1 { font-size: 27px; }
  .lead { font-size: 12px; }
  .combo-card { padding-block: 6px; }
  .combo-gift { margin-top: 5px; padding-top: 4px; }
  .combo-lock { display: none; }
  .lead-form { margin-top: 8px; }
}

@media (max-width: 360px) {
  .hero-copy h1 { font-size: 27px; }
  .trust-grid { gap: 5px; }
  .trust-item { padding-inline: 4px; font-size: 10px; }
  .import-proof { grid-template-columns: 78px 1fr; }
  .import-proof img { width: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
