:root {
  --green-900: #061f16;
  --green-800: #0b3527;
  --green-700: #424245;
  --gold-500: #fbb638;
  --gold-400: #e8a937;
  --ivory: #fbfbfd;
  --stone: #f5f5f7;
  --charcoal: #1d1d1f;
  --muted: #6e6e73;
  --text: #1d1d1f;
  --success: #1d7a3e;
  --warning: #b25000;
  --danger: #d70015;
  --light: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 20px;
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --serif: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --blue: #fbb638;
  --blue-dark: #c8850f;
  --gold-ink: #8a5a00;
  --focus: #b87400;
  --brand-dark: #061f16;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(251, 182, 56, 0.4); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 20;
  background: rgba(0, 37, 27, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: none;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.header-hidden { transform: translateY(-100%); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.admin-button {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.admin-button:hover { background: rgba(255, 255, 255, 0.2); }

.brand img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.75);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.btn {
  border: 1px solid transparent;
  border-radius: 980px;
  padding: 0.72rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold-500);
  color: var(--brand-dark);
  box-shadow: none;
}

.btn-primary:hover { background: var(--gold-400); }

.btn-secondary {
  border-color: rgba(0, 0, 0, 0.16);
  color: var(--gold-ink);
  background: transparent;
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(251, 182, 56, 0.16);
  border-color: rgba(184, 116, 0, 0.5);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  width: 42px;
  height: 42px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1.2rem 2rem;
  background: var(--green-800);
  color: white;
}

.page-shell {
  min-height: 60vh;
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.hero {
  position: relative;
  z-index: 2;
  background: linear-gradient(rgba(0, 27, 19, 0.66), rgba(0, 27, 19, 0.74)), url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  padding: 3rem 0 3.5rem;
  min-height: clamp(300px, 42vh, 440px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 100%;
}

.hero h1, .section-title, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero .eyebrow,
.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: #fbb638;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 600;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero p {
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin-bottom: 1.25rem;
}

.search-panel, .enquiry-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border-radius: 24px;
  padding: 1.35rem 1.35rem 1.1rem;
}

.enquiry-panel {
  background: rgba(255,255,255,0.96);
  color: var(--text);
}

.enquiry-panel h3 {
  margin-top: 0.2rem;
  margin-bottom: 1rem;
  font-size: 1.7rem;
  color: var(--green-900);
}

form .field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.4rem;
  color: var(--charcoal);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(251, 182, 56, 0.35);
}

.form-group textarea { min-height: 110px; resize: vertical; }

.section {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
  max-width: 62ch;
}

.section-header h2::before {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  margin-bottom: 1rem;
}

.section-alt { background: var(--stone); }

.caption-muted {
  color: var(--muted);
  font-weight: 500;
}

.service-card.cta-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(251, 182, 56, 0.3), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(232, 169, 55, 0.4);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 37, 27, 0.1);
}

.service-card.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 37, 27, 0.14);
}

.grid-2, .grid-3, .service-grid, .package-grid, .testimonial-grid, .gallery-grid, .faq-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid, .gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3, .package-grid, .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.service-card, .package-card, .testimonial-card, .faq-item, .project-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.package-card:hover,
.testimonial-card:hover,
.project-card:hover,
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card h3 { margin-top: 0.85rem; }

.icon-box {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(251, 182, 56, 0.18);
  color: var(--gold-ink);
  font-size: 1.5rem;
}

.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.property-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover img { transform: scale(1.05); }

.card-body { padding: 1rem; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(184, 116, 0, 0.5);
  background: rgba(251, 182, 56, 0.22);
  color: var(--gold-ink);
  border-radius: 980px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.meta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background: rgba(0, 37, 27, 0.96);
  color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-box strong { font-size: 2.1rem; color: var(--gold-500); }

.package-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.package-card.highlight { border-color: rgba(232, 169, 55, 0.95); box-shadow: 0 12px 28px rgba(251, 182, 56, 0.3); }

.package-rate {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--green-900);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.45rem;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 0.4rem;
  font-size: 0.92rem;
}

.spec-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Turnkey package sheets: a rate header with one expandable section per work stage. */
.package-sheets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.package-sheet {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.package-sheet.is-highlight {
  border-color: rgba(232, 169, 55, 0.9);
  box-shadow: 0 14px 32px rgba(251, 182, 56, 0.22);
}

.package-sheet-head {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: #f5f5f7;
  text-align: center;
  padding: 1.5rem 1.25rem 1.35rem;
  /* Tall enough for a badge, so all four headers line up. */
  min-height: 9.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.package-sheet-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.32rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

.package-sheet-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-500);
}

.package-sheet-price span {
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
}

.package-sheet-badge {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.7rem;
  border-radius: 980px;
  background: rgba(251, 182, 56, 0.18);
  border: 1px solid rgba(251, 182, 56, 0.5);
  color: var(--gold-500);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.package-sheet-body { flex: 1; }

.pkg-group { border-bottom: 1px solid rgba(0, 0, 0, 0.07); }

.pkg-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}

.pkg-group summary::-webkit-details-marker { display: none; }

.pkg-group summary:hover { background: rgba(251, 182, 56, 0.08); }

.pkg-group[open] > summary { background: rgba(251, 182, 56, 0.1); }

.pkg-chevron {
  width: 9px;
  height: 9px;
  margin-right: 3px;
  flex: 0 0 auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.pkg-group[open] .pkg-chevron {
  border-color: var(--gold-ink);
  transform: rotate(-135deg);
}

.pkg-items {
  margin: 0;
  padding: 0.15rem 1.25rem 0.9rem;
}

.pkg-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
  font-size: 0.86rem;
}

.pkg-item:last-child { border-bottom: 0; }

.pkg-item dt {
  flex: 0 0 44%;
  color: var(--muted);
}

.pkg-item dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.pkg-item.is-excluded dd {
  color: #a1a1a6;
  font-weight: 400;
}

.package-sheet-foot { padding: 1.1rem 1.25rem 1.3rem; }

.package-sheet-foot .btn { width: 100%; }

.package-note {
  margin-top: 1.25rem;
  max-width: 78ch;
  color: var(--muted);
  font-size: 0.85rem;
}

.estimate-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.estimate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 0.95rem;
}

.estimate-row:last-child { border-bottom: 0; }

.estimate-row strong {
  font-size: 1.15rem;
  color: var(--green-900);
  white-space: nowrap;
}

.admin-package-editor {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.015);
}

.admin-package-editor summary {
  cursor: pointer;
  font-size: 0.95rem;
}

.admin-package-editor textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .package-sheets { grid-template-columns: 1fr; }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.process-step {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.process-step .step-no {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(251, 182, 56, 0.28);
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: var(--gold-ink);
}

.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .gallery-grid img,
.gallery-grid a:hover img { transform: scale(1.04); }

.accordion {
  display: grid;
  gap: 0.75rem;
}

.faq-item button {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-answer {
  display: none;
  color: var(--muted);
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item.active .faq-answer { display: block; }

.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.72);
  padding-top: 3.5rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--gold-500);
  font-size: 0.95rem;
  letter-spacing: 0;
  margin-bottom: 0.9rem;
}

.site-footer a { transition: color var(--transition); }
.site-footer a:hover { color: #ffffff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 1.5rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-brand img { width: 200px; }

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.mobile-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  background: rgba(0, 37, 27, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: white;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  z-index: 60;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-bottom-bar a {
  text-align: center;
  padding: 0.9rem 0.5rem;
  font-weight: 600;
}

.page-top {
  background: linear-gradient(180deg, rgba(0, 37, 27, 0.95), rgba(0, 37, 27, 0.9));
  padding: 4.5rem 0 2.5rem;
  color: white;
}

.page-top h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.03em;
  margin: 0;
}

.listing-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
}

.filter-panel {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 84px;
  height: fit-content;
}

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.pager {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.pager a, .pager span {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(15,28,24,0.08);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  min-width: 44px;
  text-align: center;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.detail-layout > * { min-width: 0; }

.gallery-main img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.gallery-thumbs img {
  width: 100%;
  height: 95px;
  border-radius: 12px;
  object-fit: cover;
}

.info-panel {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 1.4rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(15,28,24,0.08);
}

.notice {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.notice.success {
  background: rgba(29, 122, 62, 0.1);
  color: #125a2c;
}

.notice.error {
  background: rgba(215, 0, 21, 0.08);
  color: #a00013;
}

.whatsapp-link {
  display: inline-block;
  font-weight: 600;
  color: #0b7a3e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alert-status {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.alert-status.is-on {
  background: rgba(37, 211, 102, 0.14);
  color: #0b6b3a;
}

.alert-status.is-off {
  background: rgba(232, 169, 55, 0.18);
  color: #6b4a10;
}

.count-pill {
  display: inline-block;
  min-width: 1.7rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(251, 182, 56, 0.28);
  color: var(--gold-ink);
  font-size: 0.85rem;
  text-align: center;
  vertical-align: middle;
}

.wa-link {
  color: #0b7a3e;
  font-weight: 600;
}

.wa-link:hover {
  text-decoration: underline;
}

.cell-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
  max-width: 34ch;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nowrap {
  white-space: nowrap;
  font-size: 0.86rem;
  color: var(--muted);
}

.empty-row {
  text-align: center;
  color: var(--muted);
  padding: 1.4rem;
}

.muted-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.7rem;
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.check-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.92rem;
  line-height: 1.45;
}

.check-badge {
  flex: 0 0 auto;
  min-width: 3.4rem;
  text-align: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.check-item.is-pass .check-badge { background: rgba(37, 211, 102, 0.18); color: #0b6b3a; }
.check-item.is-warn .check-badge { background: rgba(232, 169, 55, 0.22); color: #6b4a10; }
.check-item.is-fail .check-badge { background: rgba(215, 0, 21, 0.14); color: #9c0011; }
.check-item.is-fail { border-color: rgba(215, 0, 21, 0.25); }

.cell-message {
  display: block;
  max-width: 48ch;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.admin-sidebar {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.side-nav {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.side-nav a {
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  color: var(--charcoal);
  transition: var(--transition);
}

.side-nav a.active,
.side-nav a:hover {
  background: rgba(251, 182, 56, 0.28);
  color: var(--gold-ink);
}

.card-list {
  display: grid;
  gap: 1rem;
}

.table-wrap {
  overflow-x: auto;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(15,28,24,0.08);
  vertical-align: top;
}

th { background: rgba(251, 182, 56, 0.14); color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }

.hidden { display: none !important; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(0, 37, 27, 0.28); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-grid, .detail-layout, .listing-layout, .admin-shell, .grid-2, .grid-3, .grid-4, .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-grid, .package-grid, .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-row, .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-panel { position: static; }
}

@media (max-width: 720px) {
  .hero { padding-top: 3rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .service-grid, .package-grid, .gallery-grid, .stats-row, .process-grid, .field-row { grid-template-columns: 1fr; }
  .mobile-bottom-bar { display: grid; }
  body { padding-bottom: 4.5rem; }
  .site-header { padding-bottom: 0; }
  .brand img { height: 40px; }
  .header-actions { display: none; }
  .enquire-button { display: none; }
}

/* Mobile optimizations */
html { -webkit-tap-highlight-color: rgba(251, 182, 56, 0.35); }
a, button, .btn { touch-action: manipulation; }

.menu-toggle { width: 44px; height: 44px; }

.mobile-nav a {
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.02rem;
}

.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 720px) {
  .section { padding: 3.5rem 0; }
  .page-top { padding: 3rem 0 1.75rem; }
  .page-top h1 { font-size: clamp(1.9rem, 8vw, 3rem); }
  .gallery-main img { height: 260px; }
  .gallery-thumbs img { height: 76px; }
  .property-card img { height: 210px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .stat-box { padding: 1.1rem; }
  .stat-box strong { font-size: 1.7rem; }
  .mobile-bottom-bar { padding-bottom: env(safe-area-inset-bottom, 0); }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
  .search-panel, .enquiry-panel { padding: 1rem; }
  .container { width: min(1160px, calc(100% - 1.75rem)); }
}
