/* =========================================================
   Frank Straub Consulting — shared stylesheet
   Palette preserved from the original Webflow build:
   primary #344e41, tertiary #1d2b24 (dark bg), secondary #c0aa81 (gold)
   ========================================================= */

:root {
  --tertiary: #1d2b24;      /* darkest green — page background */
  --primary: #344e41;       /* mid green — panels / buttons */
  --primary-faded: #344e4126;
  --secondary: #c0aa81;     /* warm gold — accents / links */
  --secondary-faded: #c0aa811a;
  --white: #ffffff;
  --off-white: #f4f1ea;
  --ink: #121c17;
  --text-muted: #cdd7d0;

  --font-heading: "Cardo", Georgia, serif;
  --font-body: "Cabin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--tertiary);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 16px; }

.text-lg { font-size: 1.15rem; line-height: 1.75; }

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

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

ul { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
}

section { position: relative; }

.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }

.bg-dark { background: var(--tertiary); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-primary { background: var(--primary); color: var(--white); }
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4 { color: var(--white); }
.bg-off-white { background: var(--off-white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--secondary);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* =========================
   Buttons & links
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }

.btn-gold {
  background: var(--secondary);
  color: var(--ink);
}
.btn-gold:hover { background: #cdb98f; }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark {
  background: transparent;
  color: var(--tertiary);
  border-color: var(--tertiary);
}
.btn-outline-dark:hover { background: var(--tertiary); color: var(--white); }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.2s ease, opacity 0.2s ease;
}
.link-underline:hover { gap: 13px; }

.link-underline--dark { color: var(--primary); }

/* =========================
   Header / Navigation
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(29, 43, 36, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 6px 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--secondary);
  transition: right 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-links a[aria-current="page"] { color: var(--secondary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 73px 0 0 0;
    background: var(--tertiary);
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 28px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 16px 4px;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.nav-open { overflow: hidden; }

  .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); }
}

/* =========================
   Hero
   ========================= */

.hero {
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29,43,36,0.78) 0%, rgba(29,43,36,0.88) 55%, rgba(29,43,36,0.97) 100%);
}

.hero--short { min-height: 52vh; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 90px 0 70px;
}

.hero-content h1 {
  color: var(--white);
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-checklist {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  max-width: 620px;
}
.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1.02rem;
}
.hero-checklist li svg { flex: none; margin-top: 3px; color: var(--secondary); }

/* =========================
   Cards / grids
   ========================= */

.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 10px 30px -18px rgba(18, 28, 23, 0.25);
  border: 1px solid #eae5d9;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--secondary-faded);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 4px;
}

.service-card h3 { margin-bottom: 4px; font-size: 1.3rem; }
.service-card .desc { color: #55605a; margin-bottom: 8px; }

.service-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eee6d8;
}
.service-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.96rem;
  color: #46524c;
}
.service-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex: none;
  transform: translateY(-2px);
}

/* Team-teaser / feature row */
.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; text-align: center; }
  .feature-row img { margin: 0 auto; }
}

/* =========================
   Testimonials
   ========================= */

.testimonial-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-track {
  overflow: hidden;
}

.testimonial-slides {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  text-align: center;
  padding: 10px 8px 0;
}

.testimonial-slide img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 22px;
  border: 3px solid var(--secondary);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--white);
  max-height: 260px;
  overflow-y: auto;
  padding: 0 4px;
}

.testimonial-author {
  margin-top: 20px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
}

.testimonial-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.testimonial-btn:hover { background: rgba(255,255,255,0.2); }

.testimonial-dots {
  display: flex;
  gap: 9px;
}
.testimonial-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
}
.testimonial-dots button[aria-current="true"] {
  background: var(--secondary);
  width: 22px;
  border-radius: 5px;
}

/* =========================
   Team cards
   ========================= */

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(18,28,23,0.25);
  border: 1px solid #eae5d9;
  display: flex;
  flex-direction: column;
}

.team-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--off-white);
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card__body { padding: 26px 28px 30px; }
.team-card__body h3 { margin-bottom: 2px; font-size: 1.25rem; }
.team-card__role { color: var(--secondary); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; display: block; }

.team-bio {
  color: #45524c;
  font-size: 0.98rem;
}
.team-bio p { margin: 0 0 12px; }

.team-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.team-bio.is-collapsed p:nth-child(n+2) { display: none; }

/* =========================
   Quote block
   ========================= */

.quote-block {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  padding: 44px 48px;
}
.quote-block img {
  width: 100%;
  border-radius: 16px;
}
.quote-block blockquote {
  margin: 0 0 44px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1.4;
}
.quote-block cite {
  font-style: normal;
  color: var(--secondary);
  font-weight: 600;
}
@media (max-width: 720px) {
  .quote-block { grid-template-columns: 1fr; text-align: center; padding: 44px 26px; }
  .quote-block img { max-width: 260px; margin: 0 auto; }
}

/* =========================
   CTA band
   ========================= */

.cta-band {
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { margin-bottom: 6px; color: var(--white); }
.cta-band p { color: var(--text-muted); margin: 0; }
@media (max-width: 720px) {
  .cta-band { flex-direction: column; text-align: center; padding: 40px 26px; }
}

/* =========================
   Forms
   ========================= */

.form-grid {
  display: grid;
  gap: 18px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--tertiary);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #d8d2c2;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
textarea { min-height: 140px; resize: vertical; }

.form-note {
  font-size: 0.88rem;
  color: #667169;
  margin-top: -6px;
}

.form-status {
  margin-top: 14px;
  font-weight: 600;
}
.form-status[data-state="success"] { color: #2b6b3f; }

/* =========================
   Checklist ("we can help if...") reused component
   ========================= */

.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #eae5d9;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 1.05rem;
}
.checklist li svg { flex: none; color: var(--primary); margin-top: 3px; }

/* =========================
   Footer
   ========================= */

.site-footer {
  background: var(--tertiary);
  color: var(--text-muted);
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid h3 { color: var(--white); margin-bottom: 12px; }

.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--secondary); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: #8a978f;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 48px;
}

.icon-svg { width: 24px; height: 24px; }
