/* =============================================================
   GSA Business Services — Style Guide Direction A (Warm Editorial)
   Font: DM Serif Display (headings) + DM Sans (body)
   ============================================================= */

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --bg:         #faf7f2;
  --bg-alt:     #ffffff;
  --bg-dark:    #1a1208;
  --bg-dark2:   #1c1c1c;
  --text-main:  #1a1208;
  --text-mid:   #6b6358;
  --text-muted: #a09890;
  --border:     #e6e0d6;
  --accent:     #b8972a;
  --accent-dk:  #9a7d1f;
  --font-disp:  'DM Serif Display', Georgia, serif;
  --font-body:  'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container:  1160px;
  --header-h:   66px;

  /* Type scale */
  --text-hero:    clamp(52px, 10vw, 96px);
  --text-section: clamp(38px, 6vw, 64px);
  --text-heading: clamp(26px, 4vw, 44px);
  --text-item:    clamp(20px, 3vw, 32px);
  --text-body:    clamp(15px, 1.8vw, 17px);
  --text-small:   clamp(12px, 1.4vw, 14px);
  --text-eyebrow: clamp(10px, 1.2vw, 12px);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
h1, h2, h3, h4 {
  font-family: var(--font-disp);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ── Loader ────────────────────────────────────────────────── */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#loader.done { opacity: 0; pointer-events: none; }
.loader-bar {
  height: 100%;
  background: var(--accent);
  animation: load 0.9s var(--ease) forwards;
}
@keyframes load { from { width: 0 } to { width: 100% } }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-dark);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.25s;
  border-radius: 0;
}
.btn-primary:hover { background: var(--accent-dk); color: var(--bg-dark); }
.btn-large { padding: 18px 44px; font-size: 16px; }
.btn-ghost {
  display: inline-block;
  color: #fff;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 900;
  background: rgba(26,18,8,0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.35s var(--ease);
}
.site-header.scrolled { background: rgba(26,18,8,0.98); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 clamp(16px, 4vw, 48px);
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-disp);
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-nav {
  display: none;
  gap: 28px;
}
.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.header-nav a:hover { color: var(--accent); }

.header-cta {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.25s;
}
.header-cta:hover { color: #fff; }

/* Hamburger */
.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px; height: 44px;
  justify-content: center;
  align-items: center;
}
.menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 680px) {
  .header-nav { display: flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1000px) {
  .header-cta { display: flex; }
}

/* ── Mobile Nav Drawer ─────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100dvh;
  z-index: 200;
  padding: 76px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-dark);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 28px;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  font-family: var(--font-body);
}
.mobile-close:hover { color: #fff; }

.mobile-link {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mobile-link:hover { color: #fff; }

.mobile-cta {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  text-align: center;
  padding: 16px;
  border-bottom: none;
  transition: background 0.2s;
}
.mobile-cta:hover { background: var(--accent-dk); color: #fff; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,18,8,0.94) 0%, rgba(26,18,8,0.65) 50%, rgba(26,18,8,0.25) 100%),
    linear-gradient(to top, rgba(26,18,8,0.9) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 40px) clamp(20px, 5vw, 60px) clamp(44px, 7vh, 80px);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.hero-text { max-width: 640px; }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-disp);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
  max-width: 500px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 480px;
}

.hero-stat { display: flex; flex-direction: column; gap: 3px; }
.stat-n {
  font-family: var(--font-disp);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1;
  color: #fff;
}
.stat-l {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}
.stat-rule {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.16);
  flex-shrink: 0;
}

/* ── Contrast Strip ────────────────────────────────────────── */
.contrast-strip {
  background: var(--accent);
  padding: 13px 20px;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: clamp(11px, 1.8vw, 13px);
  font-weight: 500;
  color: var(--bg-dark);
  text-align: center;
}
.strip-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(0,0,0,0.22);
  flex-shrink: 0;
}

/* ── Services ──────────────────────────────────────────────── */
.services {
  background: var(--bg);
  padding: clamp(72px, 10vw, 120px) 0;
}

.services-header {
  margin-bottom: clamp(40px, 6vw, 60px);
}
.services-title {
  font-size: var(--text-section);
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 0.95;
}
.services-tag {
  font-size: var(--text-body);
  color: var(--text-mid);
  font-style: italic;
  font-weight: 300;
}

.services-list { border-top: 1px solid var(--border); }

.svc-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 20px;
  row-gap: 6px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.svc-n {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.2);
  padding-top: 6px;
}
.svc-name {
  font-family: var(--font-disp);
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.0;
  color: var(--text-main);
  grid-column: 2;
}
.svc-desc {
  font-size: var(--text-body);
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 400px;
  grid-column: 2;
}

@media (min-width: 640px) {
  .svc-row {
    grid-template-columns: 44px 1fr 1.5fr;
    align-items: center;
    column-gap: 32px;
  }
  .svc-name { grid-column: auto; grid-row: auto; }
  .svc-desc { grid-column: 3; grid-row: 1; max-width: none; }
}

.services-footer {
  margin-top: clamp(44px, 6vw, 60px);
}

/* ── About ─────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-alt);
}
.about-image-col {
  height: 420px;
  overflow: hidden;
}
.about-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.about-text-col {
  background: var(--bg);
  padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 80px);
}

.about-pull-quote {
  font-family: var(--font-disp);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-main);
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  margin-bottom: 40px;
  font-style: italic;
}
.about-pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-style: normal;
  color: var(--text-muted);
  margin-top: 12px;
}

.about-story h2 {
  font-size: var(--text-heading);
  color: var(--text-main);
  margin-bottom: 20px;
}
.about-story p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
  max-width: 560px;
}

@media (min-width: 640px) {
  .about { grid-template-columns: 50fr 50fr; }
  .about-image-col { height: auto; min-height: 520px; }
}
@media (min-width: 960px) {
  .about { grid-template-columns: 55fr 45fr; }
  .about-image-col { min-height: 680px; }
  .about-text-col { padding: 100px 88px; }
}

/* ── Reviews ───────────────────────────────────────────────── */
.reviews {
  background: var(--bg-alt);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 48px);
}
.reviews-inner { max-width: 1160px; margin: 0 auto; }

.review-featured {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 72px);
  padding-bottom: clamp(48px, 7vw, 72px);
  border-bottom: 1px solid var(--border);
}
.review-featured blockquote {
  font-family: var(--font-disp);
  font-size: clamp(24px, 5vw, 52px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 22px;
  max-width: 900px;
  margin-inline: auto;
}
.review-featured cite {
  font-family: var(--font-body);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: clamp(36px, 5vw, 52px);
}
.review-card {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.review-card p {
  font-family: var(--font-disp);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: var(--text-main);
  margin-bottom: 14px;
  font-style: italic;
}
.review-card cite {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--accent);
  font-style: normal;
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card {
    padding: 30px 24px;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .review-card:nth-child(even) { border-right: none; }
  .review-card:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (min-width: 960px) {
  .reviews-grid { grid-template-columns: repeat(4, 1fr); }
  .review-card { border-right: 1px solid var(--border) !important; border-top: none !important; }
  .review-card:last-child { border-right: none !important; }
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rating-stars {
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--accent);
}
.rating-copy {
  font-size: var(--text-small);
  color: var(--text-mid);
}

/* ── Location ──────────────────────────────────────────────── */
.location {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg);
}
.location-text {
  padding: clamp(52px, 8vw, 96px) clamp(24px, 6vw, 80px);
}
.location-title {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 0.95;
  color: var(--text-main);
  margin-bottom: 28px;
}
.location-text address {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--text-main);
  margin-bottom: 10px;
}
.directions-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.directions-link:hover { opacity: 0.7; }
.phone-link {
  display: block;
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.phone-link:hover { color: var(--accent); }

.hours-block {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: 380px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: var(--text-body);
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-closed { color: var(--text-muted); }

.location-map { min-height: 380px; background: var(--border); }
.location-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 380px;
  filter: grayscale(20%);
}

@media (min-width: 960px) {
  .location { grid-template-columns: 1fr 1fr; min-height: 560px; }
  .location-text { align-self: center; }
  .location-map iframe { min-height: unset; }
}

/* ── Contact / Appointment Form ────────────────────────────── */
.contact-section {
  background: var(--bg-alt);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 48px);
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}
.contact-content {
  margin-bottom: 40px;
}
.contact-content h2 {
  font-size: var(--text-heading);
  color: var(--text-main);
  margin-bottom: 12px;
}
.contact-content p {
  color: var(--text-mid);
  line-height: 1.75;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.02em;
}
.form-optional {
  font-weight: 300;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,151,42,0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.btn-submit {
  align-self: flex-start;
  cursor: pointer;
  border: none;
}

.form-success {
  display: none;
  padding: 40px 0;
}
.form-success.visible { display: block; }
.success-title {
  font-family: var(--font-disp);
  font-size: clamp(26px, 4vw, 36px);
  color: var(--text-main);
  margin-bottom: 10px;
}
.form-success p {
  color: var(--text-mid);
}

/* ── Final CTA ─────────────────────────────────────────────── */
.final-cta {
  background: var(--bg-dark);
  padding: clamp(80px, 11vw, 140px) clamp(20px, 4vw, 48px);
  text-align: center;
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-inner h2 {
  font-size: var(--text-section);
  color: #fff;
  margin-bottom: 16px;
  font-style: italic;
}
.cta-inner p {
  color: rgba(255,255,255,0.48);
  margin-bottom: 36px;
  line-height: 1.75;
  font-weight: 300;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: clamp(52px, 7vw, 88px) clamp(20px, 4vw, 48px) clamp(32px, 4vw, 48px);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-logo-name {
  display: block;
  font-family: var(--font-disp);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
}
.footer-logo-sub {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3);
  margin-top: 3px;
}
.footer-tagline {
  color: rgba(255,255,255,0.3);
  font-size: var(--text-small);
  margin-top: 14px;
  line-height: 1.65;
  max-width: 260px;
}

.footer-contact h4,
.footer-social h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer-contact a {
  display: block;
  color: var(--accent);
  font-size: var(--text-small);
  margin-bottom: 7px;
  transition: color 0.25s;
}
.footer-contact a:hover { color: #fff; }
.footer-contact p {
  color: rgba(255,255,255,0.3);
  font-size: var(--text-small);
  margin-top: 8px;
  line-height: 1.65;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.42);
  font-size: var(--text-small);
  transition: color 0.25s;
}
.footer-social-links a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
}
