:root {
  --ink: #1b1b17;
  --muted: #6f6a61;
  --paper: #f7f3ea;
  --panel: #ffffff;
  --line: #d9d1c2;
  --olive: #3f5f3f;
  --olive-dark: #263d2a;
  --walnut: #8a5637;
  --amber: #c2904a;
  --steel: #30485a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.siteShell,
.adminShell {
  min-height: 100vh;
}

.topbar,
.adminHeader {
  align-items: center;
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 28px;
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.brandMark {
  align-items: center;
  background: var(--olive-dark);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

.navLinks,
.languageSwitch {
  align-items: center;
  display: flex;
  gap: 8px;
}

.navLinks a,
.languageSwitch button,
.secondaryButton,
.adminSecondary,
.newLanguageBox button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 38px;
  padding: 9px 12px;
}

.navLinks a:hover,
.languageSwitch button:hover,
.languageSwitch button.active,
.adminSecondary:hover,
.newLanguageBox button:hover {
  background: #fff;
  border-color: var(--line);
}

.hero {
  display: grid;
  min-height: calc(100svh - 118px);
  overflow: hidden;
  position: relative;
}

.heroImage,
.heroOverlay,
.heroContent {
  grid-area: 1 / 1;
}

.heroImage {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.heroOverlay {
  background:
    linear-gradient(90deg, rgba(18, 24, 18, 0.78) 0%, rgba(18, 24, 18, 0.58) 43%, rgba(18, 24, 18, 0.08) 100%),
    linear-gradient(0deg, rgba(18, 24, 18, 0.28), rgba(18, 24, 18, 0.04));
}

.heroContent {
  align-self: center;
  color: #fff;
  max-width: 760px;
  padding: 54px 28px 56px;
  width: min(760px, 100%);
  z-index: 2;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1;
  margin: 0;
  max-width: 11ch;
}

.heroLead {
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 680px;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primaryButton {
  align-items: center;
  background: var(--amber);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  color: #17120d;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
}

.primaryButton:hover {
  background: #d3a45e;
}

.secondaryButton {
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.proofList,
.infoCard ul,
.contactPanel ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.proofList li,
.infoCard li,
.contactPanel li {
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.proofList li::before,
.infoCard li::before,
.contactPanel li::before {
  background: var(--amber);
  border-radius: 99px;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 7px;
  margin-top: 8px;
  width: 7px;
}

.partnerStrip {
  align-items: center;
  background: var(--olive-dark);
  color: #fff;
  display: grid;
  gap: 8px 18px;
  grid-template-columns: repeat(6, max-content);
  justify-content: center;
  min-height: 72px;
  padding: 16px 24px;
}

.partnerStrip span {
  color: #cfd8c4;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contentBand {
  padding: 76px 28px 88px;
}

.sectionIntro,
.sectionGrid,
.contactBand {
  margin: 0 auto;
  max-width: 1180px;
}

.sectionIntro {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 620px) minmax(200px, 1fr);
  margin-bottom: 28px;
}

.sectionIntro h2,
.contactBand h2 {
  font-size: 2.2rem;
  line-height: 1.12;
  margin: 0;
}

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

.infoCard,
.contactPanel,
.languageEditor,
.editPanel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.infoCard {
  min-height: 340px;
  padding: 28px;
}

.infoCard h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
}

.infoCard p,
.contactBand p {
  color: var(--muted);
  line-height: 1.7;
}

.contactBand {
  align-items: start;
  background: #efe6d6;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  padding: 68px 28px;
}

.contactPanel {
  padding: 24px;
}

.contactPanel .primaryButton {
  margin-top: 24px;
  width: 100%;
}

.retailLink {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  font-weight: 800;
  justify-content: center;
  margin-top: 12px;
  min-height: 44px;
  padding: 11px 14px;
}

.retailLink:hover {
  background: #f7f3ea;
}

.loadError {
  background: #fff0f0;
  border-bottom: 1px solid #d9b5b5;
  color: #7a1f1f;
  padding: 12px 20px;
}

.adminShell {
  background: #f3f4f0;
}

.adminStatus {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--steel);
  font-weight: 700;
  min-width: 180px;
  padding: 10px 12px;
  text-align: center;
}

.adminToolbar {
  align-items: end;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) 220px max-content;
  padding: 18px 28px;
}

.adminGrid {
  display: grid;
  gap: 18px;
  grid-template-columns: 320px minmax(0, 1fr);
  padding: 24px 28px 60px;
}

.languageEditor,
.editPanel {
  padding: 18px;
}

.languageEditor {
  align-self: start;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.languageEditor h1,
.newLanguageBox h2 {
  font-size: 1.35rem;
  margin: 0;
}

.newLanguageBox {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
}

.sectionEditor {
  display: grid;
  gap: 16px;
}

.editPanel {
  display: grid;
  gap: 14px;
}

.editPanelHeader {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
}

.editPanelHeader p {
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

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

label {
  color: var(--muted);
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 7px;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid #cfc7b8;
  border-radius: 8px;
  color: var(--ink);
  min-height: 42px;
  padding: 10px 11px;
  width: 100%;
}

textarea {
  line-height: 1.45;
  min-height: 92px;
  resize: vertical;
}

.checkLine {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 9px;
}

.checkLine input {
  min-height: auto;
  width: auto;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 1fr;
  }

  .navLinks,
  .languageSwitch {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 2.55rem;
    max-width: 13ch;
  }

  .sectionIntro,
  .sectionGrid,
  .contactBand,
  .adminToolbar,
  .adminGrid {
    grid-template-columns: 1fr;
  }

  .languageEditor {
    position: static;
  }

  .partnerStrip {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .topbar,
  .adminHeader {
    padding: 10px 16px;
  }

  .navLinks {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 96px);
  }

  .heroContent {
    padding: 32px 18px 36px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .heroLead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .contentBand,
  .contactBand,
  .adminToolbar,
  .adminGrid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .twoFields {
    grid-template-columns: 1fr;
  }
}
