:root {
  --ink: #151716;
  --muted: #62635f;
  --line: #ded8cd;
  --paper: #f7f6f2;
  --soft: #ebe7df;
  --white: #fffdfa;
  --teal: #74323a;
  --teal-dark: #542329;
  --brass: #a9823a;
  --wine: #74323a;
  --eucalyptus: #3f625b;
  --eucalyptus-dark: #2d4944;
  --shadow: 0 18px 60px rgba(21, 23, 22, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 246, 242, 0.94);
  border-bottom: 1px solid rgba(21, 23, 22, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 0;
  text-decoration: none;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.93rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-cta,
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--teal);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.nav-cta:hover,
.button:hover,
button:hover {
  transform: translateY(-1px);
  background: var(--teal-dark);
}

.button.secondary,
button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover,
button.secondary:hover {
  background: var(--soft);
}

.button.ghost,
button.ghost {
  background: transparent;
  color: var(--teal);
  border-color: rgba(116, 50, 58, 0.24);
}

.button.danger,
button.danger {
  background: #fff4f3;
  color: #9b2c25;
  border-color: #f1c4bf;
}

.hero {
  position: relative;
  min-height: min(760px, 84vh);
  display: grid;
  align-items: center;
  padding: 90px clamp(18px, 5vw, 72px) 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(12, 14, 13, 0.98) 0%, rgba(12, 14, 13, 0.92) 48%, rgba(45, 73, 68, 0.72) 100%),
    url('images/hero_home.png');
  background-size: cover, cover;
  background-position: center, center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 130px;
  background: linear-gradient(180deg, rgba(247, 246, 242, 0), var(--paper));
}

.hero-content {
  width: min(680px, 100%);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #d7bd79;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 11.5em;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.15rem);
}

h3 {
  font-size: 1.18rem;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.placeholder-flag {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 2;
  max-width: min(420px, calc(100% - 32px));
  padding: 9px 12px;
  border-radius: 7px;
  background: rgba(255, 253, 250, 0.92);
  color: #5d4218;
  font-size: 0.8rem;
  font-weight: 700;
}

.section {
  padding: 76px clamp(18px, 5vw, 72px);
}

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

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

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 42px;
}

.metric {
  padding: 18px 22px;
  color: rgba(255, 255, 255, 0.88);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.1;
}

.grid-3,
.grid-2,
.inventory-grid,
.area-grid,
.faq-grid,
.admin-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.service-card,
.listing-card,
.quote-panel,
.admin-panel,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(21, 23, 22, 0.06);
}

.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--soft);
}

.service-card-content {
  padding: 24px;
  flex-grow: 1;
}

.card,
.faq-item {
  padding: 24px;
}

.service-card h3,
.card h3,
.faq-item h3 {
  margin-bottom: 10px;
}

.service-card p,
.card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.service-card ul,
.card ul,
.content-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li,
.card li,
.content-list li {
  margin: 7px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article-body {
  display: grid;
  gap: 28px;
}

.article-body section,
.article-toc {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(21, 23, 22, 0.05);
}

.article-body section h2,
.article-toc h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.article-body section p {
  margin: 0 0 14px;
  color: var(--muted);
}

.article-toc {
  position: sticky;
  top: 92px;
}

.article-toc nav {
  display: grid;
  gap: 9px;
}

.article-toc a {
  color: var(--eucalyptus-dark);
  font-weight: 750;
  text-decoration: none;
}

.article-toc a:hover {
  text-decoration: underline;
}

.answer-block {
  padding: 18px;
  border-left: 4px solid var(--eucalyptus);
  border-radius: 8px;
  background: #eef2ed;
}

.answer-block p {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.comparison-table th {
  background: #eee8df;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.tag-row,
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.area-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: #edf1ed;
  color: var(--eucalyptus-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.process-item {
  position: relative;
  padding: 20px 20px 20px 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--eucalyptus);
  color: var(--white);
  font-weight: 800;
}

.process-item h3 {
  margin-bottom: 6px;
}

.process-item p {
  margin: 0;
  color: var(--muted);
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.google-review-panel,
.review-source-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(21, 23, 22, 0.06);
}

.google-review-panel {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 28px;
  background: #151716;
  color: var(--white);
}

.google-review-panel h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
}

.google-review-panel p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.review-source-label {
  display: inline-flex;
  margin: 0 0 12px;
  color: #d7bd79 !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-platform-mark {
  color: #d7bd79;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 850;
  letter-spacing: 0;
}

.review-source-grid {
  display: grid;
  gap: 18px;
}

.review-source-card {
  padding: 24px;
  background: var(--white);
}

.review-source-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-source-card strong {
  display: block;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.05;
}

.review-source-card p {
  margin: 10px 0 14px;
  color: var(--muted);
}

.review-source-card a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.review-source-card a:hover {
  text-decoration: underline;
}

.listing-card {
  overflow: hidden;
}

.listing-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e5e1d8;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-status {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--eucalyptus-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.listing-body {
  padding: 18px;
}

.listing-body h3 {
  margin-bottom: 8px;
}

.listing-meta {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  color: var(--wine);
  font-weight: 850;
}

.photo-note {
  margin-top: 12px;
  color: #70571d;
  font-size: 0.8rem;
  font-weight: 700;
}

.quote-panel,
.admin-panel {
  padding: 24px;
}

.quote-frame-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(21, 23, 22, 0.06);
}

.quote-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 840px;
  border: 0;
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cec7bb;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 76px clamp(18px, 5vw, 72px) 54px;
  background: #151716;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(12, 14, 13, 0.94) 0%, rgba(12, 14, 13, 0.8) 100%),
    var(--hero-bg, none);
  background-size: cover, cover;
  background-position: center, center;
}

.page-hero .section-inner {
  display: grid;
  gap: 18px;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.breadcrumbs {
  color: #d6bd7a;
  font-size: 0.88rem;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 30px;
  align-items: start;
}

.fact-box {
  padding: 22px;
  border-left: 4px solid var(--brass);
  background: #f4ebd7;
  border-radius: 8px;
}

.fact-box p {
  margin: 0;
  color: #4e3b14;
}

.footer {
  padding: 44px clamp(18px, 5vw, 72px);
  background: #151716;
  color: rgba(255, 255, 255, 0.72);
}

.footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dropzone {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 18px;
  border: 2px dashed #b9b4aa;
  border-radius: 8px;
  background: #f2f0eb;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}

.dropzone.dragover {
  border-color: var(--eucalyptus);
  background: #edf3ef;
}

.image-preview-grid,
.admin-list {
  display: grid;
  gap: 12px;
}

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

.preview-tile,
.admin-listing {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

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

.preview-actions,
.admin-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.preview-actions button,
.admin-listing-actions button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.admin-listing {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
}

.admin-listing img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
}

.admin-listing-body {
  padding: 14px;
}

.admin-listing-body p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section-heading,
  .grid-3,
  .grid-2,
  .inventory-grid,
  .review-layout,
  .split,
  .admin-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }

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

  .metric:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(12, 14, 13, 0.98) 0%, rgba(12, 14, 13, 0.84) 70%, rgba(45, 73, 68, 0.72) 100%);
    background-position: center;
  }

  .form-row,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .admin-listing {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .quote-frame-wrap iframe {
    min-height: 980px;
  }

  .footer .section-inner {
    flex-direction: column;
  }
}
