/* ============================================================
   AgriGrow Agrovet - Client Styles (FINAL v18)
   - Velvet Curtain cinematic hero (clip-path wipe + shimmer + ripples)
   - WhatsApp module (floating button, tooltip, product/category links)
   - Negotiable price pill (zero / empty price)
   - Fully responsive across all breakpoints
   ============================================================ */
:root {
  --green-dark:   #1B5E20;
  --green-main:   #2E7D32;
  --green-light:  #66BB6A;
  --green-soft:   #E8F5E9;
  --gold:         #F9A825;
  --cream:        #F5F7F3;
  --text-dark:    #1B1B1B;
  --text-muted:   #556B5E;
  --white:        #FFFFFF;
  --wa-green:     #25D366;
  --wa-green-dark:#128C7E;
  --shadow-sm:    0 2px 8px rgba(27,94,32,0.08);
  --shadow-md:    0 6px 24px rgba(27,94,32,0.12);
  --shadow-lg:    0 12px 40px rgba(27,94,32,0.18);
  --radius:       14px;

  /* Negotiable pill */
  --neg-bg:       #FFF3CD;
  --neg-bg-2:     #FFE8A3;
  --neg-text:     #7A5C00;
  --neg-border:   #F0D77B;

  /* Hero timing */
  --hv-transition: 1400ms;
  --hv-ease:       cubic-bezier(0.83, 0, 0.17, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; max-width: 100vw; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
}
h1,h2,h3,h4,h5,h6, .brand-name, .footer-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
img { max-width: 100%; height: auto; }

/* ---------- TOP BAR ---------- */
.top-bar { background: var(--green-dark); color: #d8e9d9; font-size: 0.85rem; padding: 8px 0; }
.top-bar i { color: var(--green-light); margin-right: 4px; }
.top-bar span { white-space: nowrap; }
.top-bar a { color: inherit; text-decoration: none; transition: color .2s; }
.top-bar a:hover { color: var(--wa-green); }
.top-bar .text-wa { color: var(--wa-green) !important; }

/* ---------- NAVBAR ---------- */
.main-navbar { background: var(--white); box-shadow: var(--shadow-sm); padding: 10px 0; }
.brand-icon { font-size: 2.2rem; color: var(--green-main); background: var(--green-soft); padding: 8px; border-radius: 12px; }
.brand-name { font-size: 1.3rem; color: var(--green-dark); line-height: 1; }
.brand-sub { font-size: 0.7rem; letter-spacing: 3px; color: var(--gold); font-weight: 600; }
.main-navbar .nav-link { color: var(--text-dark); font-weight: 500; margin: 0 6px; padding: 8px 12px !important; border-radius: 8px; transition: all .2s; }
.main-navbar .nav-link:hover { color: var(--green-main); background: var(--green-soft); }
.btn-chat-nav { background: var(--green-main); color: #fff !important; border-radius: 30px; padding: 8px 18px !important; font-weight: 600; border: none; }
.btn-chat-nav:hover { background: var(--green-dark); color: #fff; }
.btn-login-nav { background: transparent; color: var(--text-muted) !important; border: 2px solid #d8e0da; border-radius: 30px; padding: 6px 16px !important; font-weight: 600; font-size: 0.85rem; transition: all .25s; }
.btn-login-nav:hover { background: var(--green-soft); color: var(--green-dark) !important; border-color: var(--green-light); }

/* ============================================================
   VELVET CURTAIN HERO
   ============================================================ */
.hero-velvet {
  position: relative;
  height: 100vh;
  min-height: 680px;
  background: #050d06;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- SLIDE STAGE ---------- */
.hero-velvet-stage { position: absolute; inset: 0; z-index: 1; }

.hv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
  transition:
    clip-path var(--hv-transition) var(--hv-ease),
    opacity 400ms ease 600ms;
}
.hv-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hv-layer { position: absolute; inset: -6%; will-change: transform; }

.hv-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s var(--hv-ease);
  filter: saturate(1.15) contrast(1.05);
}
.hv-slide.is-active .hv-bg { transform: scale(1.02); }

.hv-tint {
  background:
    radial-gradient(ellipse at 30% 40%, transparent 20%, rgba(0,0,0,0.5) 75%),
    linear-gradient(155deg,
      rgba(10,26,13,0.72) 0%,
      rgba(10,26,13,0.35) 40%,
      rgba(10,26,13,0.88) 100%);
  mix-blend-mode: multiply;
}

.hv-grain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.09 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- SHIMMER SWEEP ---------- */
.hv-shimmer {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 40%,
    rgba(249,168,37,0.0) 48%,
    rgba(249,168,37,0.55) 50%,
    rgba(255,255,255,0.7) 51%,
    rgba(249,168,37,0.55) 52%,
    rgba(249,168,37,0.0) 60%,
    transparent 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  opacity: 0;
  mix-blend-mode: screen;
}
.hv-shimmer.sweep { animation: hvShimmerSweep var(--hv-transition) var(--hv-ease); }
@keyframes hvShimmerSweep {
  0%   { opacity: 0; background-position: 100% 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; background-position: -100% 0; }
}

/* ---------- RADIAL RIPPLES ---------- */
.hv-ripples {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hv-ripples span {
  position: absolute;
  width: 100px; height: 100px;
  border: 2px solid rgba(249,168,37,0.5);
  border-radius: 50%;
  opacity: 0;
}
.hv-ripples.burst span { animation: hvRipple 1600ms var(--hv-ease) forwards; }
.hv-ripples.burst span:nth-child(2) { animation-delay: 150ms; border-color: rgba(255,255,255,0.4); }
.hv-ripples.burst span:nth-child(3) { animation-delay: 300ms; border-color: rgba(102,187,106,0.5); }
@keyframes hvRipple {
  0%   { opacity: 0.9; transform: scale(1);   }
  100% { opacity: 0;   transform: scale(18); }
}

/* ---------- HERO CONTENT ---------- */
.hv-content {
  position: relative; z-index: 10;
  width: 100%; max-width: 1140px;
  padding: 0 1.5rem; margin: 0 auto;
}
.hv-content-inner { max-width: 780px; }

.hv-eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: #c8e6c9;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(200,230,201,0.35);
  border-radius: 999px;
  background: rgba(10,26,13,0.55);
  backdrop-filter: blur(10px);
  margin-bottom: 1.75rem;
  opacity: 0; transform: translateY(12px);
  animation: hvEnter 900ms var(--hv-ease) 200ms forwards;
}
.hv-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: hvDotPulse 2s ease-in-out infinite;
}
@keyframes hvDotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.3); opacity: 0.7; }
}

.hv-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: #fff;
}
.hv-title-line {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: hvEnter 900ms var(--hv-ease) forwards;
}
.hv-title-line:nth-child(1) { animation-delay: 350ms; }
.hv-title-line:nth-child(2) { animation-delay: 500ms; }

.hv-title-text {
  display: inline-block;
  transition: transform 700ms var(--hv-ease), opacity 400ms ease;
}
.hv-title-text.accent {
  background: linear-gradient(135deg, #a5d6a7 0%, #66bb6a 50%, #f9a825 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-weight: 700;
}

.hv-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 0 2.5rem;
  line-height: 1.65;
  font-weight: 400;
  overflow: hidden;
  opacity: 0;
  animation: hvEnter 900ms var(--hv-ease) 650ms forwards;
}
.hv-sub-text {
  display: inline-block;
  transition: transform 700ms var(--hv-ease), opacity 400ms ease;
}

.hv-actions {
  display: flex; gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: hvEnter 900ms var(--hv-ease) 800ms forwards;
}
.hv-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.9rem 2rem; border-radius: 999px;
  font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.hv-btn-primary {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: #fff;
  box-shadow: 0 10px 30px rgba(76,175,80,0.45);
}
.hv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(76,175,80,0.6);
  color: #fff;
}
.hv-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.hv-btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.hv-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  opacity: 0;
  animation: hvEnter 900ms var(--hv-ease) 950ms forwards;
}
.hv-meta-item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(200,230,201,0.85);
  letter-spacing: 0.03em;
}
.hv-meta-item i { font-size: 1.05rem; color: var(--gold); }

@keyframes hvEnter {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- PROGRESS DOTS (right side) ---------- */
.hv-dots {
  position: absolute;
  right: 2.5rem; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0.85rem;
  z-index: 11;
}
.hv-dot {
  background: transparent; border: none;
  width: 20px; height: 20px;
  padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hv-dot::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s ease, transform 0.3s ease;
}
.hv-dot:hover::before { background: rgba(255,255,255,0.6); }
.hv-dot.is-active::before { background: var(--gold); transform: scale(1.3); }
.hv-dot-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
}
.hv-dot.is-active .hv-dot-fill {
  border-color: rgba(249,168,37,0.35);
  animation: hvDotRing 2.4s ease-in-out infinite;
}
@keyframes hvDotRing {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.5); opacity: 0.4; }
}

/* ---------- SCROLL CUE ---------- */
.hv-scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.hv-scroll-cue:hover { color: #fff; }
.hv-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, rgba(249,168,37,0.9));
  position: relative;
  overflow: hidden;
}
.hv-scroll-line::after {
  content: "";
  position: absolute;
  top: -40%; left: 0;
  width: 100%; height: 40%;
  background: #fff;
  animation: hvScrollLine 2s ease-in-out infinite;
}
@keyframes hvScrollLine {
  0%   { top: -40%; }
  100% { top: 100%; }
}
.hv-scroll-text { display: block; }

/* ---------- HIGHLIGHTS ---------- */
.highlights-section {
  background: var(--cream); padding: 50px 0;
  margin-top: -60px;
  position: relative; z-index: 5;
  border-radius: 30px 30px 0 0;
}
.highlight-card {
  background: #fff; padding: 28px 22px;
  border-radius: var(--radius); text-align: center;
  box-shadow: var(--shadow-sm); transition: all .3s;
  height: 100%; border-bottom: 4px solid var(--green-light);
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-bottom-color: var(--gold); }
.highlight-card i { font-size: 2.3rem; color: var(--green-main); margin-bottom: 12px; display: block; }
.highlight-card h5 { font-size: 1rem; margin-bottom: 8px; color: var(--green-dark); }
.highlight-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---------- SECTIONS ---------- */
.section-pad { padding: 80px 0; }
.bg-soft { background: var(--cream); }
.section-title { margin-bottom: 50px; }
.eyebrow {
  display: inline-block; color: var(--green-main);
  font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; font-size: 0.8rem;
  margin-bottom: 10px; position: relative; padding: 0 40px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; position: absolute; top: 50%;
  width: 30px; height: 2px; background: var(--green-light);
}
.eyebrow::before { left: 0; } .eyebrow::after { right: 0; }
.eyebrow.light { color: var(--green-light); }
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); color: var(--green-dark); margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; }
.section-title.text-white h2 { color: #fff; }

/* ---------- CATEGORY CARDS ---------- */
.category-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all .35s; cursor: pointer; height: 100%;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.category-card .cat-img {
  height: 190px; background-size: cover; background-position: center;
  position: relative;
}
.category-card .cat-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27,94,32,0.7) 100%);
}
.category-card .cat-body { padding: 20px; }
.category-card h5 { color: var(--green-dark); font-size: 1.15rem; margin-bottom: 8px; }
.category-card p {
  color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.category-card .cat-link { color: var(--green-main); font-weight: 600; font-size: 0.9rem; }

/* Category WhatsApp enquire button */
.category-card .btn-wa-enquire {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  color: var(--wa-green) !important;
  border: 1px solid var(--wa-green);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.category-card .btn-wa-enquire:hover {
  background: var(--wa-green);
  color: #fff !important;
}

/* ---------- PRODUCT CARDS ---------- */
.btn-filter {
  border-radius: 30px; padding: 8px 22px;
  border: 2px solid var(--green-soft);
  background: #fff; color: var(--green-dark);
  font-weight: 600; font-size: 0.9rem; transition: all .2s;
}
.btn-filter:hover { border-color: var(--green-light); }
.btn-filter.active { background: var(--green-main); color: #fff; border-color: var(--green-main); }

.product-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all .35s; height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .prod-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.badge-stock { position: absolute; top: 12px; right: 12px; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; background: #fff; }
.badge-in_stock { color: #1B5E20; }
.badge-out_of_stock { color: #c62828; }
.badge-low_stock { color: #ef6c00; }
.badge-featured { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #1B1B1B; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.product-card .prod-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-card .prod-cat { font-size: 0.75rem; color: var(--green-main); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 6px; }
.product-card h6 { color: var(--text-dark); font-size: 1.05rem; margin-bottom: 8px; }
.product-card .prod-desc {
  color: var(--text-muted); font-size: 0.88rem; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.product-card .prod-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid #eee;
  min-height: 44px;
}
.product-card .prod-price { color: var(--green-dark); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.product-card .prod-price small { font-weight: 500; color: var(--text-muted); font-size: 0.75rem; }
.btn-inquire { background: var(--green-soft); color: var(--green-dark); border-radius: 20px; padding: 6px 14px; font-size: 0.82rem; font-weight: 600; border: none; }
.btn-inquire:hover { background: var(--green-main); color: #fff; }

.product-card .product-actions {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin-top: 10px;
}
.product-card .btn-wa-order {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--wa-green); color: #fff !important;
  border: none; border-radius: 20px;
  padding: 6px 14px; font-size: 0.82rem; font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.product-card .btn-wa-order:hover {
  background: var(--wa-green-dark);
  transform: translateY(-1px);
  color: #fff !important;
}
.product-card .btn-wa-order i { font-size: 0.95rem; }

/* ---------- NEGOTIABLE PRICE PILL ---------- */
.price-negotiable {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neg-bg) 0%, var(--neg-bg-2) 100%);
  color: var(--neg-text);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--neg-border);
  box-shadow: 0 1px 2px rgba(122, 92, 0, 0.08);
  white-space: nowrap;
}
.prod-price.is-negotiable small { display: none; }
.prod-price.is-negotiable { font-size: 1rem; }

/* Slight amber accent when the whole price row is negotiable */
.prod-price.is-negotiable { color: var(--neg-text); }

/* WhatsApp "Negotiate" variant — same green base, gold tint on hover */
.btn-wa-order.is-negotiable {
  background: linear-gradient(135deg, #34d377 0%, var(--wa-green) 100%);
}
.btn-wa-order.is-negotiable:hover {
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-dark) 100%);
}

/* ---------- ABOUT ---------- */
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; max-height: 500px; }
#about h2 { color: var(--green-dark); font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 18px; }
#aboutText { color: var(--text-muted); line-height: 1.8; }
.mini-box { background: var(--green-soft); padding: 20px; border-radius: var(--radius); height: 100%; border-left: 4px solid var(--green-main); }
.mini-box i { font-size: 1.6rem; color: var(--green-main); display: block; margin-bottom: 8px; }
.mini-box h6 { color: var(--green-dark); font-size: 0.95rem; margin-bottom: 6px; }
.mini-box p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ---------- WHY US ---------- */
.why-section { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%); }
.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
  color: #fff; height: 100%; transition: all .3s;
}
.why-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-5px); }
.why-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 14px; display: block; }
.why-card h5 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; opacity: 0.85; margin: 0; }

/* ---------- CONTACT ---------- */
.contact-info { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); height: 100%; }
.contact-item { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.contact-item:last-child { border-bottom: none; }
.contact-item .ci-icon { width: 46px; height: 46px; background: var(--green-soft); color: var(--green-main); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-item h6 { color: var(--green-dark); margin: 0 0 4px; font-size: 0.95rem; }
.contact-item p { color: var(--text-muted); margin: 0; font-size: 0.9rem; word-break: break-word; }

.contact-item.ci-wa .ci-icon {
  background: var(--wa-green) !important;
  color: #fff !important;
}
.contact-item.ci-wa a {
  color: var(--wa-green-dark);
  font-weight: 600;
  text-decoration: none;
}
.contact-item.ci-wa a:hover { text-decoration: underline; }

.contact-form { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-form .form-control { border: 2px solid #E8F5E9; border-radius: 10px; padding: 12px 16px; font-size: 0.95rem; }
.contact-form .form-control:focus { border-color: var(--green-main); box-shadow: 0 0 0 4px rgba(46,125,50,0.1); }
.btn-primary-green { background: var(--green-main); color: #fff; border: none; padding: 13px 24px; border-radius: 10px; font-weight: 600; transition: all .3s; }
.btn-primary-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.form-msg.success { color: var(--green-main); }
.form-msg.error { color: #c62828; }

/* ---------- MAP ---------- */
.map-info { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 24px; }
.map-info-header { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 12px; border-bottom: 2px solid var(--green-soft); }
.map-info-header i { font-size: 1.8rem; color: var(--green-main); background: var(--green-soft); padding: 12px; border-radius: 12px; }
.map-info-header h5 { margin: 0 0 2px; color: var(--green-dark); font-size: 1.15rem; }
.map-info-tag { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.map-info-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed #eef3ee; }
.map-info-item:last-of-type { border-bottom: none; }
.map-info-item i { font-size: 1.15rem; color: var(--green-main); margin-top: 4px; flex-shrink: 0; }
.map-info-item h6 { margin: 0 0 3px; color: var(--green-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.map-info-item p { margin: 0; color: var(--text-muted); font-size: 0.92rem; word-break: break-word; }
.map-pin-label {
  position: absolute; top: 20px; left: 20px;
  background: var(--green-main); color: #fff;
  padding: 10px 18px; border-radius: 25px;
  font-size: 0.92rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 18px rgba(27,94,32,0.4);
  z-index: 5; pointer-events: none; font-family: 'Poppins', sans-serif;
}
.map-pin-label i { font-size: 1.05rem; color: var(--gold); }

/* ---------- FOOTER ---------- */
.site-footer { background: #10261a; color: #b8c7bd; padding: 60px 0 0; }
.site-footer h6 { color: #fff; font-weight: 600; margin-bottom: 20px; font-size: 1rem; }
.site-footer p { font-size: 0.9rem; line-height: 1.7; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer ul li a { color: #b8c7bd; text-decoration: none; }
.site-footer ul li a:hover { color: var(--green-light); }
.footer-brand-icon { font-size: 2rem; color: var(--green-light); }
.footer-brand { color: #fff; font-size: 1.2rem; line-height: 1; }
.footer-brand-sub { font-size: 0.65rem; letter-spacing: 3px; color: var(--gold); font-weight: 600; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--green-light); margin-top: 3px; }
.footer-contact a { color: #b8c7bd; text-decoration: none; }
.footer-contact a:hover { color: var(--wa-green); }
.social-links { display: flex; gap: 10px; margin-top: 15px; }
.social-links a { width: 38px; height: 38px; background: rgba(255,255,255,0.08); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s; }
.social-links a:hover { background: var(--green-main); }
.social-links a[href*="wa.me"]:hover { background: var(--wa-green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; margin-top: 40px; text-align: center; }
.footer-bottom p { margin: 0; font-size: 0.85rem; }
.footer-login { color: rgba(184,199,189,0.55); text-decoration: none; font-size: 0.82rem; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
.footer-login:hover { color: var(--green-light); }

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-toggle {
  position: fixed; bottom: 25px; right: 25px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-main); color: #fff;
  border: none; font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(46,125,50,0.45);
  z-index: 1050; cursor: pointer;
  transition: transform .2s;
}
.chat-toggle:hover { background: var(--green-dark); transform: scale(1.08); }
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  background: #f44336; color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.chat-window {
  position: fixed; bottom: 100px; right: 25px;
  width: 360px; max-width: calc(100vw - 30px);
  height: 520px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: none; flex-direction: column; z-index: 1050;
}
.chat-window.open { display: flex; }
.chat-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: #fff; padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-header i { font-size: 1.6rem; }
.chat-title { font-weight: 700; font-size: 0.98rem; }
.chat-status { font-size: 0.78rem; display: flex; align-items: center; gap: 6px; }
.chat-status .dot { width: 8px; height: 8px; background: #66BB6A; border-radius: 50%; display: inline-block; }
.chat-close {
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
}
.chat-identity {
  padding: 20px; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.chat-identity p { color: var(--text-muted); text-align: center; font-size: 0.9rem; margin-bottom: 15px; }
.chat-identity .form-control { border: 2px solid var(--green-soft); border-radius: 10px; padding: 10px 14px; font-size: 0.9rem; }
.chat-identity .form-control:focus { border-color: var(--green-main); outline: none; }
.chat-body { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.chat-messages {
  flex: 1; padding: 15px; overflow-y: auto;
  background: #F5F7F3;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
  max-width: 80%; padding: 10px 14px;
  border-radius: 15px; font-size: 0.88rem; line-height: 1.4;
  word-wrap: break-word;
}
.chat-msg.client { background: var(--green-main); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.admin  { background: #fff; color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-msg.system { background: #FFF8E1; color: #6D4C00; align-self: center; font-size: 0.8rem; font-style: italic; border-radius: 10px; max-width: 90%; }
.chat-msg .time { display: block; font-size: 0.7rem; opacity: 0.7; margin-top: 4px; }
.chat-input-bar {
  display: flex; padding: 12px; gap: 8px;
  border-top: 1px solid #eee; background: #fff;
}
.chat-input-bar input { flex: 1; border: 2px solid var(--green-soft); border-radius: 25px; padding: 10px 16px; font-size: 0.9rem; }
.chat-input-bar input:focus { border-color: var(--green-main); outline: none; }
.chat-input-bar button {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-main); color: #fff;
  border: none; cursor: pointer;
}
.chat-input-bar button:hover { background: var(--green-dark); }

/* ---------- LOGIN MODAL ---------- */
.login-modal-content { border: none; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.login-modal-content .modal-body { position: relative; background: #fff; padding: 36px 30px !important; }
.login-modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.login-modal-icon { font-size: 2.6rem; color: var(--green-main); background: var(--green-soft); padding: 14px; border-radius: 16px; display: inline-block; }
#loginModal h4 { color: var(--green-dark); font-family: 'Poppins', sans-serif; font-weight: 700; }
#loginModalForm .form-control { border: 2px solid var(--green-soft); border-radius: 10px; padding: 10px 14px; font-size: 0.95rem; }
#loginModalForm .form-control:focus { border-color: var(--green-main); box-shadow: 0 0 0 4px rgba(46,125,50,0.1); }
#loginModalForm .btn-success { background: var(--green-main); border: none; border-radius: 10px; font-weight: 600; }
#loginModalForm .btn-success:hover { background: var(--green-dark); }
#loginModalForm .form-check-input:checked { background-color: var(--green-main); border-color: var(--green-main); }
#loginWaHelp { color: var(--wa-green-dark) !important; }
#loginWaHelp:hover { color: var(--wa-green) !important; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 1045;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waPulse 2.4s infinite;
}
.wa-float:hover,
.wa-float:focus {
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 14px 30px rgba(37,211,102,0.55);
  animation-play-state: paused;
}
.wa-float i { line-height: 1; }
@keyframes waPulse {
  0%   { box-shadow: 0 10px 25px rgba(37,211,102,0.4), 0 0 0 0   rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 10px 25px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0);   }
  100% { box-shadow: 0 10px 25px rgba(37,211,102,0.4), 0 0 0 0   rgba(37,211,102,0);   }
}
.wa-float-label {
  position: absolute;
  left: 70px; top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: var(--green-dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.wa-float-label::before {
  content: "";
  position: absolute;
  left: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--green-dark);
}
.wa-float:hover .wa-float-label,
.wa-float:focus .wa-float-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.wa-tooltip {
  position: fixed;
  bottom: 96px; left: 24px;
  z-index: 1044;
  width: 300px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 14px 56px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-left: 4px solid var(--wa-green);
  opacity: 0; transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.wa-tooltip.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-tooltip-avatar {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.wa-tooltip-text { font-size: 13px; line-height: 1.4; color: #333; }
.wa-tooltip-text strong { display: block; color: var(--green-dark); margin-bottom: 2px; font-weight: 700; }
.wa-tooltip-close {
  position: absolute;
  top: 4px; right: 6px;
  background: transparent; border: none;
  color: #999; font-size: 18px; line-height: 1;
  cursor: pointer; padding: 2px 6px;
}
.wa-tooltip-close:hover { color: #333; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .hv-dots { right: 1.5rem; }
}

@media (max-width: 991px) {
  .main-navbar .navbar-collapse { background: #fff; padding: 15px; border-radius: var(--radius); margin-top: 10px; box-shadow: var(--shadow-md); }
  .main-navbar .nav-item { margin-bottom: 6px; }
  .btn-chat-nav, .btn-login-nav { width: 100%; text-align: center; }

  .hero-velvet { height: 88vh; min-height: 560px; }
  .hv-content { padding: 0 1.5rem; }
  .hv-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hv-meta { gap: 1rem; }
  .hv-dots { right: 1rem; gap: 0.6rem; }
  .hv-scroll-cue { display: none; }

  .highlights-section { margin-top: -30px; }
  #mapBox { height: 480px !important; min-height: 480px !important; }

  .chat-window { width: 340px; height: 480px; right: 15px; bottom: 90px; }
}

@media (max-width: 767px) {
  .hero-velvet { height: 82vh; min-height: 520px; }
  .hv-eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; padding: 0.45rem 0.9rem; }
  .hv-title { font-size: clamp(1.8rem, 8vw, 2.6rem); margin-bottom: 1rem; }
  .hv-sub { font-size: 0.95rem; margin-bottom: 1.8rem; max-width: 100%; }
  .hv-actions { gap: 0.75rem; margin-bottom: 1.8rem; }
  .hv-btn { padding: 0.75rem 1.4rem; font-size: 0.88rem; }
  .hv-meta { gap: 0.9rem; font-size: 0.75rem; }
  .hv-meta-item { font-size: 0.75rem; }
  .hv-dots { right: 0.5rem; gap: 0.5rem; }
  .hv-dot { width: 16px; height: 16px; }
  .hv-dot::before { width: 6px; height: 6px; }

  .section-pad { padding: 55px 0; }
  .section-title h2 { font-size: 1.5rem; }

  /* Slightly smaller Negotiable pill on mobile */
  .price-negotiable { font-size: 0.72rem; padding: 0.24rem 0.6rem; }

  .chat-window {
    right: 10px; left: 10px;
    width: auto;
    bottom: 85px;
    height: 70vh;
    max-height: 500px;
  }
  .chat-toggle { right: 15px; bottom: 15px; width: 54px; height: 54px; font-size: 1.4rem; }

  .wa-float { width: 54px; height: 54px; font-size: 26px; bottom: 15px; left: 15px; }
  .wa-float-label { display: none; }
  .wa-tooltip {
    bottom: 80px; left: 15px;
    width: calc(100vw - 30px);
    max-width: 340px;
    padding-left: 50px;
  }
  .wa-tooltip-avatar { width: 30px; height: 30px; font-size: 16px; left: 10px; }

  .top-bar { display: none !important; }
  .map-info { padding: 20px 16px; }
  .contact-info { padding: 20px; }
  .map-pin-label { top: 12px; left: 12px; font-size: 0.8rem; padding: 8px 14px; }
  #mapBox { height: 400px !important; min-height: 400px !important; }
}

@media (max-width: 480px) {
  .hero-velvet { height: 78vh; min-height: 480px; }
  .hv-title { font-size: 1.65rem; }
  .hv-eyebrow-text { display: none; }
  .hv-eyebrow { padding: 0.4rem 0.7rem; gap: 0.4rem; }
  .hv-meta { display: none; }
  .hv-actions { flex-direction: column; align-items: stretch; }
  .hv-btn { justify-content: center; width: 100%; }
  .hv-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hv-shimmer, .hv-ripples { display: none; }
}