/* Real estate registration landing page (/create-free-real-estate-listings-india)
   Scoped to .re-page so ecommerce / category register pages are unaffected. */

.re-page {
  --re-primary: #004aad;
  --re-primary-dark: #003a8d;
  --re-primary-soft: #e7f1ff;
  --re-green: #00bf63;
  --re-wa: #25d366;
  --re-text: #1f2937;
  --re-muted: #6b7280;
  --re-border: #e5e7eb;
  --re-bg-alt: #f6f8fc;
  --re-radius: 16px;
  --re-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  color: var(--re-text);
  background: #fff;
}

.re-page .re-section { padding: 72px 0; }
.re-page .re-section--alt { background: var(--re-bg-alt); }
.re-page .re-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--re-primary);
  background: var(--re-primary-soft);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.re-page .re-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.re-page .re-lead { color: var(--re-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.re-page .re-head { text-align: center; margin-bottom: 40px; }

/* Buttons */
.re-page .re-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.75rem;
  font-size: 1.05rem;
  background: var(--re-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 191, 99, .35);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.re-page .re-btn:hover { background: #00a355; color: #fff; transform: translateY(-1px); }
.re-page .re-btn:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
.re-page .re-btn--primary { background: var(--re-primary); box-shadow: 0 8px 20px rgba(0, 74, 173, .3); }
.re-page .re-btn--primary:hover { background: var(--re-primary-dark); }

/* Hero */
.re-hero {
  background: linear-gradient(135deg, #003a8d 0%, #004aad 55%, #0a6bd6 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.re-hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
}
.re-hero .container { position: relative; z-index: 1; }
.re-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.re-hero h1 span { color: #7dffb8; }
.re-hero__sub { font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin-bottom: 1.5rem; max-width: 520px; }
.re-hero__list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; }
.re-hero__list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.re-hero__list i { color: #7dffb8; font-size: 1.15rem; }
.re-hero__trust { margin-top: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.re-hero__trust i { margin-right: .25rem; }
.re-hero__img { text-align: center; }
.re-hero__img img {
  max-width: 100%;
  max-height: 480px;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, .35));
}

/* Stats strip */
.re-stats { background: #fff; border-bottom: 1px solid var(--re-border); }
.re-stats .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding-top: 18px; padding-bottom: 18px; }
.re-stats span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--re-text); font-size: .95rem; }
.re-stats i { color: var(--re-green); font-size: 1.1rem; }

/* Steps */
.re-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.re-step {
  background: #fff;
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--re-shadow);
  position: relative;
}
.re-step__num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--re-primary); color: #fff; font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.re-step__icon {
  width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 18px; background: var(--re-primary-soft); color: var(--re-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
}
.re-step:nth-child(4) .re-step__icon { background: #e6f9ee; color: #15a34a; }
.re-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.re-step p { margin: 0; color: var(--re-muted); font-size: .92rem; }

/* Benefit cards */
.re-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.re-card {
  background: #fff;
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  padding: 24px;
  height: 100%;
  transition: box-shadow .15s ease, transform .15s ease;
}
.re-card:hover { box-shadow: var(--re-shadow); transform: translateY(-2px); }
.re-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--re-primary-soft); color: var(--re-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 14px;
}
.re-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.re-card p { margin: 0; color: var(--re-muted); font-size: .93rem; }

/* WhatsApp highlight */
.re-wa {
  background: linear-gradient(135deg, #0b3d2e 0%, #128c7e 100%);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.re-wa__icon { font-size: 3.5rem; color: var(--re-wa); line-height: 1; }
.re-wa h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: .4rem; }
.re-wa p { margin: 0; color: rgba(255, 255, 255, .85); }
.re-wa__text { flex: 1 1 320px; }

/* Plans */
.re-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.re-plan {
  background: #fff; border: 1px solid var(--re-border); border-radius: 20px;
  padding: 32px 28px; position: relative; display: flex; flex-direction: column;
}
.re-plan--pro { border: 2px solid var(--re-primary); box-shadow: var(--re-shadow); }
.re-plan__tag {
  position: absolute; top: -13px; left: 28px;
  background: var(--re-primary); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .25rem .75rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
}
.re-plan h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .25rem; }
.re-plan__price { font-size: 2rem; font-weight: 800; margin-bottom: .1rem; }
.re-plan__price small { font-size: .95rem; font-weight: 600; color: var(--re-muted); }
.re-plan__note { color: var(--re-muted); font-size: .9rem; margin-bottom: 1rem; }
.re-plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; flex: 1; }
.re-plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.re-plan li i { color: var(--re-green); margin-top: .15rem; }
.re-plan .re-btn { width: 100%; }

/* FAQ */
.re-page .accordion-item { border: 1px solid var(--re-border); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.re-page .accordion-button { font-weight: 700; color: var(--re-text); background: #fff; }
.re-page .accordion-button:not(.collapsed) { color: var(--re-primary); background: var(--re-primary-soft); box-shadow: none; }

/* Final CTA */
.re-final {
  background: linear-gradient(135deg, #004aad, #0a6bd6);
  color: #fff; text-align: center; padding: 64px 0;
}
.re-final h2 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.re-final p { color: rgba(255, 255, 255, .88); margin-bottom: 1.5rem; }

/* Tablet / mobile */
@media (max-width: 991px) {
  .re-steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .re-grid { grid-template-columns: repeat(2, 1fr); }
  .re-hero__img { margin-top: 32px; }
}
@media (max-width: 767px) {
  .re-page .re-section { padding: 48px 0; }
  .re-hero { padding: 40px 0 48px; }
  .re-hero .re-btn { width: 100%; }
  .re-plans { grid-template-columns: 1fr; }
  .re-wa { padding: 28px 22px; }
  .re-final { padding-bottom: 96px; } /* room for sticky mobile CTA */
}
@media (max-width: 575px) {
  .re-steps, .re-grid { grid-template-columns: 1fr; }
  .re-stats .container { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .re-page * { transition: none !important; }
}

/* Override shared custom.css heading/text colours on dark sections */
.re-page .re-hero h1,
.re-page .re-hero .re-hero__list li,
.re-page .re-hero .re-hero__list span,
.re-page .re-wa h2,
.re-page .re-final h2 { color: #fff; }
.re-page .re-hero .re-hero__sub { color: rgba(255, 255, 255, .9); }
.re-page .re-hero .re-hero__trust,
.re-page .re-wa p,
.re-page .re-final p { color: rgba(255, 255, 255, .85); }
.re-page .re-title, .re-page .re-step h3, .re-page .re-card h3, .re-page .re-plan h3 { color: var(--re-text); }
.re-page .re-hero__img img { height: auto; }
.re-page img { max-width: 100%; }

/* Compact step cards on phones: 2 per row instead of 4 tall stacked cards */
@media (max-width: 575px) {
  .re-steps { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .re-step { padding: 24px 12px 16px; }
  .re-step__icon { width: 52px; height: 52px; font-size: 1.5rem; }
  .re-step h3 { font-size: .95rem; }
  .re-step p { font-size: .85rem; }
}

/* Hero image framed as a card so its own blue background doesn't need to match the section gradient.
   aspect-ratio + object-position crop the thin white strip at the bottom of the source image. */
.re-page .re-hero__img img {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1024 / 815;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 48px rgba(0, 20, 70, .45);
  filter: none;
}

/* Transparent hero art: floats directly on the gradient, no frame. Labels are real HTML chips. */
.re-page .re-hero__art { position: relative; display: inline-block; max-width: 100%; }
.re-page .re-hero__img img {
  width: auto; max-width: 100%; height: auto; max-height: 460px;
  aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 24px 36px rgba(0, 20, 70, .45));
}
.re-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
  white-space: nowrap; box-shadow: 0 8px 18px rgba(0, 20, 70, .3);
}
.re-chip--green { background: #00bf63; color: #fff; }
.re-chip--white { background: #fff; color: #1f2937; }
.re-chip--blue  { background: #1e7bf0; color: #fff; }
.re-chip--tl { top: 18%; left: -22%; }
.re-chip--ml { top: 56%; left: -14%; }
.re-chip--br { bottom: 14%; right: -24%; }
@media (max-width: 575px) {
  .re-chip { font-size: .72rem; padding: .35rem .65rem; }
  .re-chip--tl { left: -6%; } .re-chip--ml { left: -4%; } .re-chip--br { right: -6%; }
}

/* Chip placement: sit on blank phone areas, never over listing text */
.re-chip { font-size: .8rem; }
.re-chip--tl { top: 3%;  left: auto; right: calc(100% - 40px); }
.re-chip--ml { top: 75%; left: auto; right: calc(100% - 40px); }
.re-chip--br { bottom: 9%; right: auto; left: calc(100% - 40px); }
@media (max-width: 575px) {
  .re-chip--tl { top: -14px; right: auto; left: -2%; }
  .re-chip--ml { display: none; }
  .re-chip--br { bottom: 4%; left: auto; right: -2%; }
}
