:root {
  --ink: #172027;
  --muted: #69767f;
  --line: #e6e1da;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --soft: #f4efe9;
  --wash: #edf3f1;
  --clay: #bd6c4d;
  --clay-dark: #96543d;
  --charcoal: #40525a;
  --shadow: 0 18px 45px rgba(23, 32, 39, 0.09);
  --radius: 8px;
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.container.narrow {
  width: min(100% - 32px, 820px);
}

.topbar {
  background: #f0ede8;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.quick-link {
  color: #53616a;
}

.top-spacer {
  flex: 1;
}

.hide-small {
  display: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-brand img {
  width: min(58vw, 280px);
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  flex: 0 0 auto;
}

.brand-mark span {
  background: var(--charcoal);
  border-radius: 1px;
}

.brand-mark span:nth-child(2) {
  background: repeating-linear-gradient(90deg, #d7d0c8 0 2px, #5f6c72 2px 3px, #f4efe9 3px 7px);
}

.brand-mark span:nth-child(4) {
  background: var(--clay);
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.menu-toggle {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 700;
}

.nav-links {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 74px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-links.open {
  display: flex;
}

.nav-links a,
.nav-links button {
  padding: 10px 12px;
  border-radius: 6px;
  color: #39464e;
  font-size: 14px;
  font-weight: 700;
}

.nav-links button {
  appearance: none;
  border: 0;
  background: #000;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links button:hover {
  background: var(--soft);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  text-align: center;
}

.nav-item {
  display: grid;
  gap: 4px;
}

.submenu {
  display: grid;
  gap: 2px;
  padding-left: 10px;
}

.submenu a {
  font-size: 13px;
  color: #59656d;
}

.social-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.social-links a {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--clay-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-links img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-footer {
  width: 100%;
  margin: 18px auto 0;
  justify-content: center;
}

.hero-slider {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #d9ddd9;
}

.hero-track,
.hero-slide {
  min-height: 520px;
}

.hero-slide {
  display: none;
  align-items: end;
  position: relative;
  background-image: linear-gradient(180deg, rgba(19, 25, 28, 0.1), rgba(19, 25, 28, 0.68)), var(--bg);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  display: flex;
}

.hero-content {
  padding: 92px 0 74px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-content .eyebrow,
.detail-hero .eyebrow {
  color: #f1c8b6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 9vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
  font-family: var(--heading-font);
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
  font-family: var(--heading-font);
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-family: var(--heading-font);
}

.hero-content p,
.detail-hero p,
.page-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 11px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
}

.btn.primary {
  background: var(--clay);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn.compact {
  min-height: 40px;
  padding-inline: 16px;
}

.btn.full {
  width: 100%;
}

.hero-controls {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.hero-controls button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: var(--radius);
  padding: 9px 12px;
  font-weight: 800;
}

.search-band {
  padding: 18px 0 0;
}

.search-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-panel strong {
  display: block;
  font-size: 18px;
}

.search-panel span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 54px 0;
}

.section.muted {
  background: var(--wash);
}

.section.soft {
  background: var(--soft);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
}

.text-link {
  color: var(--clay-dark);
  font-weight: 800;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  display: grid;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(23, 32, 39, 0.05);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card span,
.service-card h3,
.service-card h2,
.service-card p {
  margin-left: 14px;
  margin-right: 14px;
}

.service-card span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card h2,
.service-card h3 {
  margin-bottom: 0;
  font-size: 19px;
}

.service-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.compact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-card {
  display: grid;
  gap: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(23, 32, 39, 0.05);
}

.compact-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.compact-card strong {
  min-height: 42px;
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.25;
}

.locations-block {
  display: grid;
  gap: 24px;
  align-items: center;
}

.locations-block p:not(.eyebrow) {
  color: var(--muted);
}

.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-pills a,
.mini-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #344149;
  font-weight: 800;
}

.feature-strip {
  display: grid;
  gap: 12px;
}

.feature-strip div,
.process-grid div,
.quote-box {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.feature-strip span,
.process-grid p,
.quote-box p {
  color: var(--muted);
}

.process-grid {
  display: grid;
  gap: 14px;
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--clay);
  font-weight: 900;
}

.page-hero {
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(135deg, rgba(64, 82, 90, 0.96), rgba(189, 108, 77, 0.86));
}

.detail-hero {
  min-height: 430px;
  display: flex;
  align-items: end;
  background-image: linear-gradient(180deg, rgba(19, 25, 28, 0.18), rgba(19, 25, 28, 0.76)), var(--bg);
  background-size: cover;
  background-position: center;
}

.detail-hero-inner {
  padding: 88px 0 62px;
  color: #fff;
}

.content-grid {
  display: grid;
  gap: 24px;
}

.rich-text {
  max-width: 760px;
}

.rich-text p {
  color: #4d5960;
}

.copy-block p {
  color: #4d5960;
  font-size: 16px;
}

.copy-block p:first-child {
  font-size: 18px;
  color: #303d45;
}

.inline-link {
  color: var(--clay-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-image {
  margin: 0 0 24px;
}

.article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.internal-links {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.rich-text h2 {
  margin-top: 32px;
  font-size: 28px;
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #36434b;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
}

.quote-box {
  align-self: start;
  display: grid;
  gap: 12px;
  position: sticky;
  top: 98px;
}

.quote-box address {
  padding: 12px;
  background: var(--soft);
  border-radius: var(--radius);
  color: #3b464d;
  font-style: normal;
  font-weight: 800;
}

.mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  padding: 44px 0 20px;
  background: #12191d;
  color: #d9e0e2;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
}

.footer p,
.footer a {
  color: #aeb9be;
  font-size: 14px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer-brand {
  width: fit-content;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #fffdf8;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
}

.footer-brand img {
  width: min(100%, 260px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8c999f;
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  background: #168a49;
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.floating-whatsapp img {
  width: 26px;
  height: 26px;
  filter: invert(1);
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 82px;
  z-index: 24;
  display: none;
  min-width: 54px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 900;
  cursor: pointer;
}

.back-to-top.visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quote-modal.open {
  display: flex;
}

.quote-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 29, 0.68);
}

.quote-dialog {
  position: relative;
  width: min(100%, 660px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.quote-form {
  display: grid;
  gap: 12px;
}

.contact-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(23, 32, 39, 0.05);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.quote-notice {
  padding: 12px;
  border-radius: var(--radius);
  background: #eef7ef;
  color: #1f663b;
  font-weight: 800;
}

.quote-notice a {
  display: inline-flex;
  margin: 8px 8px 0 0;
  color: var(--clay-dark);
  text-decoration: underline;
}

.span-full {
  grid-column: 1 / -1;
}

.admin-body {
  background: #f4f5f6;
}

.admin-shell {
  display: grid;
  gap: 18px;
  width: min(100% - 32px, 1080px);
  margin: 28px auto;
}

.admin-nav,
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-nav strong {
  margin-right: auto;
}

.admin-nav a {
  font-weight: 800;
  color: var(--clay-dark);
}

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

.admin-table th,
.admin-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d5dbe0;
  border-radius: 6px;
  padding: 10px 11px;
  font: inherit;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notice {
  padding: 12px;
  border-radius: var(--radius);
  background: #eef7ef;
  color: #1f663b;
  font-weight: 800;
}

.notice.error {
  background: #fff1f1;
  color: #8a1f1f;
}

@media (max-width: 679px) {
  .topbar-inner {
    min-height: 46px;
    justify-content: center;
  }

  .topbar .quick-link,
  .topbar .top-spacer {
    display: none;
  }

  .topbar .social-links {
    gap: 12px;
  }

  .topbar .social-links a {
    width: 36px;
    height: 36px;
  }

  .topbar .social-links img {
    width: 18px;
    height: 18px;
  }

  .footer-grid > div:first-child {
    text-align: center;
  }

  .footer-brand {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 680px) {
  .hide-small {
    display: inline;
  }

  .search-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

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

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

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

  .feature-strip,
  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

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

@media (min-width: 940px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a,
  .nav-links button {
    padding: 9px 10px;
  }

  .nav-cta {
    padding-inline: 18px !important;
  }

  .nav-item {
    position: relative;
    display: block;
  }

  .submenu {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 260px;
    display: none;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu {
    display: grid;
  }

  .hero-slider,
  .hero-track,
  .hero-slide {
    min-height: 610px;
  }

  .hero-content {
    padding-bottom: 96px;
  }

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

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

  .locations-block,
  .content-grid {
    grid-template-columns: 1fr 380px;
  }
}

.admin-app {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  gap: 0;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px;
  background: #111820;
  color: #fff;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
}

.admin-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.admin-menu {
  display: grid;
  gap: 4px;
}

.admin-menu a,
.admin-sidebar-foot a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: #cfd7dc;
  font-size: 14px;
  font-weight: 800;
}

.admin-menu a:hover,
.admin-menu a.active,
.admin-sidebar-foot a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-sidebar-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-top h1 {
  margin: 0;
  color: #172027;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card h2 {
  margin-bottom: 8px;
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stat,
.admin-action {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(23, 32, 39, 0.05);
}

.admin-stat span {
  color: var(--clay);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.admin-stat strong,
.admin-action strong {
  font-size: 16px;
}

.admin-stat p,
.admin-action span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-bottom: 18px;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table td small {
  display: block;
  max-width: 520px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-row-actions {
  white-space: nowrap;
}

.admin-row-actions a {
  display: inline-flex;
  margin: 0 8px 0 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2f5;
  color: #40525a;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.status-pill.published,
.status-pill.contacted {
  background: #e7f6ed;
  color: #1f663b;
}

.status-pill.draft,
.status-pill.new {
  background: #fff4db;
  color: #8a5a00;
}

.status-pill.closed {
  background: #edf0f2;
  color: #657179;
}

.admin-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.admin-editor-side {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 14px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-tabs button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 13px;
  color: #40525a;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.active {
  background: #172027;
  border-color: #172027;
  color: #fff;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-body-editor {
  min-height: 420px;
}

.visually-hidden-editor {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.local-editor {
  overflow: hidden;
  border: 1px solid #d5dbe0;
  border-radius: 6px;
  background: #fff;
}

.local-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: #f5f7f8;
  border-bottom: 1px solid #d5dbe0;
}

.local-editor-toolbar button {
  min-height: 34px;
  border: 1px solid #d5dbe0;
  border-radius: 5px;
  background: #fff;
  color: #26323a;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.local-editor-toolbar button:hover {
  background: var(--soft);
}

.local-editor-surface {
  min-height: 430px;
  padding: 14px;
  outline: none;
  color: #26323a;
  line-height: 1.65;
}

.local-editor-surface h2,
.local-editor-surface h3 {
  font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
}

.local-editor-surface ul,
.local-editor-surface ol {
  padding-left: 22px;
}

.admin-help-grid,
.admin-check-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.seo-preview {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: var(--radius);
}

.seo-preview span {
  color: #188038;
  font-size: 13px;
}

.seo-preview strong {
  color: #1a0dab;
  font-size: 19px;
  font-weight: 500;
}

.seo-preview p {
  margin: 0;
  color: #4d5156;
  font-size: 14px;
}

.faq-builder {
  display: grid;
  gap: 12px;
}

.faq-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
}

.faq-row button,
.enquiry-card button,
.media-library button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344149;
  font-weight: 800;
  cursor: pointer;
}

.media-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.media-picker button {
  display: grid;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #344149;
  text-align: left;
  cursor: pointer;
}

.media-picker img,
.media-library img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.media-picker span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-library {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.media-library figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.media-library figcaption {
  display: grid;
  gap: 8px;
  padding: 9px;
}

.media-library strong {
  overflow: hidden;
  color: #344149;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enquiry-list {
  display: grid;
  gap: 12px;
}

.enquiry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.enquiry-card strong,
.enquiry-card span,
.enquiry-card small {
  display: block;
}

.enquiry-card span,
.enquiry-card small {
  color: var(--muted);
  font-size: 13px;
}

.enquiry-card p {
  margin: 8px 0;
  color: #344149;
}

.enquiry-card form {
  display: flex;
  gap: 8px;
  align-items: start;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.admin-settings-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-settings-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .admin-app,
  .admin-editor,
  .admin-grid-two {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

  .admin-sidebar-foot {
    margin-top: 0;
  }

  .admin-editor-side {
    position: static;
  }

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

@media (max-width: 720px) {
  .admin-main {
    padding: 18px;
  }

  .admin-top,
  .admin-card-head,
  .enquiry-card,
  .faq-row {
    grid-template-columns: 1fr;
  }

  .admin-top,
  .admin-card-head {
    display: grid;
  }

  .admin-menu,
  .admin-action-grid,
  .admin-stat-grid,
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .media-picker,
  .media-library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
