/* ===== MEDWIN BAY MAIN STYLESHEET ===== */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

:root {
  --primary: #286043;
  --accent: #C88E4B;
  --accent-hover: #b07a3a;
  --gold: #FFB300;
  --gray: #6b7280;
  --light-bg: #f0f8ff;
  --shadow: 0 4px 15px rgba(0,0,0,0.08);
  --radius: 12px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  text-align: center;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  font-size: 15px;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  text-align: center;
  border: 2px solid #fff;
  transition: background 0.3s;
  font-size: 15px;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(2, 119, 189, 0.95);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.navbar .logo { display: flex; align-items: center; gap: 8px; }
.navbar .logo img { height: 52px; }
.navbar .logo span { color: #fff; font-weight: 700; font-size: 14px; }
.navbar .nav-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.navbar .lang a {
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  margin: 0 2px;
}
.navbar .lang a:hover { background: rgba(255,255,255,0.25); }
.navbar .btn-contact {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  padding: 100px 16px 40px;
  background: linear-gradient(135deg, rgba(2,119,189,0.80) 0%, rgba(2,119,189,0.40) 100%), url('../images/hero.webp');
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,179,0,0.2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border-left: 3px solid var(--gold);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.hero p {
  font-size: 17px;
  opacity: 0.92;
  max-width: 500px;
  margin-bottom: 16px;
}
.hero .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.hero .location-links {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.8;
}
.hero .location-links a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.hero-stat {
  background: rgba(255,255,255,0.12);
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}
.hero-stat .value { font-size: 20px; font-weight: 800; display: block; }
.hero-stat .label { font-size: 12px; opacity: 0.8; }

/* ===== SECTIONS ===== */
.section {
  padding: 40px 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-full {
  padding: 40px 16px;
  max-width: 100%;
  background: var(--light-bg);
}
.section-full .inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 24px;
}
.section-title .sub {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 4px;
}
.section-title p {
  color: var(--gray);
  font-size: 15px;
  max-width: 500px;
  margin: 6px auto 0;
}
.section-title .line {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 10px auto 0;
}

/* ===== QUICK LOCATIONS ===== */
.quick-locations {
  padding: 20px 16px 0;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: -20px;
}
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.quick-card {
  padding: 16px 10px;
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.quick-card:hover { transform: translateY(-4px); }
.quick-card i { font-size: 26px; display: block; margin-bottom: 4px; }
.quick-card h3 { font-size: 16px; font-weight: 700; }
.quick-card p { font-size: 12px; opacity: 0.8; margin-bottom: 4px; }
.quick-card .btn-explore {
  display: inline-block;
  background: var(--gold);
  color: #0a1a2a;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 50px;
}
.quick-card.featured { border: 2px solid var(--gold); }

/* ===== COMPARE TABLE ===== */
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 13px;
  min-width: 500px;
}
.compare-table th {
  background: var(--primary);
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
}
.compare-table td { padding: 10px 12px; border-bottom: 1px solid #eee; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover { background: var(--light-bg); }

/* ===== MARKET INSIGHTS ===== */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.insight-card {
  background: #fff;
  padding: 20px 16px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.insight-card i { font-size: 28px; color: var(--accent); margin-bottom: 6px; }
.insight-card .number { font-size: 28px; font-weight: 800; color: var(--primary); }
.insight-card .label { font-size: 14px; color: var(--gray); }

/* ===== AMENITIES ===== */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.amenity {
  background: var(--light-bg);
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.amenity i { font-size: 24px; color: var(--accent); min-width: 36px; text-align: center; margin-top: 2px; }
.amenity h4 { font-size: 16px; font-weight: 700; color: var(--primary); }
.amenity p { font-size: 14px; color: var(--gray); }

/* ===== POPULAR LOCATIONS ===== */
.popular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.popular-card {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
}
.popular-card.featured { border: 2px solid var(--accent); }
.popular-card i { font-size: 28px; color: var(--accent); min-width: 40px; text-align: center; }
.popular-card .info { flex: 1; }
.popular-card .info h4 { font-size: 17px; font-weight: 700; color: var(--primary); }
.popular-card .info p { font-size: 14px; color: var(--gray); margin-bottom: 4px; }

/* ===== PROPERTY CARDS ===== */
.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
}
.property-card.featured { border: 2px solid var(--accent); }
.property-card .gallery {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}
.property-card .gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
}
.property-card .gallery .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
  z-index: 5;
}
.property-card .gallery .nav.prev { left: 8px; }
.property-card .gallery .nav.next { right: 8px; }
.property-card .gallery .counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  z-index: 5;
}
.property-card .body { padding: 16px; }
.property-card .body h4 { font-size: 18px; font-weight: 700; color: var(--primary); }
.property-card .body p { font-size: 14px; color: var(--gray); margin: 4px 0; }
.property-card .body .price { font-size: 20px; font-weight: 800; color: var(--primary); }
.property-card .body .tag { font-weight: 700; color: var(--accent); }

/* ===== COMING SOON ===== */
.coming-soon {
  text-align: center;
  padding: 24px;
  border: 2px dashed #ccc;
  border-radius: var(--radius);
  background: #fafafa;
}
.coming-soon i { font-size: 32px; color: var(--accent); margin-bottom: 8px; }
.coming-soon h4 { font-size: 18px; font-weight: 700; color: var(--primary); }
.coming-soon p { font-size: 14px; color: var(--gray); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.service i { font-size: 24px; color: var(--accent); margin-bottom: 4px; display: block; }
.service h4 { font-size: 16px; font-weight: 700; color: var(--primary); }
.service p { font-size: 14px; color: var(--gray); }
.rent-badge {
  background: #D97455;
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  margin-top: 4px;
}

/* ===== ABOUT JOY ===== */
.about-joy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.about-joy .avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  object-fit: cover;
  margin: 0 auto;
}
.about-joy .bio { max-width: 500px; }
.about-joy .bio p { font-size: 15px; color: #444; }
.about-joy .testimonial {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid #eee;
  margin-top: 12px;
}
.about-joy .testimonial i { color: var(--accent); font-size: 20px; }
.about-joy .testimonial p { font-style: italic; font-size: 14px; color: #555; }
.about-joy .testimonial .author { font-weight: 700; font-size: 14px; margin-top: 4px; }

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.faq-item {
  background: var(--light-bg);
  padding: 16px;
  border-radius: var(--radius);
}
.faq-item h4 { font-size: 16px; font-weight: 700; color: var(--primary); }
.faq-item p { font-size: 14px; color: var(--gray); }

/* ===== MAP ===== */
.map-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-container img { width: 100%; height: auto; display: block; }
.map-marker {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 700;
  color: #0a1a2a;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
}
.map-marker .label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: #fff;
  background: rgba(0,0,0,0.8);
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
  font-weight: 600;
  pointer-events: none;
}
.map-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.map-links a {
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow);
}
.map-links a.featured { border: 2px solid var(--accent); }

/* ===== CONTACT ===== */
.contact-form {
  background: var(--light-bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 12px;
  background: #fff;
  font-family: inherit;
}
.contact-form textarea { min-height: 80px; resize: vertical; }
.contact-form .btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form .btn-submit:hover { background: var(--accent-hover); }

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.contact-social-btn i { font-size: 18px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 95%; max-height: 75vh; object-fit: contain; border-radius: 8px; }
.lightbox .caption { color: #fff; font-size: 14px; margin-top: 12px; text-align: center; }
.lightbox .counter { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 4px; }
.lightbox .close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}
.lightbox .close:hover { color: var(--accent); }
.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}
.lightbox .nav:hover { background: rgba(255,255,255,0.3); }
.lightbox .nav.prev { left: 12px; }
.lightbox .nav.next { right: 12px; }

/* ===== LINE MODAL ===== */
.line-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.line-modal.active { display: flex; }
.line-modal .content {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  max-width: 380px;
  width: 92%;
}
.line-modal .content img { width: 180px; height: 180px; margin: 0 auto; border-radius: 12px; border: 2px solid #eee; }
.line-modal .content h3 { font-size: 20px; font-weight: 800; color: #333; margin-bottom: 8px; }
.line-modal .content p { font-size: 14px; color: #555; }
.line-modal .content .close-btn {
  margin-top: 16px;
  padding: 10px 30px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

/* ===== FOOTER ===== */
.footer {
  background: #01579B;
  color: rgba(255,255,255,0.9);
  padding: 30px 16px 16px;
}
.footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.footer h4 { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.footer p, .footer a { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.85); }
.footer a { display: block; }
.footer a:hover { color: var(--gold); }
.footer .divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 16px 0; }
.footer .copy { text-align: center; font-size: 12px; opacity: 0.7; }

.gallery-hidden { display: none; }

/* ===== RESPONSIVE ===== */
@media (min-width: 600px) {
  .quick-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .property-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .popular-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .about-joy { flex-direction: row; text-align: left; align-items: flex-start; }
  .about-joy .avatar img { width: 160px; height: 160px; }
  .footer .inner { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero { padding: 120px 30px 60px; min-height: 80vh; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 20px; }
  .section { padding: 60px 30px; }
  .section-full { padding: 60px 30px; }
  .section-title h2 { font-size: 34px; }
  .quick-card { padding: 24px 16px; }
  .quick-card i { font-size: 34px; }
  .quick-card h3 { font-size: 18px; }
  .insights-grid { gap: 24px; }
  .insight-card { padding: 30px; }
  .insight-card .number { font-size: 36px; }
  .amenities-grid { gap: 20px; }
  .popular-card { padding: 20px 24px; }
  .popular-card i { font-size: 34px; min-width: 50px; }
  .services-grid { gap: 20px; }
  .service { padding: 24px; }
  .compare-table { font-size: 15px; }
  .compare-table th, .compare-table td { padding: 14px 18px; }
  .map-links a { font-size: 14px; padding: 10px; }
  .contact-form { padding: 30px; }
  .footer { padding: 40px 30px 20px; }
}

@media (max-width: 480px) {
  .hero { padding: 120px 12px 30px; min-height: auto; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .hero-stat { padding: 6px 8px; }
  .hero-stat .value { font-size: 16px; }
  .hero-stat .label { font-size: 10px; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .quick-card { padding: 12px 6px; }
  .quick-card i { font-size: 20px; }
  .quick-card h3 { font-size: 13px; }
  .quick-card p { font-size: 10px; }
  .quick-card .btn-explore { font-size: 10px; padding: 3px 10px; }
  .section { padding: 24px 12px; }
  .section-full { padding: 24px 12px; }
  .section-title h2 { font-size: 20px; }
  .amenities-grid { grid-template-columns: 1fr; gap: 8px; }
  .services-grid { grid-template-columns: 1fr; gap: 8px; }
  .popular-grid { grid-template-columns: 1fr; gap: 8px; }
  .faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .property-grid { grid-template-columns: 1fr; gap: 12px; }
  .property-card .gallery img { height: auto; }
  .compare-table { font-size: 11px; min-width: 400px; }
  .compare-table th, .compare-table td { padding: 6px 8px; }
  .map-links { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .map-links a { font-size: 10px; padding: 6px; }
  .map-marker { width: 16px; height: 16px; font-size: 6px; }
  .map-marker .label { font-size: 7px; bottom: -14px; }
  .contact-form { padding: 16px; }
  .contact-social-btn { font-size: 12px; padding: 8px 14px; }
  .footer .inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer p, .footer a { font-size: 11px; }
  .line-modal .content { padding: 16px; }
  .line-modal .content img { width: 140px; height: 140px; }
  .lightbox .nav { width: 32px; height: 32px; font-size: 14px; }
  .lightbox .nav.prev { left: 6px; }
  .lightbox .nav.next { right: 6px; }
}
/* ===== PAWAT PARTNER CARD ===== */
.partner-card {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid #eee;
  margin-top: 12px;
}
.partner-card i {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 6px;
  display: block;
}
.partner-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.partner-heading { display:flex; align-items:center; gap:14px; margin-bottom:12px; }
.partner-card .partner-heading > i { font-size:42px; margin:0; flex:0 0 auto; }
.partner-kicker { font-size:18px; font-weight:700; color:var(--primary); line-height:1.25; }
.partner-name { display:inline-block; margin-top:2px; color:var(--accent); font-size:24px; line-height:1.15; font-weight:800; }
.partner-person { margin-top:4px; color:#0a1a2a; font-size:19px; font-weight:800; }

/* ===== JUSTINE WHARTON TESTIMONIAL ===== */
.justine-testimonial {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.justine-testimonial .card {
  border: 2px solid #e2e8f0;
  border-left: 6px solid #d97706;
  padding: 25px;
  margin: 20px 0;
  border-radius: 8px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.justine-testimonial h3 {
  margin-top: 0;
  color: #1e293b;
  font-size: 1.4rem;
  font-weight: 700;
}
.justine-testimonial blockquote {
  margin: 15px 0;
  padding: 0 0 0 15px;
  font-style: italic;
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.6;
  border-left: none;
}
.justine-testimonial .author {
  margin: 0 0 15px 0;
  font-weight: 600;
  color: #1e293b;
  text-align: right;
}
.justine-testimonial .author span {
  font-weight: 400;
  color: #64748b;
}
.justine-testimonial hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 15px 0;
}
.justine-testimonial .body-text {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.6;
}
.justine-testimonial a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 500;
}
/* ===== ABOUT JOY + PAWAT DESKTOP LAYOUT ===== */
@media (min-width: 1024px) {
  .about-joy {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) minmax(280px, 0.72fr);
    align-items: start;
  }
  .about-joy .bio { max-width: none; }
  .about-joy > .partner-card { margin-top: 0; text-align: left; }
}

/* Thailand location map: hover enhancement only on devices with true hover.
   Keeps touch taps as direct navigation. */
@media (hover: hover) and (pointer: fine) {
  #map-section .map-location-marker:hover {
    transform: translate(-50%, -50%) scale(1.3) !important;
    box-shadow: 0 4px 20px rgba(255,179,0,0.6) !important;
  }
}
/* Batch 2D-3: defer rendering of selected below-the-fold homepage sections. */
.deferred-render {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

