:root {
  --primary: #023194;
  --secondary: #e62125;
  --black: #1f2024;
  --white: #ffffff;
  --muted: #5f6674;
  --soft: #f4f7fb;
  --soft-blue: #eaf0ff;
  --border: #dfe6f2;
  --shadow: 0 20px 60px rgba(2, 49, 148, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 76px;
  font-family: "Bai Jamjuree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.form-grid,
.form-copy,
.lead-form,
.form-note,
.field,
.two-cols,
.needs-tools,
.need-card,
.hero-copy,
.hero-panel {
  min-width: 0;
}

.lead-form,
.form-note {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 92px;
}

#sellerResponseForm {
  scroll-margin-top: 96px;
}

.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: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 230, 242, 0.9);
}

.nav-wrap {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
}

.brand img {
  width: 280px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2d3648;
}

.main-nav a {
  padding: 10px 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-select {
  appearance: none;
  border: 1px solid var(--border);
  background: #f8faff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23023194' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 34px 10px 14px;
  font-weight: 800;
  font-size: 0.86rem;
  min-height: 44px;
  width: 92px;
  cursor: pointer;
}

.nav-cta {
  min-height: 44px;
  padding: 10px 18px;
  white-space: nowrap;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 96px 0 76px;
  background:
    radial-gradient(circle at 8% 18%, rgba(2, 49, 148, 0.16), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(230, 33, 37, 0.12), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 54%, #edf3ff 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(2, 49, 148, 0.08);
  pointer-events: none;
}

.hero::before {
  width: 380px;
  height: 380px;
  right: -140px;
  bottom: -180px;
}

.hero::after {
  width: 180px;
  height: 180px;
  left: -80px;
  top: 160px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--primary);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #15223a;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-subtitle,
.section-heading p,
.form-copy > p,
.privacy-grid > div > p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 48px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--secondary);
  box-shadow: 0 16px 34px rgba(230, 33, 37, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #c9181c;
}

.btn-secondary {
  color: var(--primary);
  border-color: rgba(2, 49, 148, 0.22);
  background: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(2, 49, 148, 0.1);
}

.btn.full {
  width: 100%;
}

.mini-trust {
  display: grid;
  gap: 9px;
  max-width: 720px;
}

.mini-trust span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334157;
  font-weight: 600;
}

.mini-trust span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 5px rgba(230, 33, 37, 0.1);
  flex: 0 0 auto;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(223, 230, 242, 0.95);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.panel-top img {
  width: 54px;
  height: 54px;
}

.panel-top p {
  margin: 0 0 4px;
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.panel-top strong {
  display: block;
  line-height: 1.28;
  color: var(--primary);
  font-size: 1.05rem;
}

.flow-card {
  display: grid;
  gap: 14px;
}

.flow-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  background: #f7faff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
}

.flow-step strong {
  color: #1e2d47;
}

.flow-step p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cost-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), #0c4ec6);
  color: var(--white);
  display: grid;
  gap: 3px;
}

.cost-note span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 800;
  opacity: 0.88;
}

.cost-note strong {
  font-size: 2rem;
  line-height: 1;
}

.cost-note small {
  opacity: 0.9;
}


.ad-banner-section {
  padding: 28px 0 8px;
  background: #ffffff;
}

.ad-banner {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(2, 49, 148, 0.1);
  background: #eef4ff;
}

.ad-banner img {
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
}

.intro-strip {
  padding: 54px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strip-grid article,
.process-card,
.need-card,
.lead-form,
.form-note,
.privacy-list,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 38px rgba(29, 46, 81, 0.06);
}

.strip-grid article {
  padding: 24px;
}

.icon-dot {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(2, 49, 148, 0.16), rgba(230, 33, 37, 0.16)),
    #ffffff;
  border: 1px solid rgba(2, 49, 148, 0.15);
  margin-bottom: 18px;
  position: relative;
}

.icon-dot::after {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--secondary);
  border-radius: 50%;
  position: absolute;
  inset: 0;
  margin: auto;
}

.strip-grid h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.strip-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.open-needs,
.privacy,
.faq {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: end;
}

.needs-tools {
  display: grid;
  gap: 8px;
}

.needs-tools label {
  color: #344159;
  font-weight: 800;
  font-size: 0.95rem;
}

.needs-tools input,
.needs-tools select,
.field input,
.field textarea,
.field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #cdd7e8;
  background: #ffffff;
  color: var(--black);
  border-radius: 16px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.needs-tools input:focus,
.needs-tools select:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 49, 148, 0.1);
}

.needs-tools select,
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23023194' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field input[readonly] {
  background: #f2f6ff;
  color: var(--primary);
  font-weight: 800;
}


.need-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--soft-blue);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.need-id {
  font-style: italic;
  color: var(--primary);
  font-weight: 800;
  user-select: all;
}

.needs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.need-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
}

.need-card .tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.need-card .tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--soft-blue);
}

.need-card .status {
  font-size: 0.78rem;
  color: #16823a;
  font-weight: 800;
}

.need-card.closed {
  opacity: 0.75;
}

.need-card.closed .status {
  color: #777;
}

.need-card h3 {
  color: var(--primary);
  margin-bottom: 0;
}

.need-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.need-meta {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: #405066;
}

.need-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}

.need-card-actions .btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.empty-state {
  text-align: center;
  padding: 50px 24px;
  background: var(--white);
  border: 1px dashed #bfd0ee;
  border-radius: 28px;
}

.empty-state h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 20px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.process-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  background: rgba(2, 49, 148, 0.06);
  right: -55px;
  top: -55px;
  border-radius: 50%;
}

.process-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 18px;
}

.process-card h3 {
  color: #17233b;
}

.process-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.privacy-list {
  padding: 10px;
  display: grid;
  gap: 10px;
}

.privacy-list div {
  padding: 20px;
  border-radius: 20px;
  background: #f9fbff;
  border: 1px solid #edf2fb;
}

.privacy-list strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.privacy-list p {
  color: var(--muted);
  margin: 6px 0 0;
}

.form-section {
  background: #ffffff;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 46px;
  align-items: start;
}

.form-grid.reverse {
  grid-template-columns: 1.22fr 0.78fr;
}

.form-grid.reverse .form-copy {
  order: 2;
}

.form-grid.reverse .lead-form {
  order: 1;
}

.form-copy {
  position: sticky;
  top: 104px;
}

.form-note {
  padding: 20px;
  background: #f8fbff;
  margin-top: 24px;
}

.form-note strong {
  color: var(--primary);
}

.form-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.red-note {
  background: #fff6f6;
  border-color: #ffd7d7;
}

.red-note strong {
  color: var(--secondary);
}

.lead-form {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: #2f3b52;
  font-weight: 800;
  font-size: 0.94rem;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.check-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: #4e5c72;
  font-size: 0.94rem;
}

.check-field input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 700;
}

.form-status.success {
  color: #157f3c;
}

.form-status.error {
  color: var(--secondary);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  padding: 20px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--primary);
}

.faq-list p {
  color: var(--muted);
  margin: 12px 0 0;
}

.need-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.need-modal.active {
  opacity: 1;
  visibility: visible;
}

.need-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 23, 43, 0.58);
  backdrop-filter: blur(8px);
}

.need-modal-card {
  position: relative;
  width: min(100%, 720px);
  background: var(--white);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.modal-meta {
  display: grid;
  gap: 6px;
  color: #4b5870;
  margin: 16px 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}


.mobile-sticky-cta {
  display: none;
}

.site-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #061a4e, var(--primary));
  color: var(--white);
  padding: 58px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.footer-grid img {
  width: 320px;
  margin-bottom: 18px;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid h3 {
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #ffffff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.copyright a {
  color: #ffffff;
}

@media (max-width: 1100px) {
  .nav-wrap {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    left: 16px;
    right: 16px;
    z-index: 1001;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
  }

  .main-nav a {
    padding: 13px 10px;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .privacy-grid,
  .form-grid,
  .form-grid.reverse {
    grid-template-columns: 1fr;
  }

  .form-grid.reverse .form-copy,
  .form-grid.reverse .lead-form {
    order: initial;
  }

  .form-copy {
    position: static;
  }

  .process-grid,
  .needs-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 92px;
  }

  #sellerResponseForm {
    scroll-margin-top: 86px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    padding-top: 64px;
  }

  .ad-banner-section {
    padding: 18px 0 0;
  }

  .ad-banner {
    border-radius: 20px;
  }

  .ad-banner img {
    aspect-ratio: 2.4 / 1;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 2500;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(223, 230, 242, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(2, 49, 148, 0.2);
  }

  .mobile-sticky-cta .btn {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.88rem;
    width: 100%;
  }

  .brand img {
    width: 210px;
  }

  .hero-actions,
  .modal-actions {
    flex-direction: column;
  }

  .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel,
  .lead-form {
    padding: 18px;
    border-radius: 24px;
  }

  .form-note {
    padding: 18px;
  }

  .field select {
    font-size: 0.96rem;
  }

  .strip-grid,
  .process-grid,
  .needs-list,
  .two-cols,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid img {
    width: 260px;
  }

  .copyright {
    flex-direction: column;
  }

  .flow-step {
    grid-template-columns: 40px 1fr;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .lead-form {
    padding: 16px;
  }

  .mobile-sticky-cta {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 6px;
    padding: 8px;
  }

  .mobile-sticky-cta .btn {
    font-size: 0.84rem;
    padding: 9px 8px;
    line-height: 1.25;
  }

  h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .brand img {
    width: 152px;
  }

  .nav-wrap {
    gap: 8px;
  }

  .language-select {
    min-height: 40px;
    width: 76px;
    font-size: 0.78rem;
    padding: 8px 26px 8px 10px;
  }

  .need-modal-card {
    padding: 24px 18px;
  }
}


.form-hint {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.field.is-required label::after {
  content: " *";
  color: var(--secondary);
  font-weight: 800;
}

/* Patch 2026-05-31: mobile polish for Open Property Needs cards and detail modal */
.card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
  align-items: center;
}

.card-actions .btn {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 0.94rem;
}

.need-modal-card .eyebrow,
#modal-id {
  display: block;
  max-width: calc(100% - 62px);
  margin-right: 62px;
  margin-bottom: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}

.need-modal-card h2 {
  clear: both;
  margin-top: 10px;
}

.modal-close {
  z-index: 2;
}

@media (max-width: 760px) {
  .need-card {
    gap: 18px;
  }

  .need-card .need-meta {
    gap: 8px;
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
    padding-top: 2px;
  }

  .card-actions .btn {
    width: 100%;
    min-height: 54px;
    padding: 13px 18px;
    line-height: 1.25;
  }

  .need-modal {
    place-items: start center;
    padding: 88px 12px 110px;
    overflow-y: auto;
  }

  .need-modal-card {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 30px 22px 24px;
    border-radius: 26px;
  }

  .modal-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .need-modal-card .eyebrow,
  #modal-id {
    max-width: calc(100% - 60px);
    margin-right: 60px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1.55;
  }

  .need-modal-card h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
  }

  .modal-meta {
    margin: 18px 0;
    gap: 8px;
  }

  .modal-actions {
    gap: 12px;
    margin-top: 24px;
  }
}

@media (max-width: 420px) {
  .need-modal {
    padding-left: 10px;
    padding-right: 10px;
  }

  .need-modal-card {
    padding: 28px 18px 22px;
    border-radius: 24px;
  }

  .need-modal-card h2 {
    font-size: 1.9rem;
  }

  .card-actions .btn {
    min-height: 52px;
  }
}

