/* ==========================================================================
   rumahbaru.my — Main Stylesheet
   Theme: Primary Red #D71920 | Accent Yellow #FFD700 | White #FFFFFF
          Light BG #F8F8F8 | Dark Text #252525
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary: #D71920;
  --color-primary-dark: #B31016;
  --color-accent: #FFD700;
  --color-accent-dark: #E6B800;
  --color-white: #FFFFFF;
  --color-light-bg: #F8F8F8;
  --color-dark: #252525;
  --color-gray: #6b7280;
  --color-gray-light: #e5e7eb;
  --color-border: #ececec;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);

  --container-max: 1200px;
  --nav-height: 76px;
  --section-pad: 88px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

sup {
  font-size: 0.6em;
}

/* ---------- Utility / Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(215, 25, 32, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
  line-height: 1.2;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(215, 25, 32, 0.28);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.34);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: #1eb657;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.26);
}

.btn-cta:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-wa-icon,
.btn-mail-icon {
  display: inline-flex;
  align-items: center;
}

/* Official WhatsApp logo sizing inside buttons */
.btn-wa-icon svg {
  display: block;
  flex-shrink: 0;
}

/* ---------- Navigation Bar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(215, 25, 32, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-dark);
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--color-gray);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--color-dark);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  background-color: rgba(215, 25, 32, 0.06);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
  background-color: rgba(215, 25, 32, 0.06);
}

.navbar-cta {
  padding: 11px 20px;
  font-size: 0.95rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger-bar {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--color-dark);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.open .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 48px) 0 72px;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  margin-bottom: 18px;
}

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
  max-width: 640px;
  margin-bottom: 26px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96);
}

.hero-highlights .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Properties Section ---------- */
.properties-section {
  padding: var(--section-pad) 0;
  background-color: var(--color-white);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ---------- Property Card ---------- */
.property-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.property-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-light-bg);
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.property-card:hover .property-media img {
  transform: scale(1.05);
}

.property-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.property-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.property-name {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gray);
  font-size: 0.94rem;
  margin-bottom: 12px;
}

.property-location .pin {
  color: var(--color-primary);
  font-size: 1rem;
}

.property-type {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(37, 37, 37, 0.05);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.property-specs {
  display: flex;
  gap: 22px;
  padding: 13px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 14px;
}

.property-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-gray);
}

.property-specs strong {
  color: var(--color-dark);
  font-size: 1rem;
}

.spec-icon {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.property-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--color-gray);
  margin-bottom: 18px;
  flex: 1;
}

.property-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

.property-price-note {
  background-color: rgba(255, 215, 0, 0.35);
  color: #8a6d00;
  font-weight: 600;
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.property-card .btn-block {
  margin-top: auto;
}

.property-details-link {
  margin-top: 2px;
  margin-bottom: 10px;
}

.properties-note {
  margin-top: 40px;
  padding: 16px 22px;
  background-color: var(--color-light-bg);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-gray);
}

/* ---------- Property Details ---------- */
.property-detail-page { padding-top: calc(var(--nav-height) + 22px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 20px; color: var(--color-gray); font-size: .83rem; }
.breadcrumbs a { color: var(--color-primary); font-weight: 600; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; }
.gallery-main { position: relative; display: block; min-width: 0; height: 490px; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-lg); background: var(--color-light-bg); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-expand { position: absolute; right: 18px; bottom: 18px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--color-dark); font-size: 1.5rem; }
.gallery-thumbnails { display: grid; grid-template-rows: repeat(4, 1fr); gap: 10px; min-height: 0; }
.gallery-thumb { min-height: 0; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius-md); background: var(--color-light-bg); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(215,25,32,.14); }
.property-video { grid-column: 1 / -1; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-md); }
.property-video iframe { width: 100%; height: 100%; border: 0; }
.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0 38px; border-bottom: 1px solid var(--color-border); }
.detail-heading h1 { max-width: 850px; margin: 10px 0; font-size: clamp(1.65rem, 3vw, 2.55rem); }
.detail-status { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: rgba(215,25,32,.09); color: var(--color-primary); font-size: .78rem; font-weight: 700; }
.detail-location { display: flex; align-items: center; gap: 7px; color: var(--color-gray); }
.detail-location span { color: var(--color-primary); font-size: 1.3rem; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-tags span { padding: 5px 11px; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-gray); font-size: .78rem; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 44px; padding-top: 44px; padding-bottom: 68px; }
.detail-main-column { min-width: 0; }
.detail-section { margin-bottom: 54px; }
.detail-section-heading { margin-bottom: 24px; }
.detail-section-heading .section-tag { margin-bottom: 11px; }
.detail-section-heading h2, .detail-intro h2 { margin-bottom: 8px; font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.detail-section-heading p, .detail-intro > p { color: var(--color-gray); }
.detail-intro > p { max-width: 850px; font-size: 1.02rem; line-height: 1.8; }
.unit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.unit-card, .amenity-card { padding: 22px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-white); box-shadow: var(--shadow-sm); }
.unit-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.unit-card-heading h3 { font-size: 1.08rem; }
.unit-availability { white-space: nowrap; padding: 4px 8px; border-radius: 999px; background: rgba(255,215,0,.26); color: #765d00; font-size: .73rem; font-weight: 700; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.spec-tile { display: flex; flex-direction: column; gap: 3px; min-height: 66px; padding: 10px; border-radius: var(--radius-sm); background: var(--color-light-bg); }
.spec-tile span, .information-item dt { color: var(--color-gray); font-size: .76rem; }
.spec-tile strong { font-size: .91rem; }
.unit-pricing { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.unit-pricing h4 { margin-bottom: 8px; font-size: .9rem; }
.price-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 9px; border-radius: 6px; font-size: .82rem; }
.price-row strong { white-space: nowrap; }
.price-row-featured { background: rgba(215,25,32,.07); color: var(--color-primary); }
.information-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.information-item { padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.information-item dd { margin-top: 5px; font-weight: 700; }
.promotion-panel { margin: 4px 0 56px; padding: 30px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff8d6 0%, #fff 65%); border: 1px solid rgba(230,184,0,.35); box-shadow: var(--shadow-sm); }
.promotion-header { position: relative; }
.promotion-eyebrow { color: var(--color-primary); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.promotion-header h2 { margin: 5px 0 22px; font-size: 1.75rem; }
.promotion-period { position: absolute; top: 0; right: 0; padding: 6px 11px; border-radius: 999px; background: rgba(255,215,0,.42); color: #6e5700; font-size: .77rem; font-weight: 700; }
.promotion-highlights { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.rebate-highlight { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius-md); background: var(--color-primary); color: white; }
.rebate-highlight strong { font-family: var(--font-heading); font-size: 1.7rem; }
.rebate-highlight span { font-size: .81rem; opacity: .9; }
.promotion-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.promotion-list li { position: relative; padding-left: 20px; font-size: .86rem; font-weight: 600; }
.promotion-list li::before { position: absolute; left: 0; color: var(--color-primary); content: '✓'; font-weight: 800; }
.financing-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(37,37,37,.1); font-size: .82rem; font-weight: 700; }
.financing-row > div { display: flex; flex-wrap: wrap; gap: 7px; }
.financing-chip { padding: 5px 10px; border: 1px solid var(--color-border); border-radius: 999px; background: white; font-size: .76rem; }
.promotion-panel > small { display: block; margin-top: 14px; color: var(--color-gray); font-size: .72rem; }
.amenities-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.amenity-card h3 { display: flex; gap: 9px; margin-bottom: 14px; font-size: 1rem; }
.amenity-card h3 span { color: var(--color-primary); }
.amenity-card li { position: relative; margin-top: 9px; padding-left: 18px; color: var(--color-gray); font-size: .87rem; }
.amenity-card li::before { position: absolute; left: 0; color: var(--color-primary); content: '•'; font-size: 1.1rem; }
.detail-sidebar { position: sticky; top: calc(var(--nav-height) + 20px); }
.sidebar-card { padding: 24px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-md); }
.sidebar-eyebrow { color: var(--color-primary); font-size: .78rem; font-weight: 700; }
.sidebar-card h2 { margin: 8px 0; font-size: 1.35rem; }
.sidebar-card > p { margin-bottom: 18px; color: var(--color-gray); font-size: .87rem; }
.sidebar-card .btn + .btn { margin-top: 10px; }
.agent-mini { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.agent-mini img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.agent-mini div { display: flex; flex-direction: column; }
.agent-mini strong { font-size: .87rem; }
.agent-mini span, .agent-mini a { color: var(--color-gray); font-size: .74rem; }
.agent-mini a { color: var(--color-primary); font-weight: 700; }
.detail-enquiry { padding: 46px 0; background: var(--color-light-bg); border-top: 1px solid var(--color-border); }
.enquiry-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.enquiry-inner h2 { margin: 4px 0 8px; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.enquiry-inner p { max-width: 680px; color: var(--color-gray); font-size: .9rem; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-lightbox { position: fixed; inset: 0; width: min(100vw, 1100px); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: auto; padding: 60px 80px; border: 0; background: rgba(12,12,12,.96); color: white; }
.gallery-lightbox::backdrop { background: rgba(0,0,0,.86); }
.gallery-lightbox img { width: 100%; height: calc(100% - 32px); object-fit: contain; }
.gallery-lightbox p { padding-top: 8px; text-align: center; color: rgba(255,255,255,.8); font-size: .82rem; }
.lightbox-close, .gallery-arrow { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: white; }
.lightbox-close { top: 16px; right: 20px; width: 44px; height: 44px; font-size: 2rem; }
.gallery-arrow { top: 50%; width: 48px; height: 48px; font-size: 2rem; transform: translateY(-50%); }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.property-not-found { min-height: 55vh; padding-top: 180px; padding-bottom: 80px; }
.property-not-found h1 { margin: 10px 0; }
.property-not-found p { margin-bottom: 22px; color: var(--color-gray); }

/* ---------- Benefits (Why Choose Me) Section ---------- */
.benefits-section {
  padding: var(--section-pad) 0;
  background-color: var(--color-light-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.benefit-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.10), rgba(255, 215, 0, 0.20));
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-title {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.benefit-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-gray);
}

/* ---------- Agent Profile Section ---------- */
.agent-section {
  padding: var(--section-pad) 0;
  background-color: var(--color-white);
}

.agent-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.agent-photo-wrap {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  min-height: 100%;
}

.agent-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.agent-info {
  padding: 44px 48px;
}

.agent-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.agent-brand-tag {
  display: inline-block;
  background-color: rgba(215, 25, 32, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 999px;
}

.agent-brand-tag.alt {
  background-color: rgba(255, 215, 0, 0.30);
  color: #8a6d00;
}

.agent-name {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.agent-ren {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.ren-pill {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.ren-no {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.agent-desc {
  margin-bottom: 26px;
}

.agent-desc p {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.agent-desc p:last-child {
  margin-bottom: 0;
}

.agent-contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}

.agent-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(215, 25, 32, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.agent-contact-list small {
  display: block;
  color: var(--color-gray);
  font-size: 0.78rem;
  margin-bottom: 2px;
}

.agent-contact-list a {
  font-weight: 600;
  color: var(--color-dark);
  word-break: break-word;
}

.agent-contact-list a:hover {
  color: var(--color-primary);
}

.agent-contact-list .plain-text {
  font-weight: 600;
  color: var(--color-dark);
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #1d1d1d;
  color: #cfcfcf;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
}

.footer-logo-text small {
  font-size: 0.74rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #a9a9a9;
  max-width: 340px;
}

.footer-title {
  font-size: 1.05rem;
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer-nav ul li,
.footer-contact ul li {
  margin-bottom: 12px;
}

.footer-nav a,
.footer-contact a {
  color: #cfcfcf;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-contact .wa-icon,
.footer-contact .mail-icon,
.footer-contact .web-icon {
  color: var(--color-accent);
  font-size: 1.05rem;
}

.footer-contact a {
  word-break: break-all;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #9a9a9a;
}

.footer-tags {
  color: var(--color-accent) !important;
}

/* ---------- Floating WhatsApp Button ---------- */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 20px 13px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.floating-wa-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-wa-icon svg {
  width: 26px;
  height: 26px;
}

/* scroll-margin so sticky navbar doesn't hide section tops on anchor jump */
section[id] {
  scroll-margin-top: var(--nav-height);
}