/* â”€â”€ Reset & variables â”€â”€ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0b1a2e;
  --navy-light: #122240;
  --blue: #1a7cff;
  --blue-hover: #0066ee;
  --blue-light: #4da3ff;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --white: #ffffff;
  --gray-bg: #f4f7fb;
  --border: #e2e8f0;
  --green: #22c55e;
  --orange: #f97316;
  --gold: #fbbf24;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-gray {
  background: var(--gray-bg);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid #dbe3ef;
  padding: 0.65rem 0;
  box-shadow: 0 1px 0 rgba(11, 26, 46, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 38px;
  width: auto;
}

.footer-logo img {
  height: 34px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: 0;
}

.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
  padding-bottom: 0.35rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active {
  color: var(--blue);
  font-weight: 700;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 999px;
}

.chevron {
  font-size: 0.65rem;
  opacity: 0.7;
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: #f1f5f9;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  background: transparent;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-login:hover,
.btn-login:focus,
.btn-login:active {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* â”€â”€ Hero â”€â”€ */
.hero {
  position: relative;
  min-height: 620px;
  padding-top: 2.5rem;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.webp") center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 26, 46, 0.88) 0%,
    rgba(11, 26, 46, 0.55) 50%,
    rgba(11, 26, 46, 0.3) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 0 2rem;
}

.hero-content {
  max-width: 620px;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(26, 124, 255, 0.25);
  border: 1px solid rgba(77, 163, 255, 0.5);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.text-highlight {
  color: var(--white);
}

.text-accent {
  color: var(--blue-light);
}

.hero-sub {
  font-size: 1rem;
  opacity: 0.88;
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badges .hero-badge {
  margin-bottom: 0;
}

/* â”€â”€ Search box â”€â”€ */
.search-wrapper {
  position: relative;
  z-index: 3;
  margin-top: auto;
  transform: translateY(50%);
}

.search-box {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem 1rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.search-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.search-tab {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.search-tab.active {
  background: var(--blue);
  color: var(--white);
}

.search-tab:hover:not(.active) {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.search-advanced {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--blue-light);
  font-weight: 500;
}

.search-advanced:hover {
  text-decoration: underline;
}

.search-form {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.search-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  background: var(--white);
  border: none;
  border-radius: 8px;
  color: var(--text);
}

.search-field input:focus,
.search-field select:focus {
  outline: 2px solid var(--blue);
}

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  height: 42px;
  transition: background 0.2s;
}

.btn-search:hover {
  background: var(--blue-hover);
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.popular-searches a {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: background 0.2s;
}

.popular-searches a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* â”€â”€ Stats bar â”€â”€ */
.stats-bar {
  background: var(--white);
  padding: 5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem 0.5rem;
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* â”€â”€ Section headers â”€â”€ */
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-top-center {
  flex-direction: column;
  text-align: center;
}

.section-top h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

.link-arrow:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .section-top:not(.section-top-center) .link-arrow {
    margin-left: auto;
  }
}

/* â”€â”€ Categories â”€â”€ */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
}

.category-icon-blue {
  background: #dbeafe;
  color: var(--blue);
}

.category-icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.category-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.category-arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--text-muted);
}

/* â”€â”€ Property cards â”€â”€ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.property-card:hover {
  transform: translateY(-4px);
}

.property-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 6px;
  color: var(--white);
}

.badge-verified { background: var(--green); }
.badge-popular { background: var(--orange); }
.badge-new { background: var(--blue); }

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: #ef4444;
}

.share-btn {
  flex-shrink: 0;
  width: auto;
  height: auto;
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  gap: 0.4rem;
  border: 1px solid var(--border);
  cursor: pointer;
  background: #f8fafc;
  border-radius: 4px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.share-btn svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
  flex-shrink: 0;
}

.share-btn:hover,
.share-btn:focus-visible {
  background: #e8f1ff;
  border-color: var(--blue);
  color: var(--blue-hover);
  outline: none;
}

.listing-footer .share-btn {
  align-self: flex-end;
  margin-left: auto;
}

.property-body .share-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

.detail-share {
  width: auto;
  height: auto;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  background: #e8f1ff;
  border-color: transparent;
  color: var(--blue);
}

.detail-share:hover,
.detail-share:focus-visible {
  background: #dbeaff;
  color: var(--blue-hover);
}

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 1100;
  transform: translateX(-50%) translateY(120%);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(11, 26, 46, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.share-menu {
  position: fixed;
  z-index: 1200;
  width: 160px;
  padding: 0.35rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(11, 26, 46, 0.16);
}

.share-menu[hidden] {
  display: none;
}

.share-menu-item {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.share-menu-item:hover,
.share-menu-item:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.property-body {
  position: relative;
  padding: 1rem 1.1rem 1.25rem;
}

.property-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.property-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.property-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.property-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.btn-outline {
  display: block;
  text-align: center;
  padding: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* â”€â”€ Localities â”€â”€ */
.locality-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}

.locality-card {
  position: relative;
  height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s;
}

.locality-card:hover {
  transform: scale(1.03);
}

.locality-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 26, 46, 0.85) 0%, rgba(11, 26, 46, 0.2) 100%);
}

.locality-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem;
  color: var(--white);
}

.locality-pin {
  font-size: 0.75rem;
}

.locality-info h3 {
  font-size: 0.9rem;
  font-weight: 700;
}

.locality-info p {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* â”€â”€ Testimonials â”€â”€ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-grid--center {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  margin-inline: auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 4px 24px rgba(11, 26, 46, 0.08);
  border: 1px solid rgba(11, 26, 46, 0.04);
}

.testimonial-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.testimonial-header span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

/* â”€â”€ Footer â”€â”€ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3.25rem;
}

.footer-intro {
  text-align: center;
  margin-bottom: 2.25rem;
}

.footer-intro h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e8c547;
  letter-spacing: 0.02em;
}

.footer-intro h3::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.65rem auto 0;
  background: #e8c547;
  border-radius: 999px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e8c547;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col a,
.footer-col p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  opacity: 1;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #e8c547;
}

.footer-stay-in-touch p {
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.footer-stay-in-touch a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-stay-in-touch a:hover {
  color: #e8c547;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s, transform 0.2s;
}

.footer-social-links a:hover {
  color: #e8c547;
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* â”€â”€ Floating buttons â”€â”€ */
.float-btn {
  position: fixed;
  bottom: 24px;
  z-index: 300;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-whatsapp {
  right: 24px;
  background: #25d366;
  color: #fff;
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
  display: block;
}

.float-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}

.page-detail .float-whatsapp {
  bottom: 24px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .locality-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .search-form {
    grid-template-columns: 1fr 1fr;
  }

  .btn-search {
    width: 100%;
    height: 42px;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-left: 0;
  }

  .nav-right.open {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: #64748b;
  }

  .nav-links a.active {
    color: var(--blue);
  }

  .nav-links a.active::after {
    left: 1.5rem;
    right: auto;
    bottom: 0.55rem;
    width: 2.5rem;
    background: var(--blue);
  }

  .nav-right .btn-login {
    margin: 0.5rem 1.5rem 0;
    text-align: center;
  }

  .nav {
    position: relative;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .search-wrapper {
    transform: none;
    margin-top: 2rem;
    padding-bottom: 2rem;
  }

  .stats-bar {
    padding-top: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .locality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 420px;
    text-align: center;
  }

  .footer-social-links {
    justify-content: center;
  }
}

/* ══════════════════════════════════════
   Properties listing page
   ══════════════════════════════════════ */
.page-listings {
  background: #f5f6f8;
  min-height: 100vh;
}

.listings-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.listings-header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.listings-header .logo img {
  height: 36px;
  width: auto;
}

.listings-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
  max-width: 620px;
  width: 100%;
  margin-inline: auto;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.listings-search-icon {
  color: var(--text-muted);
  display: flex;
  flex-shrink: 0;
}

.listings-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--text);
  min-width: 0;
}

.listings-search input:focus {
  outline: none;
}

.listings-search input::placeholder {
  color: #94a3b8;
}

.listings-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s;
}

.listings-search-btn:hover {
  background: var(--blue-hover);
}

.listings-search-panel {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.listings-search-panel .listings-search {
  max-width: 560px;
  width: min(100%, 560px);
  margin-inline: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.listings-hero {
  padding: 3.25rem 0 3rem;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 28px 100%,
    var(--navy);
  color: var(--white);
  margin-bottom: 1.75rem;
}

.listings-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.listings-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
  max-width: none;
}

@media (max-width: 560px) {
  .listings-hero h1 {
    white-space: normal;
    padding: 0 0.5rem;
  }
}

.listings-hero p {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.listings-search-bar {
  margin-top: 1.35rem;
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: center;
}

.listings-search-bar .listings-search {
  max-width: none;
  width: 100%;
  margin: 0;
  flex: 1 1 auto;
}

.listings-main {
  padding: 0 0 4rem;
}

.listings-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.filters-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.25rem;
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 88px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}

.filters-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.filters-body::-webkit-scrollbar {
  width: 4px;
}

.filters-body::-webkit-scrollbar-track {
  background: transparent;
}

.filters-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.filters-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.filters-body::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.filters-head h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.filters-head-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.clear-filters {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
}

.clear-filters:hover {
  text-decoration: underline;
}

.filters-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--navy);
  background: #f1f5f9;
  flex-shrink: 0;
}

.filters-close:hover {
  background: #e2e8f0;
}

.filter-group {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f1f1;
}

.filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.55rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem 0;
  font-size: 0.875rem;
  color: #343434;
  cursor: pointer;
}

.filter-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}

.filter-field input[type="date"] {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.85rem;
  color: var(--text);
  background: #f8fafc;
}

.filters-apply-mobile {
  display: none;
}

.listings-content {
  min-width: 0;
}

.listings-page-header {
  margin-bottom: 1rem;
}

.listings-page-header h1 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.listings-page-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 42rem;
  margin: 0;
}

.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.listings-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.listings-count strong {
  color: var(--navy);
  font-size: 1rem;
}

.listings-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.mobile-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.mobile-sort select {
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  background: var(--white);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.listing-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: pointer;
}

.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.listing-card[hidden] {
  display: none;
}

.listing-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e2e8f0;
  overflow: hidden;
}

.listing-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.65rem;
  background: linear-gradient(90deg, #6d28d9 0%, #7c3aed 100%);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.listing-banner::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.35em;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35);
  vertical-align: 0.05em;
}

.listing-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 5;
}

.listing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.listing-dots span.active {
  background: var(--white);
}

.listing-img .wishlist-btn {
  top: 10px;
  right: 10px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.img-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}

.listing-img:hover .img-chevron,
.listing-card:focus-within .img-chevron {
  opacity: 1;
}

.img-chevron:hover {
  background: rgba(0, 0, 0, 0.55);
}

.img-chevron-prev {
  left: 8px;
}

.img-chevron-next {
  right: 8px;
}

@media (max-width: 768px) {
  .img-chevron {
    opacity: 1;
    width: 26px;
    height: 40px;
  }

  .detail-gallery-main .gallery-chevron {
    opacity: 1;
    width: 32px;
    height: 44px;
  }
}

.listing-body {
  padding: 0.95rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
}

.listing-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
}

.listing-title-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.signature-badge {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy);
  background: #e8eef7;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}

.signature-badge::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.3em;
  background: var(--navy);
  transform: rotate(45deg);
  vertical-align: 0.1em;
}

.listing-meta {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.gender-tag {
  font-weight: 600;
}

.gender-unisex { color: #0ea5e9; }
.gender-men { color: #2563eb; }
.gender-women { color: #ec4899; }

.listing-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.listing-price {
  font-size: 0.72rem;
  color: #6b7280;
}

.listing-price strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 0.05rem;
}

.discount-tag {
  font-size: 0.62rem;
  font-weight: 700;
  color: #1a7cff;
  background: #e8f3ff;
  padding: 0.3rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
}

.listings-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.filters-backdrop {
  display: none;
}

/* Desktop large — keep 3 wide cards; drop to 2 earlier */
@media (max-width: 1100px) {
  .listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet */
@media (max-width: 992px) {
  .listings-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1rem;
  }

  .listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .listing-title-row h3 {
    font-size: 0.88rem;
  }
}

/* Mobile / small tablet — filters drawer + 1–2 col cards */
@media (max-width: 768px) {
  .listings-layout {
    grid-template-columns: 1fr;
  }

  .listings-search-panel {
    justify-content: stretch;
  }

  .listings-search-panel .listings-search {
    width: 100%;
    max-width: none;
  }

  .listings-mobile-actions {
    display: flex;
  }

  .filters-sidebar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    max-height: 100vh;
    border-radius: 0;
    z-index: 400;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .filters-sidebar.open {
    transform: translateX(0);
  }

  .filters-close {
    display: inline-flex;
  }

  .filters-apply-mobile {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.85rem;
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 350;
  }

  .filters-backdrop[hidden] {
    display: none;
  }

  .listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listings-header-inner {
    flex-wrap: wrap;
  }

  .listings-hero {
    padding: 2.4rem 0 2.2rem;
  }
  .btn-login {
    margin-left: auto;
  }
}

/* Phone */
@media (max-width: 560px) {
  .listings-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .listing-card {
    border-radius: 10px;
  }

  .listing-img {
    aspect-ratio: 16 / 10;
  }

  .property-img {
    aspect-ratio: 16 / 10;
  }

  .listing-body {
    padding: 0.85rem 1rem 1rem;
  }

  .listing-title-row h3 {
    font-size: 1rem;
  }

  .listing-price strong {
    font-size: 1.15rem;
  }

  .btn-login {
    font-size: 0.7rem;
    padding: 0.5rem 0.7rem;
  }

  .listings-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .listings-mobile-actions {
    justify-content: space-between;
  }
}

/* ══════════════════════════════════════
   Property detail page
   ══════════════════════════════════════ */
.page-detail {
  background: #f5f6f8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.detail-main {
  flex: 1 0 auto;
  padding: 1.25rem 0 3rem;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.detail-breadcrumb a {
  color: var(--blue);
  font-weight: 500;
}

.detail-breadcrumb a:hover {
  text-decoration: underline;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.85fr 0.85fr;
  grid-template-rows: minmax(340px, auto) auto;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.detail-gallery {
  display: contents;
}

.detail-gallery-main {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e2e8f0;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.detail-gallery-main .gallery-chevron {
  opacity: 0.9;
  width: 36px;
  height: 48px;
  font-size: 1.5rem;
  z-index: 7;
}

.detail-gallery-main:hover .gallery-chevron,
.detail-gallery-main:focus-within .gallery-chevron {
  opacity: 1;
}

.detail-gallery-main .gallery-chevron:hover {
  background: rgba(0, 0, 0, 0.6);
}

.detail-gallery-thumbs {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 0.65rem;
}

.gallery-thumb {
  width: 88px;
  height: 64px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid transparent;
  opacity: 0.75;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--blue);
}

.detail-summary {
  grid-column: 2;
  grid-row: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  min-height: 340px;
}

.detail-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.detail-summary-top > div:first-child {
  flex: 1;
  min-width: 0;
}

.detail-summary h1 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.35rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.detail-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.detail-fav {
  position: static;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 1.1rem;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.detail-gender,
.detail-stay {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--navy);
}

.detail-stay {
  background: #f1f5f9;
  color: #475569;
}

.detail-gender.gender-men { background: #dbeafe; color: #1d4ed8; }
.detail-gender.gender-women { background: #fce7f3; color: #be185d; }
.detail-gender.gender-unisex { background: #e0f2fe; color: #0369a1; }

.detail-map-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

.detail-price-box {
  background: linear-gradient(135deg, #0b1a2e 0%, #16325a 100%);
  color: var(--white);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  margin-top: 0.15rem;
}

.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  margin: 0;
  line-height: 1.2;
}

.detail-price-label {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.detail-price-currency {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.detail-price-figure {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
}

.detail-price-amount {
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.detail-price-unit {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

@media (min-width: 641px) {
  .detail-price-box {
    padding: 0.35rem 0.8rem;
  }

  .detail-price-label,
  .detail-price-unit {
    font-size: 0.76rem;
  }

  .detail-price-currency,
  .detail-price-amount {
    font-size: 1.15rem;
  }
}

.detail-offer {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #93c5fd;
}

.detail-cta-desktop {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.detail-cta-desktop .detail-field {
  margin: 0;
}

.detail-cta-desktop .detail-help {
  margin: 0.15rem 0 0;
  text-align: center;
}

.detail-cta-desktop .btn-detail-primary {
  width: 100%;
  padding: 0.85rem 1rem;
}

.btn-detail-primary,
.btn-detail-secondary {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-detail-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-detail-primary:hover {
  background: var(--blue-hover);
}

.btn-detail-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-detail-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

.detail-layout {
  display: block;
  width: 100%;
}

.detail-content {
  width: 100%;
}

.detail-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
}

.detail-section h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.detail-section > p,
.detail-section-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.room-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: #fafbfc;
}

.room-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.room-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.room-card strong {
  display: block;
  font-size: 1.25rem;
  margin: 0.45rem 0 0;
  color: var(--navy);
  line-height: 1.4;
}

.room-card strong span,
.room-note {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.detail-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.detail-spec {
  min-width: 100px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafbfc;
}

.detail-spec-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.detail-spec strong {
  font-size: 1rem;
  color: var(--navy);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.plan-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  background: #fafbfc;
}

.plan-card-featured {
  border-color: var(--blue);
  background: #f0f7ff;
}

.plan-tag {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--blue);
  color: var(--white);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.plan-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.plan-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.plan-card strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #eef2f7;
}

.amenity-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.detail-info-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.detail-info-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.detail-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.charges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.charge-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: #fafbfc;
}

.charge-card h3 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.charge-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.charge-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.booking-step {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  background: #fafbfc;
}

.booking-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.booking-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.booking-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.nearby-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafbfc;
}

.nearby-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.nearby-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.detail-sidebar {
  position: sticky;
  top: 88px;
}

.detail-sticky-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.detail-sticky-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.detail-sticky-card > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.detail-field input,
.detail-field select {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  background: #f8fafc;
}

.detail-date-wrap {
  position: relative;
  display: block;
}

.detail-date-wrap input[type="date"] {
  width: 100%;
  min-height: 44px;
  padding-right: 2.75rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid #d1d5db;
  border-radius: 10px;
}

.detail-date-placeholder {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
}

.detail-date-icon {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: #111827;
  pointer-events: none;
}

.detail-date-wrap.has-value .detail-date-placeholder {
  opacity: 0;
  visibility: hidden;
}

.detail-date-wrap:not(.has-value) input[type="date"]::-webkit-datetime-edit,
.detail-date-wrap:not(.has-value) input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.detail-date-wrap:not(.has-value) input[type="date"]::-webkit-datetime-edit-text,
.detail-date-wrap:not(.has-value) input[type="date"]::-webkit-datetime-edit-month-field,
.detail-date-wrap:not(.has-value) input[type="date"]::-webkit-datetime-edit-day-field,
.detail-date-wrap:not(.has-value) input[type="date"]::-webkit-datetime-edit-year-field {
  color: transparent;
}

.detail-date-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  opacity: 0;
  cursor: pointer;
}

.detail-sticky-card .btn-block {
  margin-bottom: 0.55rem;
}

.detail-help {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.45;
}

.detail-help a {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 992px) {
  .detail-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .detail-gallery-main,
  .detail-gallery-thumbs,
  .detail-summary {
    grid-column: 1;
    grid-row: auto;
  }

  .detail-gallery-main {
    min-height: 240px;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .detail-summary {
    min-height: 0;
    height: auto;
  }

  .detail-cta-desktop {
    display: flex;
    margin-top: 0.15rem;
  }

  .plan-grid,
  .charges-grid,
  .booking-steps {
    grid-template-columns: 1fr;
  }

  .nearby-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .detail-gallery-main {
    aspect-ratio: 4 / 3;
  }

  .detail-gallery-thumbs {
    overflow-x: auto;
  }

  .gallery-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
  }

  .detail-price-box {
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
  }

  .detail-price-row {
    flex-wrap: nowrap;
    gap: 0.3rem 0.4rem;
    align-items: center;
  }

  .detail-price-label,
  .detail-price-unit {
    font-size: 0.8rem;
  }

  .detail-price-currency {
    font-size: 1.15rem;
  }

  .detail-price-amount {
    font-size: 1.1rem;
  }

  .detail-section {
    padding: 1.1rem;
  }
}

/* ══════════════════════════════════════
   About Us page
   ══════════════════════════════════════ */
.page-about {
  background: #f8fafc;
}

.about-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 1rem;
}

.about-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.about-nav a:hover,
.about-nav a.active {
  color: var(--navy);
}

.about-hero {
  background: linear-gradient(135deg, #0b1a2e 0%, #16325a 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.about-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.about-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.about-hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 0.9rem;
  max-width: 560px;
}

.about-hero-copy .btn-detail-primary {
  margin-top: 0.75rem;
  display: inline-block;
}

.about-hero-visual {
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

.about-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.3rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.about-pillar:hover {
  border-color: #c7d7ea;
  box-shadow: 0 8px 24px rgba(11, 26, 46, 0.06);
  transform: translateY(-2px);
}

.about-pillar-tag {
  align-self: flex-start;
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-pillar h2 {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--navy);
}

.about-pillar p,
.about-pillar li {
  margin: 0.15rem 0 0;
  color: #54708f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-pillar ul {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.about-pillar li {
  position: relative;
  padding-left: 1rem;
}

.about-pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Pillar accents — tag + title + bullets */
.about-pillar--vision .about-pillar-tag {
  color: #1a6fd4;
  background: #e8f1ff;
}
.about-pillar--vision h2 {
  color: #1557a8;
}
.about-pillar--vision li::before {
  background: #1a6fd4;
}

.about-pillar--goals .about-pillar-tag {
  color: #0d9488;
  background: #e6fffa;
}
.about-pillar--goals h2 {
  color: #0f766e;
}
.about-pillar--goals li::before {
  background: #0d9488;
}

.about-pillar--mission .about-pillar-tag {
  color: #7c3aed;
  background: #f3e8ff;
}
.about-pillar--mission h2 {
  color: #6d28d9;
}
.about-pillar--mission li::before {
  background: #7c3aed;
}

.about-company {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-company h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-company-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.85rem;
  max-width: 36rem;
}

.about-company-copy p:last-of-type {
  margin-bottom: 0;
}

.about-company-visual {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--border);
}

.about-company-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.about-cta-wrap {
  text-align: center;
  margin-top: 1.75rem;
}

.about-stats {
  background: linear-gradient(135deg, #0b1a2e 0%, #16325a 100%);
  color: var(--white);
  padding: 3rem 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.about-stat strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--blue-light);
}

.about-stat span {
  font-size: 0.95rem;
  opacity: 0.85;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 1.25rem;
  justify-content: center;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.4rem;
}

.team-card h3 {
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-card > p {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-social a,
.team-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  transition: color 0.2s, background 0.2s;
}

.team-social a:hover {
  color: var(--blue-hover);
  background: #e4ebf5;
}

.team-social-icon.is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.about-partners {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.about-partners h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.about-partners p {
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .about-hero-grid,
  .about-pillars-grid,
  .about-company,
  .why-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-company {
    gap: 1.75rem;
  }

  .about-company-visual {
    order: -1;
    max-width: 520px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .about-nav {
    display: none;
  }

  .about-hero {
    padding: 3rem 0;
  }
}

/* ══════════════════════════════════════
   Contact Us page
   ══════════════════════════════════════ */
.page-contact {
  background: #f8fafc;
}

.contact-hero {
  background: linear-gradient(135deg, #0b1a2e 0%, #16325a 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.contact-hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
  height: 100%;
  min-height: 100%;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.65rem;
  border-radius: 12px;
  background: #e8f1ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-card h2 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-info-card a:hover {
  color: var(--blue);
}

.contact-page-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-page-form h3 {
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-page-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-page-form input,
.contact-page-form textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  background: #f8fafc;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
  outline: 2px solid var(--blue);
  border-color: transparent;
}

.contact-find-us .section-top {
  margin-bottom: 1.5rem;
}

.contact-find-us h2 {
  color: var(--navy);
}

.contact-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(11, 26, 46, 0.08);
  background: var(--white);
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-map-address {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    height: auto;
    min-height: 0;
    grid-template-rows: none;
  }

  .contact-info-card {
    min-height: auto;
  }

  .contact-map-wrap iframe {
    height: 320px;
  }
}

/* ── Image lightbox ── */
body.lightbox-open {
  overflow: hidden;
}

.is-zoomable {
  position: relative;
}

.is-zoomable::after {
  display: none;
}

.is-zoomable::before {
  display: none;
}

.img-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: zoom-in;
  background-color: rgba(11, 26, 46, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='10.5' cy='10.5' r='6.25' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M10.5 7.75v5.5M7.75 10.5h5.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M15.25 15.25L20 20' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.img-zoom-btn:hover,
.img-zoom-btn:focus-visible {
  transform: scale(1.06);
  background-color: rgba(11, 26, 46, 0.95);
  outline: none;
}

.listing-img .img-zoom-btn {
  bottom: 14px;
  right: 12px;
}

.property-img .img-zoom-btn {
  bottom: 12px;
  right: 12px;
}

.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3.5rem;
  background: rgba(11, 26, 46, 0.92);
}

.img-lightbox[hidden] {
  display: none;
}

.img-lightbox-photo {
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background: #0b1a2e;
}

.img-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.img-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.img-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.img-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.img-lightbox-prev {
  left: 1rem;
}

.img-lightbox-next {
  right: 1rem;
}

.img-lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .img-lightbox {
    padding: 3.5rem 0.75rem 3rem;
  }

  .img-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .img-lightbox-prev {
    left: 0.35rem;
  }

  .img-lightbox-next {
    right: 0.35rem;
  }

  .img-lightbox-photo {
    max-height: calc(100vh - 6rem);
  }
}

/* ── Blogs page ── */
.page-blogs {
  background: #f5f7fa;
}

.blogs-hero {
  padding: 3.25rem 0;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}

.blogs-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.blogs-hero p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.blogs-listing {
  padding-top: 2.75rem;
  padding-bottom: 3rem;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem 1.3rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  border-color: #c7d7ea;
  box-shadow: 0 8px 24px rgba(11, 26, 46, 0.06);
}

.blog-tag {
  align-self: flex-start;
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0.15rem 0 0;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--navy);
}

.blog-date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-excerpt {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #54708f;
  flex: 1;
}

.blog-read-more {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.blog-read-more:hover {
  opacity: 0.85;
}

/* Category colors — tag + link share the same accent */
.blog-card--pg .blog-tag {
  color: #1a6fd4;
  background: #e8f1ff;
}
.blog-card--pg .blog-read-more {
  color: #1a6fd4;
}

.blog-card--compare .blog-tag {
  color: #7c3aed;
  background: #f3e8ff;
}
.blog-card--compare .blog-read-more {
  color: #7c3aed;
}

.blog-card--locality .blog-tag {
  color: #0d9488;
  background: #e6fffa;
}
.blog-card--locality .blog-read-more {
  color: #0d9488;
}

.blog-card--checklist .blog-tag {
  color: #c2410c;
  background: #fff7ed;
}
.blog-card--checklist .blog-read-more {
  color: #c2410c;
}

.blog-card--area .blog-tag {
  color: #a16207;
  background: #fef9c3;
}
.blog-card--area .blog-read-more {
  color: #a16207;
}

.blog-card--safety .blog-tag {
  color: #9f1239;
  background: #fff1f2;
}
.blog-card--safety .blog-read-more {
  color: #9f1239;
}

.blogs-cta {
  padding: 2rem 0;
  text-align: center;
  background: #eef3f8;
}

.blogs-cta-line {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

.blogs-cta-line a {
  color: #d4a017;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.blogs-cta-line a:hover {
  color: #b8860b;
}

@media (max-width: 992px) {
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blogs-hero {
    padding: 2.4rem 0;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Home: Pickup & Drop services ── */
.home-services-sub,
.services-pickup-sub {
  text-align: center;
  margin: 1.25rem 0 2rem;
}

.services-listing .pickup-flow {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

.services-listing .services-pickup-sub {
  margin-bottom: 2.5rem;
}

.services-listing .pickup-leg--blue .pickup-walker {
  display: none;
}

.pickup-flow {
  width: 100%;
  padding: 2rem 2rem;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  border: 1.5px solid #b7d4f5;
  border-radius: 18px;
}

.pickup-flow-track {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.75rem 1rem;
}

.pickup-endpoint,
.pickup-leg,
.pickup-mid-point {
  display: grid;
  grid-template-rows: 1.35rem 64px auto;
  align-items: center;
  justify-items: center;
}

.pickup-flow-top,
.pickup-flow-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1.35rem;
}

.pickup-flow-journey {
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  min-height: 64px;
}

.pickup-endpoint {
  text-align: center;
}

.pickup-endpoint-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #e8f2ff;
  color: var(--blue);
}

.pickup-endpoint .pickup-endpoint-label,
.pickup-mobile-endpoint-label,
.pickup-mid-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a6fd4;
}

.pickup-endpoint-copy,
.pickup-mobile-endpoint-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
}

.pickup-endpoint-sub,
.pickup-mobile-endpoint-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: #5a8fc7;
  line-height: 1.25;
}

.pickup-leg {
  min-width: 0;
  grid-template-rows: auto 28px auto;
}

.pickup-leg .pickup-flow-top {
  min-height: 0;
}

.pickup-leg .pickup-leg-label {
  align-self: end;
  line-height: 1;
  margin-bottom: 0;
}

.pickup-leg .pickup-flow-journey {
  height: 24px;
  min-height: 24px;
  align-self: start;
  margin-top: 0.05rem;
}

.pickup-leg-label {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

.pickup-leg--green {
  color: #16a34a;
}

.pickup-leg--blue {
  color: #1a7cff;
}

.pickup-leg-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}

.pickup-walker {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: inherit;
}

.pickup-walker svg {
  width: 22px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.pickup-mid-icons,
.pickup-mid-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.pickup-mid-bottom {
  width: 100%;
}

.pickup-mid-person,
.pickup-mid-person-spacer {
  display: none;
}

.pickup-mid-label {
  width: 64px;
  flex-shrink: 0;
  text-align: center;
}

.pickup-mid-person svg {
  width: 22px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.pickup-mid-point .pickup-endpoint-icon {
  flex-shrink: 0;
}

.pickup-leg-dash {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 0;
  align-self: center;
  border-top: 2px dashed currentColor;
}

.pickup-mid {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  align-self: stretch;
  padding: 0.25rem 0;
}

.pickup-divider {
  display: block;
  width: 0;
  align-self: stretch;
  border-left: 2px dashed #8eb8e8;
}

.pickup-flow-mobile {
  display: none;
}

.pickup-mobile-endpoint {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pickup-mobile-endpoint-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e8f2ff;
}

.pickup-mobile-action {
  display: grid;
  grid-template-columns: 40px 36px 1fr;
  align-items: start;
  gap: 0.75rem 0.65rem;
}

.pickup-mobile-person {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 0;
}

.pickup-mobile-person svg {
  width: 22px;
  height: 28px;
  display: block;
}

.pickup-mobile-line-wrap {
  display: flex;
  justify-content: center;
  padding-top: 0.15rem;
}

.pickup-mobile-line-dash {
  display: block;
  width: 0;
  height: 72px;
  border-left: 2px dashed #8eb8e8;
}

.pickup-mobile-action--green {
  color: #16a34a;
}

.pickup-mobile-action--blue {
  color: #1a7cff;
}

.pickup-mobile-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

.pickup-mobile-copy p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.pickup-mobile-divider {
  height: 0;
  margin: 0.35rem 0;
  border-top: 2px dashed #8eb8e8;
}

.pickup-features-card {
  margin-top: 0;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1.5px solid #b7d4f5;
  border-radius: 18px;
}

.pickup-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.pickup-feature {
  text-align: center;
}

.pickup-feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.pickup-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.pickup-feature p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.pickup-feature--green .pickup-feature-icon {
  background: #e7f8ee;
  color: #16a34a;
}
.pickup-feature--green h3 { color: #16a34a; }

.pickup-feature--blue .pickup-feature-icon {
  background: #e8f1ff;
  color: #1a7cff;
}
.pickup-feature--blue h3 { color: #1a7cff; }

.pickup-feature--purple .pickup-feature-icon {
  background: #f3e8ff;
  color: #7c3aed;
}
.pickup-feature--purple h3 { color: #7c3aed; }

.pickup-feature--orange .pickup-feature-icon {
  background: #fff1e6;
  color: #c2410c;
}
.pickup-feature--orange h3 { color: #c2410c; }

@media (max-width: 900px) {
  .pickup-features-card {
    padding: 1.5rem 1.25rem;
  }

  .pickup-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}

@media (max-width: 640px) {
  .home-services-sub {
    display: none;
  }

  .pickup-flow {
    padding: 1.35rem 0.85rem;
  }

  .services-listing .pickup-flow-track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 0;
    width: 100%;
  }

  .services-listing .pickup-flow-track > * {
    width: 100%;
  }

  .services-listing .pickup-flow-track > :not(:last-child) {
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
  }

  .services-listing .pickup-endpoint,
  .services-listing .pickup-leg,
  .services-listing .pickup-mid-point {
    display: grid;
    grid-template-rows: none;
    grid-template-columns: none;
    align-items: center;
    justify-items: stretch;
  }

  .services-listing .pickup-endpoint {
    grid-template-columns: 52px 1fr;
    gap: 0.85rem;
  }

  .services-listing .pickup-endpoint .pickup-flow-top {
    display: none;
  }

  .services-listing .pickup-endpoint .pickup-flow-journey {
    grid-column: 1;
    grid-row: 1;
    width: 52px;
    height: 52px;
    min-height: 0;
  }

  .services-listing .pickup-endpoint-icon {
    width: 52px;
    height: 52px;
  }

  .services-listing .pickup-endpoint .pickup-flow-bottom {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 0;
  }

  .services-listing .pickup-endpoint-copy {
    align-items: flex-start;
    text-align: left;
  }

  .services-listing .pickup-endpoint-sub {
    font-size: 0.62rem;
  }

  .services-listing .pickup-leg {
    display: grid;
    grid-template-columns: 40px 28px 1fr;
    grid-template-rows: auto;
    column-gap: 0.35rem;
    row-gap: 0;
    align-items: start;
  }

  .services-listing .pickup-leg .pickup-flow-top {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    min-height: 0;
    margin: 0;
    padding-left: 0.1rem;
    text-align: left;
    line-height: 1.1;
  }

  .services-listing .pickup-leg .pickup-flow-journey {
    display: contents;
    height: auto;
    min-height: 0;
  }

  .services-listing .pickup-leg .pickup-walker {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-top: 0.15rem;
  }

  .services-listing .pickup-leg .pickup-leg-dash {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: stretch;
    width: 0;
    height: auto;
    min-height: 72px;
    border-top: none;
    border-left: 2px dashed currentColor;
    flex: none;
  }

  .services-listing .pickup-leg .pickup-flow-bottom {
    display: none;
  }

  .services-listing .pickup-mid {
    display: block;
    padding: 0;
  }

  .services-listing .pickup-mid-point {
    display: grid;
    grid-template-columns: 40px 28px 1fr;
    column-gap: 0.35rem;
    row-gap: 0.35rem;
    align-items: center;
    padding-left: 0;
    width: 100%;
  }

  .services-listing .pickup-mid .pickup-flow-top {
    display: none;
  }

  .services-listing .pickup-mid-icons {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: auto;
    height: auto;
    min-height: 0;
    justify-content: center;
  }

  .services-listing .pickup-mid-bottom {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    justify-content: center;
    padding-left: 0;
    width: auto;
  }

  .services-listing .pickup-mid-label {
    width: auto;
    text-align: center;
  }

  .services-listing .pickup-mid-person-spacer {
    display: none;
  }

  .pickup-features-card {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .pickup-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0;
  }

  .pickup-feature {
    padding: 1.35rem 1rem;
    background: var(--white);
    border: 1.5px solid #b7d4f5;
    border-radius: 18px;
  }
}

/* ── Services page ── */
.page-services {
  background: #f5f7fa;
}

.services-hero {
  padding: 3.25rem 0;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}

.services-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.services-hero p {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.services-listing {
  padding-top: 2.75rem;
  padding-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: #c7d7ea;
  box-shadow: 0 8px 24px rgba(11, 26, 46, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.service-card h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--navy);
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #54708f;
}

.service-card--pickup {
  gap: 0.85rem;
}

.service-card--pickup .pickup-flow {
  margin-top: 0;
  padding: 0.85rem 0.65rem;
  border-radius: 12px;
}

.service-card--pickup .pickup-flow-track {
  gap: 0.35rem 0.4rem;
}

.service-card--pickup .pickup-endpoint,
.service-card--pickup .pickup-mid-point {
  grid-template-rows: 1rem 40px 1rem;
}

.service-card--pickup .pickup-leg {
  grid-template-rows: auto 22px auto;
}

.service-card--pickup .pickup-flow-journey {
  height: 40px;
  min-height: 40px;
}

.service-card--pickup .pickup-leg .pickup-flow-journey {
  height: 22px;
  min-height: 22px;
}

.service-card--pickup .pickup-leg .pickup-leg-label {
  margin-bottom: 0.05rem;
}

.service-card--pickup .pickup-endpoint-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.service-card--pickup .pickup-endpoint-icon svg {
  width: 28px;
  height: 28px;
}

.service-card--pickup .pickup-endpoint .pickup-endpoint-label,
.service-card--pickup .pickup-mobile-endpoint-label {
  font-size: 0.68rem;
}

.service-card--pickup .pickup-endpoint-sub,
.service-card--pickup .pickup-mobile-endpoint-sub {
  font-size: 0.58rem;
}

.service-card--pickup .pickup-leg-label {
  font-size: 0.72rem;
}

.service-card--pickup .pickup-mid-person-spacer {
  width: 16px;
}

.service-card--pickup .pickup-mid-label {
  width: 40px;
}

.service-card--pickup .pickup-walker svg,
.service-card--pickup .pickup-mid-person svg {
  width: 16px;
  height: 20px;
}

.service-card--pickup .pickup-leg-dash {
  border-top-width: 2px;
}

.service-card--pickup .pickup-mobile-line-dash {
  height: 56px;
}

.service-card--pickup .pickup-mid {
  gap: 0.35rem;
}

.service-card--pickup .pickup-mobile-action {
  grid-template-columns: 28px 28px 1fr;
  gap: 0.5rem 0.45rem;
}

.service-card--pickup .pickup-mobile-endpoint-icon {
  width: 40px;
  height: 40px;
}

.service-card--pickup .pickup-mobile-person svg {
  width: 18px;
  height: 23px;
}

.service-card--pickup .pickup-mobile-line-dash {
  height: 56px;
}

.service-card--pickup .pickup-mobile-copy strong {
  font-size: 0.85rem;
}

.service-card--pickup .pickup-mobile-copy p {
  font-size: 0.75rem;
}

.service-card--pickup .service-icon {
  color: #1a6fd4;
  background: #e8f1ff;
}
.service-card--tour .service-icon {
  color: #0d9488;
  background: #e6fffa;
}
.service-card--verified .service-icon {
  color: #15803d;
  background: #ecfdf3;
}
.service-card--shortlist .service-icon {
  color: #7c3aed;
  background: #f3e8ff;
}
.service-card--movein .service-icon {
  color: #c2410c;
  background: #fff7ed;
}
.service-card--owner .service-icon {
  color: #a16207;
  background: #fef9c3;
}

.services-cta {
  padding: 2rem 0;
  text-align: center;
  background: #eef3f8;
}

.services-cta-line {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

.services-cta-line a {
  color: #d4a017;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.services-cta-line a:hover {
  color: #b8860b;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-hero {
    padding: 2.4rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   Partner Sign In page
   ══════════════════════════════════════ */
.page-partner-signin {
  background: #f8fafc;
}

.btn-login.is-active {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.partner-signin-layout {
  max-width: 440px;
  margin-inline: auto;
}

.partner-signin-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.partner-signin-form h3 {
  color: var(--navy);
  margin-bottom: 0;
}

.partner-signin-hint {
  margin: -0.35rem 0 0.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.partner-signin-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.partner-signin-form input {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  background: #f8fafc;
}

.partner-signin-form input:focus {
  outline: 2px solid var(--blue);
  border-color: transparent;
}

.partner-signin-form .btn-detail-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.partner-signin-alert {
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.partner-signin-alert.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.partner-signin-alert.is-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
