/* Real Estate page only — preserves the v4 site frame */
.realestate-page .intro-copy p {
  font-size: 17px;
}

.realestate-content {
  min-width: 0;
}

.re-instagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  padding: 6px 0 40px;
  border-bottom: 1px solid #dedede;
}

.re-instagram-copy h2 {
  margin: 0 0 10px;
  max-width: 680px;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #252525;
}

.re-instagram-copy p {
  margin: 0;
  max-width: 660px;
  font-size: 17px;
  line-height: 1.6;
  color: #555;
}

.re-qr {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  justify-self: end;
}

.re-pricing {
  padding-top: 34px;
}

.re-section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 2px solid #3d3d3d;
}

.re-section-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  color: #3f3f3f;
}

.re-section-title span {
  color: #8a8a8a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.re-service {
  padding: 28px 0 30px;
  border-bottom: 1px solid #dedede;
}

.re-service:last-child {
  border-bottom: 0;
}

.re-service h3 {
  margin: 0 0 16px;
  color: #252525;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 650;
}

.re-service h3 span {
  color: #666;
  font-weight: 450;
}

.re-price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 520px;
}

.re-price-list li {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 0;
  border-bottom: 1px dotted #d8d8d8;
  font-size: 16px;
  line-height: 1.4;
}

.re-price-list li:last-child {
  border-bottom: 0;
}

.re-price-list strong {
  white-space: nowrap;
  font-weight: 650;
}

.re-single-price {
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 650;
  color: #222;
}

.re-note {
  margin: 17px 0 10px;
  max-width: 650px;
  font-size: 15px;
  line-height: 1.55;
  color: #666;
}

.re-sample {
  display: inline-block;
  margin-top: 4px;
  color: #333;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.re-sample:hover {
  color: #000;
}

.re-addons .re-price-list {
  max-width: 600px;
}

@media (max-width: 900px) {
  .re-instagram {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }
  .re-qr { max-width: 260px; }
}

@media (max-width: 780px) {
  .re-instagram {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 0;
  }
  .re-qr {
    justify-self: start;
    width: min(220px, 65vw);
    max-width: none;
  }
}

@media (max-width: 480px) {
  .re-instagram-copy h2 {
    font-size: 25px;
  }
  .re-section-title {
    display: block;
  }
  .re-section-title span {
    display: block;
    margin-top: 5px;
  }
  .re-service {
    padding: 24px 0;
  }
  .re-service h3 {
    font-size: 18px;
  }
  .re-price-list li {
    font-size: 15px;
    gap: 16px;
  }
}

.re-instagram-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.re-instagram-link:hover {
  color: #111;
}

.re-qr-wrap {
  justify-self: end;
  width: 300px;
  max-width: 100%;
  text-align: center;
}

.re-qr-caption {
  margin-top: 10px;
  color: #777;
  font-size: 13px;
  line-height: 1.3;
}

.re-qr-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.re-qr-link .re-qr {
  transition: transform .18s ease, opacity .18s ease;
}

.re-qr-link:hover .re-qr {
  transform: scale(1.015);
  opacity: .94;
}

@media (max-width: 780px) {
  .re-qr-wrap {
    justify-self: start;
    width: min(300px, 78vw);
  }
}

/* QR scan visibility override */
.re-instagram {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 480px) !important;
}
.re-qr-link {
  display:block;
  width:100%;
  max-width:480px !important;
  justify-self:end;
  text-align:center;
  text-decoration:none;
}
.re-qr {
  display:block;
  width:100% !important;
  max-width:480px !important;
  height:auto;
}
.re-qr-caption {
  display:block;
  margin-top:8px;
  font-size:13px;
  color:#666;
}
@media (max-width: 1050px) {
  .re-instagram { grid-template-columns:1fr !important; }
  .re-qr-link { justify-self:start; width:min(480px,100%); }
}


/* QR cropped-large patch:
   Blue decorative frame removed from image.
   Actual QR card is displayed much larger for monitor-to-phone scanning. */
.re-instagram {
  grid-template-columns: minmax(0, 1fr) minmax(470px, 560px) !important;
  gap: clamp(26px, 4vw, 50px) !important;
}

.re-qr-wrap {
  justify-self: end !important;
  width: 560px !important;
  max-width: 100% !important;
}

.re-qr-link,
.re-qr {
  width: 100% !important;
  max-width: 560px !important;
}

.re-qr {
  height: auto !important;
}

@media (max-width: 1180px) {
  .re-instagram {
    grid-template-columns: 1fr !important;
  }

  .re-qr-wrap {
    justify-self: start !important;
    width: min(560px, 100%) !important;
  }
}

@media (max-width: 600px) {
  .re-qr-wrap {
    width: 100% !important;
  }

  .re-qr-link,
  .re-qr {
    max-width: 100% !important;
  }
}
