* {
  box-sizing: border-box;
}

:root {
  --ink: #071827;
  --muted: #5b6878;
  --line: #dce7ef;
  --soft: #f4fbff;
  --white: #ffffff;
  --blue: #0b4f8a;
  --blue-dark: #07385f;
  --teal: #0f8b8d;
  --green: #15a36d;
  --green-dark: #0f7d54;
  --sky: #e9f7ff;
  --mint: #eafaf3;
  --shadow: 0 18px 45px rgba(7, 24, 39, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: 76px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -1px;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
}

.nav a:hover {
  color: var(--teal);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white) !important;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 139, 141, 0.22);
}

.mobile-menu {
  display: none;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 20px;
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white);
  text-decoration: none;
  font-weight: 950;
  padding: 17px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(15, 139, 141, 0.35);
  border: 2px solid rgba(255,255,255,0.9);
  animation: softPulse 2.4s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(15, 139, 141, 0.46);
}

@keyframes softPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.025); }
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) 440px;
  gap: 46px;
  align-items: center;
  padding: 78px 5vw;
  background:
    radial-gradient(circle at 85% 10%, rgba(15, 139, 141, 0.15), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(21, 163, 109, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #e9f7ff 55%, #eafaf3 100%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  font-weight: 900;
  color: var(--teal);
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0 0 22px;
}

.hero-subtitle {
  max-width: 780px;
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(15, 139, 141, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 139, 141, 0.35);
}

.btn-primary::after,
.form-submit::after {
  content: " →";
  font-weight: 950;
}

.btn-secondary {
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 10px 22px rgba(7, 24, 39, 0.05);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.pill-row span {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel {
  background: var(--white);
  padding: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 139, 141, 0.15);
  overflow: hidden;
}

.panel-photo {
  height: 205px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.panel-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,24,39,0.03), rgba(7,24,39,0.24));
}

.hero-panel h2 {
  margin: 24px 28px 18px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.hero-panel h2::after {
  content: " Start here.";
  color: var(--teal);
  font-weight: 900;
}

.quick-links {
  display: grid;
  gap: 10px;
  margin: 0 28px 28px;
}

.quick-links a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 900;
  background: #f7fbff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.quick-links a:after {
  content: "→";
  color: var(--teal);
}

.quick-links a:hover {
  border-color: var(--teal);
  background: var(--mint);
  transform: translateX(3px);
  box-shadow: 0 12px 22px rgba(15, 139, 141, 0.13);
}

.page-hero {
  padding: 76px 5vw 58px;
  background:
    radial-gradient(circle at 90% 10%, rgba(15, 139, 141, 0.14), transparent 26%),
    radial-gradient(circle at 10% 90%, rgba(21, 163, 109, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #e9f7ff 100%);
}

.page-hero-inner {
  max-width: 980px;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
}

.page-hero p {
  max-width: 840px;
  color: var(--muted);
  font-size: 20px;
  margin: 0 0 26px;
}

.photo-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 0.9fr;
  gap: 30px;
  align-items: stretch;
  padding: 48px 5vw;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.photo-banner-image {
  min-height: 340px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 139, 141, 0.16);
  position: relative;
  overflow: hidden;
}

.photo-banner-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,24,39,0.05), rgba(15,139,141,0.10));
}

.photo-banner-card {
  align-self: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 139, 141, 0.16);
  box-shadow: 0 18px 45px rgba(7, 24, 39, 0.10);
  border-radius: 30px;
  padding: 34px;
  backdrop-filter: blur(10px);
}

.photo-banner-card h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 0 0 14px;
}

.photo-banner-card p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 0;
}

.content-section {
  padding: 64px 5vw;
  border-top: 1px solid var(--line);
}

.content-section.alt {
  background: var(--soft);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 400px;
  gap: 42px;
  align-items: start;
}

.content-main h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}

.content-main p {
  color: var(--muted);
  font-size: 17px;
}

.side-card,
.info-card,
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(7, 24, 39, 0.06);
}

.side-card.dark {
  background: linear-gradient(135deg, var(--blue-dark), var(--teal));
  color: var(--white);
}

.side-card.dark p,
.side-card.dark li {
  color: rgba(255,255,255,0.86);
}

.side-card h3,
.info-card h3,
.step-card h3 {
  margin-top: 0;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.side-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.side-card li {
  margin-bottom: 10px;
}

.steps-grid,
.info-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.11);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-band {
  padding: 56px 5vw;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,0.78);
}

.lead-section {
  padding: 72px 5vw;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  background:
    radial-gradient(circle at 15% 20%, rgba(15, 139, 141, 0.08), transparent 30%),
    #ffffff;
}

.lead-copy h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 16px;
}

.lead-copy p {
  color: var(--muted);
  font-size: 17px;
}

.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 28px;
}

.hidden {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-weight: 900;
  margin-bottom: 16px;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 139, 141, 0.16);
  border-color: var(--teal);
}

.form-submit {
  width: 100%;
  font-size: 16px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: 16px 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding: 44px 5vw 100px;
  background: #071827;
  color: var(--white);
}

.site-footer p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}



@media (max-width: 1050px) {
  .hero,
  .content-grid,
  .lead-section,
  .cta-band,
  .photo-banner {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .info-grid,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    max-width: 650px;
  }

  .cta-band {
    align-items: start;
  }

  .photo-banner-image {
    min-height: 280px;
  }
}

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

  .site-header {
    padding: 12px 18px;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 18px;
    right: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 8px 0;
  }

  .hero {
    min-height: auto;
    padding: 54px 18px 44px;
  }

  .page-hero,
  .content-section,
  .lead-section,
  .cta-band,
  .photo-banner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .steps-grid,
  .info-grid,
  .site-footer,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-subtitle,
  .page-hero p {
    font-size: 17px;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    text-align: center;
    justify-content: center;
    border-radius: 14px;
    padding: 15px;
  }

  .brand small {
    display: none;
  }

  .hero-panel h2,
  .quick-links {
    margin-left: 20px;
    margin-right: 20px;
  }

  .quick-links {
    margin-bottom: 20px;
  }

  .panel-photo {
    height: 160px;
  }

  .photo-banner-image {
    min-height: 220px;
    border-radius: 22px;
  }

  .photo-banner-card {
    border-radius: 22px;
    padding: 24px;
  }
}


/* Real category-matching photos */
.hero-panel {
  overflow: hidden;
  padding: 0;
}

.panel-photo {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.panel-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,24,39,0.02), rgba(7,24,39,0.22));
}

.hero-panel h2 {
  margin: 24px 28px 18px;
}

.quick-links {
  margin: 0 28px 28px;
}

.photo-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 0.85fr;
  gap: 30px;
  align-items: stretch;
  padding: 48px 5vw;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.photo-banner-image {
  min-height: 365px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 139, 141, 0.16);
  position: relative;
  overflow: hidden;
  filter: saturate(1.05) contrast(1.02);
}

.photo-banner-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7,24,39,0.03), rgba(15,139,141,0.07)),
    linear-gradient(180deg, rgba(255,255,255,0.00), rgba(7,24,39,0.10));
}

.photo-banner-card {
  align-self: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 139, 141, 0.16);
  border-left: 5px solid var(--teal);
  box-shadow: 0 18px 45px rgba(7, 24, 39, 0.10);
  border-radius: 30px;
  padding: 34px;
  backdrop-filter: blur(10px);
}

.photo-banner-card h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 0 0 14px;
}

.photo-banner-card p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  .photo-banner {
    grid-template-columns: 1fr;
  }

  .photo-banner-image {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .hero-panel h2,
  .quick-links {
    margin-left: 20px;
    margin-right: 20px;
  }

  .panel-photo {
    height: 165px;
  }

  .photo-banner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .photo-banner-image {
    min-height: 230px;
    border-radius: 22px;
  }

  .photo-banner-card {
    border-radius: 22px;
    padding: 24px;
  }
}


/* Direct photo fix */
.photo-banner-image,
.panel-photo {
  background-color: #e9f7ff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 340px;
}

.panel-photo {
  min-height: 210px;
}

.photo-banner-image::before,
.panel-photo::before {
  content: "";
  display: none;
}

.photo-banner-image {
  border: 1px solid rgba(15, 139, 141, 0.2);
}

@media (max-width: 760px) {
  .photo-banner-image {
    min-height: 230px;
  }

  .panel-photo {
    min-height: 165px;
  }
}


/* Selected category photos */
.photo-banner-image,
.panel-photo {
  background-color: #e9f7ff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.photo-banner-image {
  min-height: 390px;
}

.panel-photo {
  min-height: 210px;
}

.photo-banner-image::after,
.panel-photo::after {
  background:
    linear-gradient(135deg, rgba(7,24,39,0.02), rgba(15,139,141,0.05)),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(7,24,39,0.08));
}

@media (max-width: 760px) {
  .photo-banner-image {
    min-height: 245px;
  }
  .panel-photo {
    min-height: 165px;
  }
}


/* Local user-selected page images */
.photo-banner-image,
.panel-photo {
  background-color: #e9f7ff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.photo-banner-image {
  min-height: 390px;
}

@media (max-width: 760px) {
  .photo-banner-image {
    min-height: 245px;
  }
}


/* User-selected category images */
.photo-banner-image,
.panel-photo {
  background-color: #e9f7ff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.photo-banner-image {
  min-height: 390px;
}

@media (max-width: 760px) {
  .photo-banner-image {
    min-height: 245px;
  }
}


/* Clean two-column footer after removing internal compliance placeholder */
.site-footer {
  grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
}


/* Upgraded NJ House Search logo */
.brand {
  min-width: 0;
}

.brand-logo-full {
  display: block;
  width: 235px;
  height: auto;
}

.brand-logo-mark {
  display: none;
  width: 48px;
  height: 48px;
}

.brand-mark {
  display: none;
}

@media (max-width: 900px) {
  .brand-logo-full {
    display: none;
  }

  .brand-logo-mark {
    display: block;
  }
}


/* Homepage branded visual replacing non-NJ stock photo */
.panel-photo {
  background-size: cover;
  background-position: center;
  background-color: #e9f7ff;
}

.panel-photo::after {
  background: none !important;
}


/* Polished form submission and thank-you experience */
.form-reassurance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 10px 0 18px;
}

.form-reassurance div {
  background: linear-gradient(135deg, #f4fbff, #eafaf3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.form-reassurance strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 3px;
}

.form-reassurance span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.success-page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 72px 5vw;
  background:
    radial-gradient(circle at 85% 12%, rgba(15, 139, 141, 0.16), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(21, 163, 109, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #e9f7ff 55%, #eafaf3 100%);
}

.success-card {
  width: min(980px, 100%);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(15, 139, 141, 0.18);
  border-radius: 34px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
  text-align: center;
}

.success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: white;
  font-size: 42px;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(15, 139, 141, 0.28);
}

.success-card h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
}

.success-lead {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 19px;
}

.success-next {
  text-align: left;
  margin-top: 26px;
}

.success-next h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}

.success-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.success-steps div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(7, 24, 39, 0.06);
}

.success-steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.11);
  color: var(--teal);
  font-weight: 950;
  margin-bottom: 12px;
}

.success-steps strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.success-steps p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.success-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 850px) {
  .success-steps,
  .form-reassurance {
    grid-template-columns: 1fr;
  }

  .success-page {
    padding: 48px 18px;
  }
}


/* Homepage quick path pills are now real links */
.trust-links a {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
}

.trust-links a:hover {
  color: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 139, 141, 0.12);
}


/* Exact user-selected For Sale By Owner image */
.photo-banner-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}


/* Home Value page: show the full user-selected image without cropping */
.home-value-banner .photo-banner-image {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: #f4fbff;
  min-height: 390px;
}

.home-value-banner .photo-banner-image::after {
  background: none !important;
}

@media (max-width: 760px) {
  .home-value-banner .photo-banner-image {
    min-height: 260px;
  }
}


/* Exact First Time Home Buyers image */
.first-time-home-buyers-page .photo-banner-image,
.photo-banner-image {
  background-repeat: no-repeat;
}


/* Inline form success message — no redirect needed */
.inline-success {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15, 139, 141, 0.18);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  text-align: center;
}

.inline-success h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 14px;
}

.inline-success p {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto;
}

.inline-success-small {
  margin-top: 12px !important;
  font-size: 14px !important;
}


.hidden-netlify-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}
