:root {
  --charcoal: #2b3036;
  --charcoal-light: #434a53;
  --gold: #c9a14f;
  --gold-hover: #b68d3c;
  --gold-dark: #8a6a28;
  --gold-light: #e2c27f;
  --ink: #23272d;
  --muted: #5f646b;
  --line: #e7e3da;
  --bg-alt: #f8f6f1;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--charcoal);
}

h1,
h2 {
  font-family: "Merriweather", Georgia, serif;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--gold-dark); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 780px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.6em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--charcoal);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-small { padding: 0.5em 1.1em; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: block;
  width: auto;
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--charcoal);
}

.logo-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:not(.btn):hover { color: var(--gold-dark); }
.site-nav a[aria-current="page"] { color: var(--gold-dark); font-weight: 600; }
.site-nav .btn { color: var(--charcoal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  color: var(--white);
  padding: 96px 0 104px;
}

.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--gold-light); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: "✓ ";
  color: var(--gold-light);
  font-weight: 700;
}

.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hero-card-row:last-child { border-bottom: 0; }
.hero-card-row strong { color: var(--charcoal); text-align: right; }
.hero-card-row .ok { color: var(--gold-dark); }

.hero-card-label {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.hero-card-note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.page-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  color: var(--white);
  padding: 72px 0;
}

.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero .eyebrow { color: var(--gold-light); }

/* Partners */
.partner-card {
  display: flex;
  flex-direction: column;
}

.partner-card h3 { margin-bottom: 0.2em; }

.partner-credential {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark) !important;
}

.partner-location { font-size: 0.95rem; }

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  color: var(--charcoal);
}

.partner-card {
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.partner-card:hover,
.partner-card:focus-within {
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(43, 48, 54, 0.12);
  transform: translateY(-2px);
}

.partner-link {
  color: inherit;
  text-decoration: none;
}

.partner-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.partner-link:focus-visible { outline: none; }
.partner-card:has(.partner-link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.partner-company {
  margin: 0 0 4px;
  font-weight: 600;
  color: var(--ink) !important;
}

.partner-bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.partner-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.partner-request {
  position: relative;
  z-index: 1;
}

.partner-more {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-dark);
}

/* Partner directory */
.directory-filters {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px 4px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.directory-filters input,
.directory-filters select {
  height: 46px;
}

.directory-count {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.directory-empty {
  text-align: center;
  padding: 32px 0;
  color: var(--muted);
}

.directory-more {
  text-align: center;
  margin-top: 32px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.partner-choice {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--gold-dark);
  text-decoration: underline;
  cursor: pointer;
}

/* Partner profile page */
.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

.profile {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 56px;
  align-items: start;
}

.profile-media img,
.profile-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-media > img { object-fit: contain; }

.profile-placeholder {
  display: grid;
  place-items: center;
  background: var(--bg-alt);
}

.profile-placeholder img {
  width: 40%;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  box-shadow: none;
  background: none;
  opacity: 0.85;
}

.profile-details h1 { margin-bottom: 0.2em; }

.profile-company {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4em;
}

.profile-details .partner-location { color: var(--muted); }

.profile-details h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 32px 0 10px;
}

.profile-details p { color: var(--muted); }

.profile-details address {
  font-style: normal;
  line-height: 1.7;
}

.profile-actions { margin-top: 32px; }

.profile-missing {
  grid-column: 1 / -1;
  max-width: 640px;
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head p:last-child { color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin: 0;
}

.card p { color: var(--muted); }

.price {
  font-weight: 700;
  color: var(--gold-dark) !important;
  margin: 0;
}

.price a {
  color: inherit;
  text-decoration: none;
}

.price a::after {
  content: " →";
}

.price a:hover,
.price a:focus-visible {
  text-decoration: underline;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text p { color: var(--muted); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding: 6px 0 6px 30px;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}

.about-logo {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 28px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--charcoal);
}

.stat span { color: var(--muted); font-size: 0.95rem; }

/* Testimonials */
.quote blockquote {
  margin: 0 0 1.2em;
  font-size: 1.05rem;
  color: var(--ink);
}

.quote figcaption { font-weight: 600; color: var(--charcoal); }
.quote figcaption span { font-weight: 400; color: var(--muted); }

/* FAQ */
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 24px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 32px 20px 0;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold-dark);
  transition: transform 0.2s;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 8px; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info > p { color: var(--muted); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong { color: var(--charcoal); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 18px; flex: 1; }

.field-row {
  display: flex;
  gap: 16px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.optional { font-weight: 400; color: var(--muted); }

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-field input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--gold-dark);
}

.checkbox-field label {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cdd5df;
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 79, 0.25);
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.95rem;
  text-align: center;
}

.form-status.success { color: var(--gold-dark); }
.form-status.error { color: #c0392b; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.85);
  padding: 32px 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-inner p { margin: 0; }
.muted { color: rgba(255, 255, 255, 0.6); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .contact-inner,
  .profile {
    grid-template-columns: 1fr;
  }

  .profile { gap: 32px; }
  .profile-media { max-width: 320px; }
  .directory-filters { grid-template-columns: 1fr 1fr; }

  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .btn { margin-top: 14px; text-align: center; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .field-row { flex-direction: column; gap: 0; }
  .contact-form { padding: 24px; }
}

@media (max-width: 560px) {
  .directory-filters { grid-template-columns: 1fr; padding: 16px 16px 0; }
}
