/* ============================================
   HOME PAGE — Hero BG Slider + Full responsive
   ============================================ */

/* ══════════════ HERO ══════════════ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; }

/* Background image slideshow */
.hero__bg-slider { position: absolute; inset: 0; z-index: 0; }

.hero__bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.hero__bg-slide.is-active { opacity: 1; }

/* Slow Ken Burns zoom on active slide */
.hero__bg-slide.is-active {
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Dark overlay for text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 60, 0.7) 0%,
    rgba(0, 0, 40, 0.6) 40%,
    rgba(0, 0, 40, 0.75) 100%
  );
}

.hero__content { position: relative; z-index: 2; width: 100%; padding: 0 var(--container-pad); padding-bottom: 80px; }
.hero__label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero__label-line { width: 48px; height: 1px; background: var(--gold); }
.hero__label-text { font-size: 10px; font-weight: var(--fw-medium); letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.hero__title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: var(--fw-light); line-height: 1.1; color: var(--color-white); max-width: 700px; margin-bottom: 24px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__subtitle { font-size: var(--fs-md); font-weight: var(--fw-light); color: rgba(255,255,255,0.6); max-width: 520px; line-height: 1.7; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

/* Search bar */
.hero__search { display: flex; background: rgba(0,0,40,0.4); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(12px); margin-bottom: 48px; }
.search-field { flex: 1; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,0.08); }
.search-field:last-of-type { border-right: none; }
.search-field label { display: block; font-size: 9px; font-weight: var(--fw-medium); letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.search-field select, .search-field input { width: 100%; background: transparent; border: none; color: var(--color-white); font-size: 14px; font-weight: var(--fw-light); appearance: none; outline: none; }
.search-field select option { background: var(--navy); color: var(--color-white); }
.search-field input::placeholder { color: rgba(255,255,255,0.3); }
.hero__search .btn { flex-shrink: 0; padding: 20px 36px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: var(--fw-medium); letter-spacing: 2px; }
.hero__search .btn:hover { background: var(--gold-hover); }

/* Stats */
.hero__stats { display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,40,0.3); backdrop-filter: blur(8px); }
.hero__stat { flex: 1; padding: 28px 0; border-right: 1px solid rgba(255,255,255,0.08); text-align: center; }
.hero__stat:last-child { border-right: none; }
.hero__stat-number { font-family: var(--font-display); font-size: 42px; font-weight: var(--fw-light); color: var(--gold); line-height: 1; margin-bottom: 6px; }
.hero__stat-label { font-size: 10px; font-weight: var(--fw-medium); letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ══════════════ FEATURED ══════════════ */
.featured { background: var(--gray-100); }
.featured__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ══════════════ PROPERTY CARD ══════════════ */
.property-card { display: block; background: var(--color-white); overflow: hidden; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); cursor: pointer; text-decoration: none; color: inherit; }
.property-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,128,0.08); }
.property-card__image { position: relative; height: 240px; overflow: hidden; }
.property-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.property-card:hover .property-card__image img { transform: scale(1.05); }
.property-card__badge { position: absolute; top: 16px; left: 16px; padding: 6px 14px; background: var(--gold); font-size: 10px; font-weight: var(--fw-semibold); color: var(--navy); letter-spacing: 2px; text-transform: uppercase; }
.property-card__price-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(0,0,40,0.8)); }
.property-card__price { font-family: var(--font-display); font-size: 26px; font-weight: var(--fw-regular); color: var(--color-white); }
.property-card__body { padding: 20px; }
.property-card__type { font-size: 10px; font-weight: var(--fw-medium); color: var(--gold-dark); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.property-card__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-regular); color: var(--gray-900); margin-bottom: 6px; line-height: var(--lh-snug); }
.property-card__location { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: var(--fw-light); color: var(--gray-500); margin-bottom: 14px; }
.property-card__location svg { flex-shrink: 0; }
.property-card__features { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--gray-200); flex-wrap: wrap; }
.property-card__feature { font-size: 12px; font-weight: var(--fw-regular); color: var(--gray-600); display: flex; align-items: center; gap: 4px; }
.property-card__feature strong { font-weight: var(--fw-semibold); color: var(--navy); }
.property-card__ref { position: absolute; top: 16px; right: 16px; padding: 4px 10px; background: rgba(0,0,0,0.5); color: white; font-size: 10px; font-weight: var(--fw-medium); letter-spacing: 1px; }
.property-card__gallery-count { position: absolute; bottom: 44px; right: 12px; padding: 3px 8px; background: rgba(0,0,0,0.6); color: white; font-size: 10px; }
.property-card__vt-badge { position: absolute; bottom: 44px; left: 12px; padding: 4px 10px; background: rgba(0,0,128,0.85); color: var(--gold); font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 1px; backdrop-filter: blur(4px); }
.property-card__chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.prop-chip { display: inline-block; padding: 2px 8px; font-size: 10px; font-weight: var(--fw-medium); letter-spacing: 0.5px; background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }
.chip-energy { background: rgba(231,185,40,0.1); color: var(--gold-dark); border-color: rgba(231,185,40,0.3); }
.chip-vt { background: rgba(0,0,128,0.08); color: var(--navy); border-color: rgba(0,0,128,0.2); font-weight: var(--fw-semibold); }

/* ══════════════ SERVICES ══════════════ */
.services { background: var(--navy); position: relative; overflow: hidden; }
.services::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(231,185,40,0.04), transparent 70%); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.service-card { padding: 48px 36px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); transition: all var(--dur-slow); }
.service-card:hover { background: rgba(231,185,40,0.06); border-color: rgba(231,185,40,0.15); }
.service-card__number { font-family: var(--font-display); font-size: 48px; font-weight: var(--fw-light); color: rgba(231,185,40,0.15); line-height: 1; margin-bottom: 24px; }
.service-card h3 { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-regular); color: var(--color-white); margin-bottom: 16px; }
.service-card p { font-size: var(--fs-base); font-weight: var(--fw-light); color: rgba(255,255,255,0.5); line-height: var(--lh-relaxed); }
.service-card__line { width: 32px; height: 2px; background: var(--gold); margin-top: 24px; transition: width var(--dur-slow); }
.service-card:hover .service-card__line { width: 64px; }

/* ══════════════ CTA VALUATION ══════════════ */
.cta-valuation { display: flex; min-height: 400px; }
.cta-valuation__left { flex: 1; background: var(--gray-100); display: flex; flex-direction: column; justify-content: center; padding: 80px 64px; }
.cta-valuation__right { width: 45%; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.cta-valuation__right::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(231,185,40,0.08), transparent 60%), radial-gradient(circle at 70% 30%, rgba(70,130,180,0.06), transparent 60%); }
.cta-quote { position: relative; z-index: 1; text-align: center; max-width: 360px; padding: 0 40px; }
.cta-quote__mark { font-family: var(--font-display); font-size: 80px; font-weight: var(--fw-light); color: var(--gold); opacity: 0.3; line-height: 0.5; margin-bottom: 8px; }
.cta-quote p { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-light); font-style: italic; color: rgba(255,255,255,0.7); line-height: 1.6; }
.cta-quote cite { display: block; font-style: normal; font-size: 12px; font-weight: var(--fw-regular); color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-top: 20px; }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .cta-valuation { flex-direction: column; }
  .cta-valuation__right { width: 100%; min-height: 280px; }
  .cta-valuation__left { padding: 60px 40px; }
  .hero__content { padding-bottom: 60px; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 100px; }
  .hero__content { padding-bottom: 40px; }
  .hero__actions { margin-bottom: 32px; }
  .hero__actions .btn { padding: 14px 28px; font-size: 11px; width: 100%; justify-content: center; }
  .hero__search { flex-direction: column; margin-bottom: 32px; }
  .search-field { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 20px; }
  .hero__search .btn { padding: 16px; text-align: center; justify-content: center; }
  .hero__stats { flex-wrap: wrap; }
  .hero__stat { flex: 1 1 50%; padding: 20px 0; }
  .hero__stat-number { font-size: 32px; }
  .featured__header { flex-direction: column; align-items: flex-start; }
  .featured-grid { grid-template-columns: 1fr; }
  .property-card__image { height: 220px; }
  .property-card__price { font-size: 22px; }
  .service-card { padding: 32px 24px; }
  .service-card__number { font-size: 36px; }
  .cta-valuation__left { padding: 40px 24px; }
  .cta-quote__mark { font-size: 50px; }
  .cta-quote p { font-size: var(--fs-md); }
}
@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 14px; }
  .hero__stat { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
  .hero__stat:last-child { border-bottom: none; }
  .hero__stat-number { font-size: 28px; }
  .property-card__image { height: 200px; }
  .property-card__body { padding: 16px; }
  .property-card__features { gap: 12px; }
  .cta-valuation__right { min-height: 220px; padding: 40px 24px; }
}
