/* ==========================================================================
   FRONTEND PROPERTY LAYOUT (f-property-l.css)
   Clean & unified — with full support for Overview + Contact tabs
   ========================================================================== */

/* ===== TOKENS ===== */
:root {
  --fp-maxw: 1200px;
  --fp-radius: 14px;
  /* --fp-shadow: 0 4px 16px rgba(15, 23, 42, 0.06); */
  /* --fp-border: #e5e7eb; */
  --fp-text: #0f172a;
  --fp-text-soft: #334155;
  --fp-muted: #64748b;
  --fp-divider: #e5e7eb;
  --fp-primary: #a3181e;
  --fp-primary-2: #c3282f;
  /* --fp-bg: #fff; */
  --fp-bg-soft: #f8fafc;

  /* Feature icon sizes */
  --fprop-feature-icon: 26px;
  --fprop-feature-check: 16px;
}

/* ===== BASE ===== */
.fprop-detail,
.fprop-text-title,
.fprop-text-paragraph {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}
.fprop-detail {
  max-width: var(--fp-maxw);
  margin: 32px auto;
  padding: 0 16px;
  color: var(--fp-text);
}

/* ===== GENERIC CARD ===== */
.fprop-block {
  background: var(--fp-bg);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 20px;
  margin-bottom: 18px;
}

/* ===== TEXT TOOL ===== */
.fprop-text-title { margin: 0 0 10px; line-height: 1.25; }
.fprop-text-paragraph { margin: 0; line-height: 1.6; color: var(--fp-text-soft); }

/* ===== EMPTY STATE ===== */
.fprop-empty {
  text-align: center;
  color: var(--fp-muted);
  background: var(--fp-bg-soft);
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px;
}

/* ===== SUMMARY ===== */
.fprop-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ededee;
  border-radius: 32px;
  padding: 16px 24px;
  margin-bottom: 32px;
  box-shadow: 0 5px 3px rgba(15, 23, 42, .08);
}
.fprop-summary__icon {
  flex: 0 0 72px;
  width: 90px;
  height: 90px;
  border-radius: 24px;
  /* background: linear-gradient(135deg, var(--fp-primary) 0%, var(--fp-primary-2) 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
}
.fprop-summary__icon-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #b42525;
  box-shadow: 0 0 0 12px rgba(248, 213, 179, .35);
}
.fprop-summary__content { display: flex; flex-direction: column; gap: 6px; }
.fprop-summary__title {
  margin: 0;
  font-size: 24px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #b11b1f;
}
.fprop-summary__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: #4b5563;
}
.fprop-summary__meta-item { display: inline-flex; align-items: center; gap: 6px; }
.fprop-summary__meta-divider { width: 24px; height: 1px; background: #cbd5e1; }

/* ==========================================================================
   MAP
   ========================================================================== */
.fprop-map__title {
  margin: 0; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.fprop-map__canvas-wrapper { position: relative; z-index: 0; }
.fprop-map__canvas { position: relative; z-index: 0; }
.leaflet-container { z-index: 0 !important; }

/* Overlay toggle */
.fprop-map__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 1001;
  transition: opacity .25s ease;
}
.fprop-map__canvas-wrapper.is-overlay-visible .fprop-map__overlay {
  opacity: 1; pointer-events: auto;
}
.fprop-map__toggle {
  pointer-events: auto;
  border: none;
  background: rgba(15, 23, 42, .6);
  color: #fff;
  border-radius: 999px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.fprop-map__toggle:hover { background: rgba(37, 99, 235, .7); transform: translateY(-2px); }
.fprop-map__toggle.is-active { background: rgba(16, 185, 129, .8); }
.fprop-map__toggle i { font-size: 28px; }
.fprop-map__hint {
  pointer-events: none;
  background: rgba(15, 23, 42, .55);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .03em;
}

/* ==========================================================================
   OVERVIEW
   ========================================================================== */
.fprop-block--overview {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
  padding: 10px !important;
  margin-bottom: 18px;
  
}

/* Title (Support / Detail Price) */
.fprop-overview__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #77211e;
  margin: 12px 0 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
  padding: 30px !important;
}

/* Subtitle (Informasi Tambahan) */
.fprop-overview__subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #a3181e;
  margin-top: 12px;
  padding-inline: 30px;
  
}

/* Grid & group */
.fprop-overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding-inline: 30px;
}

/* JUDUL SUPPORT & DETAIL PRICE */
.fprop-overview__group h3 {
  font-size: 25px;
  color: #77211e;
  font-weight: 600;
  margin: 10px 0 8px;
  
}
.fprop-overview__group ul { 
  list-style: none; 
  padding: 8px 35px; 
  margin: 0; 
}

.fprop-overview__group li {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 6px;
}

.fprop-overview__group li strong { color: #0f172a; font-weight: 600; }

/* ==========================================================================
   OVERVIEW FEATURE GRID — Support Icons
   ========================================================================== */
.fprop-overview__features {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px 18px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 10px 0 20px !important;
}
.fprop-overview__features li {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 16px 16px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  transition: all .2s ease-in-out;
}
.fprop-overview__features li:hover {
  background: #f9fafb !important;
  transform: translateY(-2px);
}

/* Urutan ikon → teks → centang */
.fprop-overview__features li i:nth-of-type(2) { 
  order: 1; 
  font-size: var(--fprop-feature-icon); 
  color: #a71212; 
  
}

.fprop-overview__features li span { 
  order: 2; 
  font-size: 18px; 
  font-weight: 600; 
  color: #0f172a; 
}

.fprop-overview__features li i.bi-check-circle-fill {
  order: 3; 
  margin-left: 6px; 
  color: #3798d8; 
  font-size: var(--fprop-feature-check);
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.fprop-contact__meta,
.fprop-form__grid,
.fprop-form__actions,
.fprop-contact__list {
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.fprop-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 0;
  width: 100%;
}
.fprop-alert {
  display: none;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(185, 28, 28, 0.12);
}
.fprop-alert.is-visible {
  display: block;
}
.fprop-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fprop-field input,
.fprop-field textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #0f172a;
  background: #fff;
}
.fprop-textarea-wrap {
  position: relative;
  width: 100%;
}
.fprop-edit-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: none;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}
.fprop-edit-btn:hover { background: #e2e8f0; }

/* Tombol Submit WhatsApp di tengah */
.fprop-form__actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.fprop-btn-primary {
  border: none;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fprop-btn-primary:hover { filter: brightness(0.95); }
.fprop-contact__list { margin-top: 12px; }

.fprop-overview__additional {
  padding-inline: 20px;  /* atur jarak kiri-kanan */
}

.fprop-contact__number {
  font-size: 20px;
}

/* Nomor kontak tampil lebih tebal (semibold) */
.fprop-contact__number--strong{
  font-weight: 600;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .fprop-overview__features { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .fprop-detail { margin: 20px auto; }
  .fprop-block { padding: 16px; }
  .fprop-summary { flex-direction: column; align-items: flex-start; border-radius: 24px; padding: 18px; }
  .fprop-summary__icon { width: 60px; height: 60px; border-radius: 20px; }
  .fprop-summary__title { font-size: 20px; }
  .fprop-overview__grid { grid-template-columns: 1fr; gap: 16px; }
  .fprop-overview__features { grid-template-columns: 1fr !important; }

  :root {
    --fprop-feature-icon: 20px;
    --fprop-feature-check: 15px;
  }
}

/* Spacing kecil yang rapi antara card terakhir dan footer */
.fprop-detail > .fprop-card:last-child,
.fprop-detail > .fprop-block:last-child{
  margin-bottom: 25px !important;
}

/* ==== Fix: remove extra space below footer and prevent double scroll ==== */
.page-front .page-main{ padding-bottom:0 !important; margin-bottom:0 !important; }
.fprop-detail{ margin-bottom:0 !important; }
html, body{ overflow-y:auto; height:auto; }
