/* ==========================================================
   real-estate.css
   Page-specific styles for Digital Marketing for Real Estate
   SMEdigital - smedigital.in
   ========================================================== */

/* ── Floating decorations in hero ── */
.re-float {
  position: absolute;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(235, 96, 31, 0.18);
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
  animation: re-float 10s ease-in-out infinite;
  border: 1px solid rgba(235, 96, 31, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
}

.re-float--1 { top: 20%;    left: 4%;   animation-delay: 0s;   animation-duration: 10s; }
.re-float--2 { top: 35%;    right: 5%;  animation-delay: 2.5s; animation-duration: 12s; }
.re-float--3 { bottom: 26%; left: 7%;   animation-delay: 5s;   animation-duration: 9s; }
.re-float--4 { bottom: 16%; right: 9%;  animation-delay: 1.5s; animation-duration: 11s; }

@keyframes re-float {
  0%, 100% { transform: translateY(0);     opacity: 0.18; }
  50%       { transform: translateY(-16px); opacity: 0.4;  }
}

@media (max-width: 768px) { .re-float { display: none; } }

/* ── Industry chip ── */
.re-industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(235, 96, 31, 0.1);
  border: 1px solid rgba(235, 96, 31, 0.3);
  color: #eb601f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

/* ── Image badge ── */
.re-img-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(235, 96, 31, 0.88);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
}

/* ── Stats Section ── */
.re-stats-section {
  border-radius: 2rem;
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(235, 96, 31, 0.2);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.re-stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, #eb601f, transparent);
}

.re-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .re-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.re-stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.re-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(235, 96, 31, 0.15);
}

.re-stat-icon   { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.re-stat-number { font-size: 2.5rem; font-weight: 900; color: #eb601f; line-height: 1; margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif; }
.re-stat-label  { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; font-family: 'Montserrat', sans-serif; line-height: 1.4; }

/* ── Buyer Journey Section ── */
.re-journey-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .re-journey-wrapper { grid-template-columns: 1fr 1fr; }
}

/* Stage cards */
.re-stage-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: rgba(17,17,17,0.6);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.re-stage-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #eb601f;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.re-stage-card:hover {
  border-color: rgba(235,96,31,0.3);
  box-shadow: 0 6px 24px rgba(235,96,31,0.1);
  transform: translateX(6px);
}

.re-stage-card:hover::before { transform: scaleY(1); }

.re-stage-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235,96,31,0.1);
  border-radius: 0.75rem;
  border: 1px solid rgba(235,96,31,0.2);
}

.re-stage-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.2rem; font-family: 'Montserrat', sans-serif; }
.re-stage-desc  { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

.re-stage-arrow {
  color: rgba(235,96,31,0.4);
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.re-stage-card:hover .re-stage-arrow {
  color: #eb601f;
  transform: translateX(4px);
}

.re-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  background: #eb601f;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(235,96,31,0.35);
  font-family: 'Montserrat', sans-serif;
  margin-top: 2.5rem;
}

.re-cta-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 40px rgba(235,96,31,0.5);
  transform: scale(1.04);
}

/* ── Segments Card ── */
.re-segments-wrap { display: flex; flex-direction: column; gap: 1rem; }

.re-segments-card {
  background: rgba(13,13,13,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  transition: box-shadow 0.3s ease;
}

.re-segments-card:hover {
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(235,96,31,0.12);
}

.re-seg-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.re-seg-dots { display: flex; gap: 6px; }
.re-seg-dot  { width: 11px; height: 11px; border-radius: 50%; }
.re-seg-dot--r { background: #ff5f57; }
.re-seg-dot--y { background: #febc2e; }
.re-seg-dot--g { background: #28c840; }

.re-seg-title {
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  font-family: 'Montserrat', sans-serif;
}

.re-seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
}

@media (min-width: 480px) {
  .re-seg-grid { grid-template-columns: repeat(4, 1fr); }
}

.re-seg-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 1rem 0.6rem;
  background: rgba(13,13,13,0.95);
  text-align: center;
  cursor: default;
  transition: background 0.25s ease;
}

.re-seg-item:hover { background: rgba(235,96,31,0.06); }
.re-seg-emoji { font-size: 1.5rem; line-height: 1; }
.re-seg-name  { font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.55); font-family: 'Montserrat', sans-serif; line-height: 1.3; }

/* ── Localities card ── */
.re-localities-card {
  background: rgba(17,17,17,0.7);
  border: 1px solid rgba(235,96,31,0.15);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.re-loc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.re-loc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.re-loc-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.25s ease;
  cursor: default;
}

.re-loc-tag:hover {
  background: rgba(235,96,31,0.1);
  border-color: rgba(235,96,31,0.35);
  color: #eb601f;
}

/* ── Why Choose Section ── */
.re-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px)  { .re-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .re-why-grid { grid-template-columns: repeat(3, 1fr); } }

.re-why-card {
  background: rgba(17,17,17,0.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.re-why-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, rgba(235,96,31,0.4), transparent);
  transform: scaleX(0); transition: transform 0.4s ease;
}

.re-why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235,96,31,0.3);
  box-shadow: 0 12px 40px rgba(235,96,31,0.12);
}

.re-why-card:hover::after { transform: scaleX(1); }

.re-why-card--highlight {
  border-color: rgba(235,96,31,0.3);
  background: rgba(235,96,31,0.05);
}

.re-why-card--highlight::after {
  background: linear-gradient(to right, transparent, #eb601f, transparent);
  transform: scaleX(1);
}

.re-why-icon  { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.re-why-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; font-family: 'Montserrat', sans-serif; }
.re-why-desc  { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .re-stats-section   { padding: 2rem 1rem; }
  .re-stat-number     { font-size: 1.75rem; }
  .re-journey-wrapper { gap: 2.5rem; }
  .re-seg-grid        { grid-template-columns: repeat(3, 1fr); }
}