
:root {
  --fix-header-height: 88px;
  --fix-burgundy: #6B2D31;
  --fix-burgundy-dark: #4e1f22;
  --fix-green: #2A3B2C;
  --fix-sand: #f5eee0;
  --fix-sand-border: #d4c5a9;
}

html { scroll-behavior: smooth; }
body { padding-top: var(--fix-header-height); }

.site-header {
  height: var(--fix-header-height);
  background: rgba(242, 232, 213, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-desktop {
  gap: 18px;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header .brand {
  color: var(--fix-green);
  max-width: 100%;
}

.site-header .brand svg {
  color: var(--fix-burgundy);
  flex: 0 0 auto;
}

.site-header .brand-name {
  color: var(--fix-green);
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.85rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.site-footer .brand-name {
  color: var(--color-sand-light);
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.header-left,
.header-center,
.header-right {
  min-width: 0;
}

.desktop-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
}

.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--fix-burgundy);
  font-weight: 700;
}

.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--fix-burgundy);
}

.mobile-nav {
  padding: 20px 18px 24px;
  gap: 4px;
}

.mobile-nav a {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
}

.mobile-nav a[aria-current="page"] {
  background: rgba(107,45,49,0.08);
}

.burger-menu {
  border-radius: 8px;
}

.burger-menu:focus-visible,
.btn-primary:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
form a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--fix-burgundy);
  outline-offset: 3px;
}

.contact-form-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf5 100%);
}

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

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-group--full {
  grid-column: 1 / -1;
}

.contact-form-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2c2c2a;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  border: 1px solid #d6cec0;
  background: #fff;
  color: #2c2c2a;
  border-radius: 8px;
  padding: 14px 16px;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #756d63;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: var(--fix-burgundy);
  box-shadow: 0 0 0 3px rgba(107,45,49,0.12);
}

.contact-form-textarea {
  min-height: 180px;
  resize: vertical;
}

.form-note,
.form-privacy,
.privacy-label {
  color: #57534e;
  font-size: 0.95rem;
}

.form-privacy {
  margin-top: 4px;
}

.privacy-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.privacy-label input {
  margin-top: 4px;
}

.form-submit {
  width: 100%;
  border: none;
  border-radius: 8px;
  background: var(--fix-burgundy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 16px 20px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(107,45,49,0.18);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.form-submit:hover {
  background: var(--fix-burgundy-dark);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-card {
  background: #fff;
  border: 1px solid #e7dfd2;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(42,59,44,0.07);
  padding: 32px;
}

.legal-card section + section {
  margin-top: 28px;
}

.legal-card h1 {
  margin-bottom: 10px;
}

.legal-card h2 {
  margin-bottom: 10px;
}

.legal-card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-muted {
  color: #6b7280;
  margin-bottom: 22px;
}

.thanks-page {
  min-height: calc(100vh - var(--fix-header-height));
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f8f3ea 0%, #efe4d3 100%);
}

.thanks-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.thanks-card {
  width: min(100%, 760px);
  background: rgba(255,255,255,0.96);
  border: 1px solid #e3d8c8;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(42,59,44,0.09);
  padding: 36px;
  text-align: center;
}

.thanks-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  min-width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(107,45,49,0.1);
  color: var(--fix-burgundy);
  font-size: 1.6rem;
  font-weight: 700;
}

.thanks-title {
  color: var(--fix-green);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 14px;
}

.thanks-text {
  color: #44403c;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42rem;
  margin: 0 auto 24px;
}

.thanks-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.thanks-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.thanks-link--primary {
  background: var(--fix-burgundy);
  color: #fff;
}

.thanks-link--ghost {
  border: 1px solid #d4c5a9;
  color: var(--fix-green);
  background: #fff;
}

.footer-nav a,
.contact-details a,
.site-summary,
.tagline,
.footer-bottom {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .site-header .brand-name {
    font-size: clamp(0.95rem, 1vw + 0.55rem, 1.45rem);
  }

  .desktop-nav {
    gap: 10px 16px;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 104px;
  }

  .site-header {
    height: auto;
  }
}

@media (max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .legal-shell {
    padding: 32px 16px 56px;
  }

  .legal-card {
    padding: 24px 18px;
  }

  .thanks-card {
    padding: 28px 20px;
  }
}
