/* Elevated Homes — theme styles */

:root {
  --eh-black: #111111;
  --eh-gold: #C9A24B;
  --eh-gold-dark: #A8842F;
  --eh-white: #FFFFFF;
  --eh-warm: #F5F3EE;
  --eh-muted: #6B6B6B;
  --eh-radius: 6px;
  --eh-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--eh-black);
  background: var(--eh-white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--eh-gold);
}

/* ---- Header ---- */
.eh-header {
  background: var(--eh-black);
  color: var(--eh-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
}

.eh-header__inner {
  max-width: var(--eh-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.eh-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.eh-logo img,
.eh-logo svg,
.eh-logo__svg {
  height: 44px;
  width: auto;
  display: block;
}

.eh-footer .eh-logo__svg {
  height: 44px;
}

.eh-logo__text {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eh-white);
  white-space: nowrap;
}

.eh-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eh-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.eh-nav a:hover,
.eh-nav a[aria-current="page"] {
  color: var(--eh-white);
  border-bottom-color: var(--eh-gold);
}

.eh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--eh-gold);
  color: var(--eh-black) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--eh-radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.eh-btn:hover {
  background: var(--eh-gold-dark);
  color: var(--eh-black) !important;
  transform: translateY(-1px);
}

.eh-btn--outline {
  background: transparent;
  color: var(--eh-white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.eh-btn--outline:hover {
  border-color: var(--eh-gold);
  color: var(--eh-gold) !important;
  background: transparent;
}

.eh-header__cta {
  flex-shrink: 0;
}

.eh-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--eh-white);
  width: 42px;
  height: 42px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* ---- Hero + overlapping steps ---- */
.eh-hero-band {
  position: relative;
  background: var(--eh-white);
}

.eh-hero {
  background-color: var(--eh-black);
  background-image:
    linear-gradient(105deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.72) 45%, rgba(17, 17, 17, 0.45) 100%),
    url("../images/hero-norcal-home.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  color: var(--eh-white);
  padding: 5rem 1.25rem 7.5rem;
  position: relative;
  overflow: hidden;
}

.eh-hero__inner {
  max-width: var(--eh-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eh-eyebrow {
  display: inline-block;
  color: var(--eh-gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eh-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--eh-white);
  max-width: 16ch;
}

.eh-hero__sub {
  color: var(--eh-gold);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.eh-hero__body {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 38ch;
  margin: 0 0 2rem;
}

.eh-address-box {
  background: var(--eh-white);
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  max-width: 520px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.eh-address-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  color: var(--eh-black);
  background: transparent;
  min-width: 0;
}

.eh-address-box .eh-btn {
  flex-shrink: 0;
}

.eh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.25rem;
}

.eh-hero__phone {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

.eh-hero__phone:hover {
  color: var(--eh-gold);
}

/* Soft bottom fade into white (mockup curve feel) */
.eh-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--eh-white));
  pointer-events: none;
  z-index: 0;
}

/* Overlapping step cards */
.eh-steps-overlap {
  position: relative;
  z-index: 2;
  max-width: var(--eh-max);
  margin: -4.5rem auto 0;
  padding: 0 1.25rem 3.5rem;
}

.eh-steps-overlap .eh-section__head {
  display: none; /* only hide unused head inside overlapping steps band */
}

.eh-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.eh-step {
  background: var(--eh-white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 12px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.14);
}

.eh-step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  color: var(--eh-gold);
}

.eh-step__icon svg {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto;
}

.eh-step__num {
  display: none; /* icons replace numbered circles in hero overlap look */
}

.eh-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.eh-step p {
  margin: 0;
  color: var(--eh-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.eh-step__rule {
  width: 36px;
  height: 3px;
  background: var(--eh-gold);
  margin: 0.9rem auto 0;
  border: none;
}

.eh-steps-overlap__cta {
  text-align: center;
  margin-top: 2rem;
}


/* ---- Sections (shared) ---- */
.eh-section {
  padding: 4.5rem 0;
}

.eh-section__inner {
  max-width: var(--eh-max);
  margin: 0 auto;
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.eh-section__head {
  display: block;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.eh-section__head--left {
  text-align: left;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.eh-section__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0.35rem 0 0.75rem;
}

.eh-section__head p {
  color: var(--eh-muted);
  margin: 0;
  font-size: 1.05rem;
}

.eh-section--dark .eh-section__head p {
  color: rgba(255, 255, 255, 0.7);
}

.eh-section--dark h2 {
  color: var(--eh-white);
}

/* ---- Feature grid ---- */
.eh-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.eh-feature {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--eh-white);
  border-top: 3px solid var(--eh-gold);
}

.eh-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.eh-feature p {
  margin: 0;
  color: var(--eh-muted);
  font-size: 0.92rem;
}

/* ---- Transparency / math ---- */
.eh-math {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.eh-math__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.eh-math__list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.eh-math__list .n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--eh-gold);
  color: var(--eh-black);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eh-math__list strong {
  display: block;
  margin-bottom: 0.15rem;
}

.eh-math__list span {
  color: var(--eh-muted);
  font-size: 0.92rem;
}

/* ---- Compare table ---- */
.eh-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: var(--eh-white);
}

.eh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.eh-table th,
.eh-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  vertical-align: top;
}

.eh-table th {
  background: var(--eh-black);
  color: var(--eh-white);
  font-weight: 600;
}

.eh-table th:nth-child(2) {
  color: var(--eh-gold);
}

.eh-table tr:last-child td {
  border-bottom: none;
}

.eh-table td:first-child {
  font-weight: 600;
  width: 22%;
}

.eh-footnote {
  margin-top: 1rem;
  color: var(--eh-muted);
  font-size: 0.9rem;
}

/* ---- Areas ---- */
.eh-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.eh-chip {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--eh-white);
  border: 1px solid rgba(17, 17, 17, 0.12);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---- CTA band ---- */
.eh-cta {
  text-align: center;
  padding: 4rem 1.25rem;
  background: var(--eh-black);
  color: var(--eh-white);
}

.eh-cta h2 {
  color: var(--eh-white);
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.eh-cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.eh-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---- FAQ ---- */
.eh-faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.eh-faq details {
  background: var(--eh-white);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}

.eh-faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.eh-faq summary::-webkit-details-marker {
  display: none;
}

.eh-faq summary::after {
  content: "+";
  color: var(--eh-gold);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.eh-faq details[open] summary::after {
  content: "–";
}

.eh-faq details p {
  margin: 0.85rem 0 0;
  color: var(--eh-muted);
}

/* ---- About ---- */
.eh-prose {
  max-width: 680px;
  margin: 0 auto;
}

.eh-prose p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.eh-photo {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1.25rem;
}

.eh-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  background: var(--eh-warm);
}

.eh-photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--eh-muted);
  text-align: center;
  line-height: 1.4;
}

/* legacy placeholder (unused) */
.eh-photo-ph { display: none; }

/* ---- Offer page ---- */
.eh-offer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.eh-form-card,
.eh-side-card {
  background: var(--eh-white);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 10px;
  padding: 1.75rem;
}

.eh-form-ph {
  border: 2px dashed rgba(201, 162, 75, 0.55);
  background: var(--eh-warm);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--eh-muted);
  font-size: 0.95rem;
}

.eh-form-ph strong {
  color: var(--eh-black);
  display: block;
  margin-bottom: 0.5rem;
}

.eh-form-ph ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.eh-side-card h3 {
  margin-top: 0;
}

.eh-side-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.eh-side-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.75rem;
}

.eh-side-steps .n {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--eh-black);
  color: var(--eh-gold);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eh-side-steps strong {
  display: block;
  margin-bottom: 0.15rem;
}

.eh-side-steps span {
  color: var(--eh-muted);
  font-size: 0.9rem;
}

/* ---- Footer ---- */
.eh-footer {
  background: var(--eh-black);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 1.25rem 2rem;
}

.eh-footer__inner {
  max-width: var(--eh-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.eh-footer h4 {
  color: var(--eh-white);
  margin: 0 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eh-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.eh-footer a:hover {
  color: var(--eh-gold);
}

.eh-footer__brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 38ch;
}

.eh-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.eh-footer__bottom {
  max-width: var(--eh-max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Sticky mobile call */
.eh-sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--eh-gold);
  color: var(--eh-black);
  text-align: center;
  font-weight: 700;
  padding: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

/* WP block alignment helpers */
.wp-block-group.alignwide,
.alignwide {
  max-width: var(--eh-max);
  margin-left: auto;
  margin-right: auto;
}

.wp-site-blocks > * + * {
  margin-block-start: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .eh-hero__inner,
  .eh-math,
  .eh-offer-grid,
  .eh-footer__inner {
    grid-template-columns: 1fr;
  }

  .eh-hero {
    padding: 3.5rem 1.25rem 5.5rem;
    background-position: center center;
  }

  .eh-steps-overlap {
    margin-top: -2.25rem;
    padding-bottom: 2.5rem;
  }

  .eh-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Only the first card overlaps the hero on mobile */
  .eh-steps .eh-step:nth-child(n + 2) {
    box-shadow: 0 6px 20px rgba(17, 17, 17, 0.08);
  }

  .eh-features {
    grid-template-columns: 1fr;
  }

  .eh-nav,
  .eh-header__cta {
    display: none;
  }

  .eh-header.is-open .eh-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--eh-black);
    padding: 1rem 1.25rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(201, 162, 75, 0.25);
  }

  .eh-header.is-open .eh-header__cta {
    display: block;
    position: absolute;
    top: calc(100% + 11rem);
    left: 1.25rem;
    right: 1.25rem;
  }

  .eh-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .eh-address-box {
    flex-direction: column;
  }

  .eh-sticky-call {
    display: block;
  }

  body {
    padding-bottom: 56px;
  }
}

@media (max-width: 600px) {
  .eh-hero {
    padding: 3rem 1.25rem 4.75rem;
  }

  .eh-steps-overlap {
    margin-top: -1.75rem;
  }

  .eh-section {
    padding: 3.25rem 0;
  }
}


/* ---- Inner pages: keep content centered (FAQ / Offer / About) ---- */
.eh-main--page,
.eh-main--page .wp-block-post-content {
  width: 100%;
  max-width: 100%;
}

.eh-main--page .eh-section__inner,
.eh-main--page .eh-prose,
.eh-main--page .eh-faq {
  margin-left: auto;
  margin-right: auto;
}

.eh-main--page .eh-section__head {
  margin-left: auto;
  margin-right: auto;
}

.eh-main--page .eh-section__head--left {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.eh-main--page .eh-offer-grid {
  width: 100%;
}


/* ---- Plugin forms: Contact Form 7 + WPForms ---- */
.eh-form-card--live,
.eh-form-card {
  background: var(--eh-white);
}

.eh-form-card .wpcf7,
.eh-form-card .wpforms-container,
.eh-form-card--live .wpcf7,
.eh-form-card--live .wpforms-container {
  margin: 0;
}

.eh-form-card label,
.eh-form-card .wpcf7-list-item-label,
.eh-form-card .wpforms-field-label,
.eh-form-card--live label,
.eh-form-card--live .wpforms-field-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--eh-black);
  margin: 0 0 0.4rem;
}

.eh-form-card input[type="text"],
.eh-form-card input[type="email"],
.eh-form-card input[type="tel"],
.eh-form-card input[type="url"],
.eh-form-card input[type="number"],
.eh-form-card textarea,
.eh-form-card select,
.eh-form-card .wpcf7 input,
.eh-form-card .wpcf7 textarea,
.eh-form-card .wpcf7 select,
.eh-form-card .wpforms-field input[type="text"],
.eh-form-card .wpforms-field input[type="email"],
.eh-form-card .wpforms-field input[type="tel"],
.eh-form-card .wpforms-field textarea,
.eh-form-card .wpforms-field select,
.eh-form-card--live input[type="text"],
.eh-form-card--live input[type="email"],
.eh-form-card--live input[type="tel"],
.eh-form-card--live textarea,
.eh-form-card--live select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 6px;
  background: var(--eh-white);
  color: var(--eh-black);
  margin-bottom: 1rem;
}

.eh-form-card textarea,
.eh-form-card--live textarea {
  min-height: 120px;
  resize: vertical;
}

.eh-form-card .wpcf7-submit,
.eh-form-card input[type="submit"],
.eh-form-card button[type="submit"],
.eh-form-card .wpforms-submit,
.eh-form-card--live .wpcf7-submit,
.eh-form-card--live input[type="submit"],
.eh-form-card--live button[type="submit"],
.eh-form-card--live .wpforms-submit,
.eh-form-card--live .wpforms-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--eh-gold) !important;
  color: var(--eh-black) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.9rem 1.5rem !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer;
  box-shadow: none !important;
}

.eh-form-card .wpcf7-submit:hover,
.eh-form-card input[type="submit"]:hover,
.eh-form-card .wpforms-submit:hover,
.eh-form-card--live .wpcf7-submit:hover,
.eh-form-card--live input[type="submit"]:hover,
.eh-form-card--live .wpforms-submit:hover {
  background: var(--eh-gold-dark) !important;
}

.eh-form-card .wpcf7-not-valid-tip,
.eh-form-card .wpforms-error,
.eh-form-card--live .wpcf7-not-valid-tip,
.eh-form-card--live .wpforms-error {
  color: #b42318;
  font-size: 0.85rem;
}

.eh-form-card .wpcf7-response-output,
.eh-form-card .wpforms-confirmation-container-full,
.eh-form-card--live .wpcf7-response-output,
.eh-form-card--live .wpforms-confirmation-container-full {
  margin: 1rem 0 0;
  border-radius: 6px;
}

/* Headshot size lock (overrides core image/figure styles) */
.eh-photo, figure.eh-photo, .wp-block-group figure.eh-photo {
  width: 220px !important; max-width: 220px !important;
  margin: 0 auto 1.25rem !important; float: none !important; display: block !important;
}
.eh-photo img, figure.eh-photo img {
  width: 100% !important; max-width: 220px !important; height: auto !important;
  border-radius: 14px !important; display: block !important; margin: 0 auto !important;
}
.eh-photo figcaption { text-align: center !important; }
@media (max-width: 600px) {
  .eh-photo, figure.eh-photo, .wp-block-group figure.eh-photo { width: 180px !important; max-width: 180px !important; }
  .eh-photo img, figure.eh-photo img { max-width: 180px !important; }
}

/* About caption: name + role */
.eh-photo figcaption { line-height: 1.3; }
.eh-photo__name { display: block; font-weight: 700; color: var(--eh-black); font-size: 0.98rem; }
.eh-photo__sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eh-photo__role { display: block; margin-top: 0.15rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eh-gold-dark); }

/* ---- v1.1.0: Cash offer vs. listing ---- */
.eh-compare th:nth-child(2), .eh-compare td:nth-child(2) { background: rgba(201,162,75,0.10); }
.eh-compare td:first-child { font-weight: 600; }
.eh-compare__cta { text-align: center; margin-top: 2rem; }
.eh-btn--outline-dark { background: transparent; color: var(--eh-black); border: 2px solid var(--eh-black); }
.eh-btn--outline-dark:hover { background: var(--eh-black); color: var(--eh-white); }
.eh-netsheet { position: relative; margin-top: 3.5rem; background: var(--eh-warm); border: 2px dashed var(--eh-gold); border-radius: 10px; padding: 2.5rem 2rem 2rem; }
.eh-netsheet__badge { position: absolute; top: -0.9rem; left: 1.5rem; background: var(--eh-black); color: var(--eh-gold); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 4px; }
.eh-netsheet h2 { margin-top: 0; }
.eh-netsheet__note { color: var(--eh-muted); font-size: 0.92rem; }
.eh-netsheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.eh-netsheet__col { background: var(--eh-white); border-radius: 8px; padding: 1.5rem; border-top: 4px solid #CFCFCF; }
.eh-netsheet__col--gold { border-top-color: var(--eh-gold); }
.eh-netsheet__col h3 { margin: 0 0 1rem; }
.eh-netsheet dl { margin: 0; }
.eh-netsheet dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid #ECE8DF; font-size: 0.95rem; }
.eh-netsheet dt { color: #333; } .eh-netsheet dd { margin: 0; font-weight: 600; white-space: nowrap; }
.eh-netsheet .eh-netsheet__total { border-bottom: none; border-top: 2px solid var(--eh-black); margin-top: 0.4rem; font-size: 1.05rem; }
.eh-netsheet .eh-netsheet__total dt, .eh-netsheet .eh-netsheet__total dd { font-weight: 700; color: var(--eh-black); }
.eh-netsheet__small { font-size: 0.85rem; color: var(--eh-muted); margin: 0.9rem 0 0; }
.eh-netsheet__takeaway { margin: 1.5rem 0 0; }

/* ---- v1.1.0: Step 2 label ---- */
.eh-step-label { display: inline-block; margin: 0 0 1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eh-gold-dark); }
.eh-step-label span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--eh-muted); }
.eh-step-label[hidden] { display: none !important; }


@media (max-width: 700px) {
  .eh-netsheet__grid { grid-template-columns: 1fr; }
  .eh-netsheet { padding: 2.25rem 1.1rem 1.5rem; }
  .eh-compare thead { display: none; }
  .eh-compare tr { display: block; padding: 0.75rem 0; border-bottom: 1px solid #E2DDD2; }
  .eh-compare td { display: block; border: none !important; padding: 0.2rem 0.5rem !important; }
  .eh-compare td:first-child { font-size: 0.95rem; }
  .eh-compare td:nth-child(2)::before { content: "Cash offer: "; font-weight: 700; }
  .eh-compare td:nth-child(3)::before { content: "Listing: "; font-weight: 700; }
}

/* ---- v1.2.0: consent line under form ---- */
.eh-consent { margin: 0.75rem 0 0; font-size: 0.82rem; line-height: 1.5; color: #6B6B6B; }
.eh-consent a { color: inherit; text-decoration: underline; }
.eh-footer__bottom a { color: inherit; text-decoration: underline; }
