/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
  margin-top: var(--nav-height);
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.48)),
    url("../img/assets/woolworth.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: 80px 0 100px;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

/* Glass Card */
.hero-card {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  color: #fff;
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-card-top {
  padding: 24px 24px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 780px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.7));
}

.hero-sub {
  text-align: center;
  margin: 0;
  padding: 0 24px 20px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.96;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 10px;
  padding: 0 20px 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.tab {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.9;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  opacity: 1;
  transform: translateY(-1px);
}

.tab.active {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.35);
  opacity: 1;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Search */
.search {
  display: flex;
  gap: 0;
  padding: 0 20px 20px;
  align-items: stretch;
}

.search input {
  flex: 1;
  border: 0;
  padding: 17px 18px;
  font-size: 15px;
  outline: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: 1px solid var(--line);
  border-right: 0;
  transition: box-shadow var(--transition-fast);
}

.search input:focus {
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.15);
}

.search button {
  width: 68px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.search button:hover {
  background: var(--red-hover);
  transform: scale(1.02);
}

.search button:active {
  transform: scale(0.98);
}

.idx-note {
  padding: 0 20px 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-style: italic;
}

/* =============================================================================
   QUICK ACTIONS
   ============================================================================= */

.quick-actions {
  padding-top: 36px;
}

.qa-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.qa-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 20px;
  text-align: center;
  min-height: 140px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.qa-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.qa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-dark);
}

.qa-card:hover::before {
  transform: scaleX(1);
}

.qa-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  color: var(--red);
  transition: all var(--transition-base);
}

.qa-card:hover .qa-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(227, 27, 35, 0.18);
}

.qa-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.qa-card:hover h3 {
  color: var(--red);
}

.qa-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.qa-icon .icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* =============================================================================
   FEATURED AREAS
   ============================================================================= */

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.area {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1a1a;
  min-height: 180px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: all var(--transition-base);
}

.area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.62));
  z-index: 1;
  transition: opacity var(--transition-base);
}

.area:hover::before {
  opacity: 0.85;
}

.area img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.area .label {
  position: absolute;
  inset: auto 16px 16px 16px;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
    0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: transform var(--transition-base);
}

.area:hover img {
  transform: scale(1.08);
}

.area:hover .label {
  transform: translateY(-4px);
}

.area:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.area.placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.area.placeholder::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

/* =============================================================================
   TESTIMONIALS SECTION
   ============================================================================= */

.testimonials {
  background: var(--bg-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* =============================================================================
   PROPERTY MANAGEMENT CALLOUT
   ============================================================================= */

.pm-callout {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pm-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(227, 27, 35, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 50%, rgba(227, 27, 35, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pm-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pm-info h2 {
  margin: 0 0 16px;
  font-size: 36px;
}

.pm-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.pm-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.cta-section {
  background: var(--red);
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  margin: 0 0 12px;
  color: #fff;
}

.cta-content p {
  font-size: 18px;
  margin: 0 0 32px;
  opacity: 0.95;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn {
  background: #fff;
  color: var(--red);
  border-color: #fff;
}

.cta-actions .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.cta-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1020px) {
  .qa-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero {
    min-height: 560px;
    background-attachment: scroll;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-logo {
    max-width: 680px;
  }

  .pm-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 620px) {
  .qa-row {
    grid-template-columns: 1fr;
  }

  .areas {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 64px 0 80px;
  }

  .hero-card-top {
    padding: 20px 18px 8px;
  }

  .hero-sub {
    font-size: 16px;
    padding: 0 18px 18px;
  }

  .tabs {
    padding: 0 16px 14px;
  }

  .search {
    padding: 0 16px 16px;
  }

  .hero-logo {
    max-width: 540px;
  }

  .area .label {
    font-size: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pm-info h2 {
    font-size: 28px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

/* =============================================================================
   HERO ACTIONS (NO IDX SEARCH)
   ============================================================================= */

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 4px 24px 32px;
}

.hero-actions .btn-secondary {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.seller-card {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.seller-card p {
  color: var(--muted);
  margin: 8px 0 0;
}

@media (max-width: 620px) {
  .hero-actions,
  .seller-card {
    flex-direction: column;
  }

  .seller-card {
    align-items: stretch;
  }
}
