/* ==========================================================================
   Agent Single Profile Stylesheet (eva-malfrey.css)
   Derived from D:\RandD\Team\eva-malfrey.html
   ========================================================================== */

:root {
  --ink: #0E0E12;
  --ink-85: rgba(14, 14, 18, 0.84);
  --ink-55: rgba(14, 14, 18, 0.55);
  --blue: #364CFF;
  --bg: #fafcfd;
  --line: #f0f0f0;
  --unit-border: #f3f3f3;
  --footer: #060606;
  --footer-font: #bebebe;
  --radius: 10px;
}

/* ===== HEADER OVERRIDE FOR THIS PAGE ===== */
header,
header.transparent {
  position: relative !important;
  background: #0E0E12 !important;
}

/* ===== AGENT HERO ===== */
.darkband {
  background: rgba(14, 14, 18, 0.9);
  height: 150px;
}

.hero-wrap {
  margin-top: -90px;
  padding: 0 60px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 5px 30px rgba(38, 42, 76, 0.06);
  border: 1px solid var(--unit-border);
}

.hero-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-photo {
  flex: 0 0 30%;
  max-width: 30%;
  min-width: 260px;
}

.hero-photo img {
  width: 100%;
  height: 375px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  background: #0E0E12;
  display: block;
}

.hero-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 10px 0;
}

.stars-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-85);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.stars-line .stars {
  color: #f3a712;
}

.stars-line .stars i {
  font-size: 14px;
}

.agent-name {
  font-family: 'TLP', 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
}

.agent-dre {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: var(--ink-85);
  font-weight: 500;
}

.agent-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.agent-social a {
  font-size: 17px;
  color: var(--ink);
  transition: color 0.2s ease;
}

.agent-social a:hover {
  color: var(--blue);
}

.agent-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.wp-btn {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 12px 24px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wp-btn:hover {
  background: #000;
  color: #fff;
}

.wp-btn.inv {
  background: #fff;
  color: var(--ink);
}

.wp-btn.inv:hover {
  background: var(--ink);
  color: #fff;
}

/* ===== INTRO + CONTACT ===== */
.midwrap {
  padding: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.mid-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 60px;
  align-items: start;
  box-shadow: 0 5px 30px rgba(38, 42, 76, 0.05);
  border: 1px solid var(--unit-border);
}

.h-sec {
  font-family: 'TLP', 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.h-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 12px;
}

.intro-p {
  font-size: 15px;
  color: var(--ink-85);
  margin-bottom: 16px;
  line-height: 1.7;
  font-family: 'Poppins', sans-serif;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips a,
.chips span {
  background: var(--unit-border);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink-85);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.chips a:hover {
  background: var(--ink);
  color: #fff;
}

.fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  margin-top: 26px;
}

.field .lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-55);
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field .val {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-top: 3px;
}

/* contact section */
.cdetail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-85);
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
}

.cdetail svg {
  fill: var(--ink-85);
  flex: none;
}

.cdetail a {
  color: var(--ink-85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cdetail a:hover {
  color: var(--blue);
}

.cform {
  margin-top: 18px;
}

.cform input,
.cform textarea {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  padding: 13px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 12px;
  box-sizing: border-box;
}

.cform input:focus,
.cform textarea:focus {
  outline: 0;
  border-color: var(--ink);
}

.cform .three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cform .three input {
  margin-bottom: 0;
}

.cform textarea {
  min-height: 160px;
  resize: vertical;
  margin-top: 10px;
}

.gdpr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ink-85);
  margin: 8px 0 16px;
  line-height: 1.5;
}

.gdpr input {
  margin-top: 3px;
  width: auto;
}

.gdpr a {
  color: var(--ink);
  font-weight: 600;
}

.cform .send {
  background: var(--ink);
  color: #fff;
  border: 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  padding: 13px 50px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: auto;
}

.cform .send:hover {
  background: #000;
}

.sent {
  display: none;
  background: #f4f4f4;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  margin-top: 12px;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}

.sent.show {
  display: block;
}

/* ===== MY LISTINGS ===== */
.listings {
  padding: 0 60px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.listings-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 45px;
  color: var(--ink);
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 20px 60px 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.reviews h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.rev-count {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.rev-count .stars {
  color: #f3a712;
}

.rev-count .stars i {
  font-size: 14px;
}

.review {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--unit-border);
  margin-bottom: 16px;
}

.review .row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
}

.rev-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
}

.rev-name {
  font-weight: 700;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
}

.rev-title {
  color: var(--ink-85);
  font-size: 14px;
}

.rev-stars {
  color: #f3a712;
  margin-top: 4px;
}

.rev-stars i {
  font-size: 13px;
}

.rev-stars .n {
  color: var(--ink-85);
  font-size: 13px;
  margin-left: 6px;
}

.rev-date {
  color: var(--ink-85);
  font-size: 13px;
  margin: 6px 0;
}

.rev-content {
  color: var(--ink-85);
  font-size: 14.5px;
  white-space: pre-line;
  margin-top: 8px;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}

.rev-login {
  background: #f4f4f4;
  border-radius: 6px;
  padding: 16px;
  margin-top: 18px;
  color: var(--ink-85);
  font-size: 14px;
}

.rev-login span {
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
}

/* FLOATING BUTTONS */
.fab {
  position: fixed;
  right: 20px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.fab:hover {
  transform: translateY(-2px);
}

.fab.top {
  bottom: 74px;
}

.fab.mail {
  bottom: 20px;
}

/* SHARE TOAST */
#share-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0E0E12;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

#share-toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* RIGHT FLOATING SOCIAL & CONTACT WIDGET */
.right-floating-social {
  position: fixed;
  right: 24px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 99999;
}

.right-floating-social .social-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.right-floating-social.collapsed .social-items {
  max-height: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.right-floating-social.collapsed .social-items * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.right-floating-social a,
.right-floating-social button {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0E0E12;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  outline: none;
  margin: 0;
  padding: 0;
}

/* Icon reset to prevent double circle ghost artifacts */
.right-floating-social a i,
.right-floating-social button i {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 17px !important;
  color: inherit !important;
  display: inline-block !important;
}

.right-floating-social a::before,
.right-floating-social a::after,
.right-floating-social button::before,
.right-floating-social button::after {
  display: none !important;
  content: none !important;
}

.right-floating-social a:hover,
.right-floating-social button:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.right-floating-social a.linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}

.right-floating-social a.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.right-floating-social a.instagram:hover {
  background: #E4405F;
  border-color: #E4405F;
}

.right-floating-social a.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.right-floating-social a.email:hover {
  background: #364CFF;
  border-color: #364CFF;
}

.right-floating-social .floating-toggle-btn {
  background: #0E0E12;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.right-floating-social .floating-toggle-btn:hover {
  background: #000;
  border-color: #ffffff;
}

.right-floating-social .floating-toggle-btn i {
  transition: transform 0.3s ease;
}

.right-floating-social a[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0E0E12;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block !important;
}

.right-floating-social a[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.fab.top,
.fab.mail {
  display: none !important;
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
  .right-floating-social {
    display: none;
  }

  .hero-wrap,
  .midwrap,
  .listings,
  .reviews {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-info {
    align-items: center;
    text-align: center;
  }

  .agent-social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .agent-btns {
    justify-content: center;
  }

  .hero-photo {
    flex-basis: 100%;
    max-width: 100%;
  }

  .hero-photo img {
    height: 400px;
  }

  .mid-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 768px) {
  .fab.top {
    bottom: 120px;
  }

  .fab.mail {
    bottom: 66px;
  }
}

@media (max-width: 600px) {
  .props {
    grid-template-columns: 1fr;
  }

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

  .cform .three {
    grid-template-columns: 1fr;
  }
}

.margin-top-30px {
  margin-top: 30px !important;
}