/* ============================================================
   components.css — Reusable UI Components
   Part of the Leo Bercoff modular CSS architecture
   ============================================================ */


/* ── Site Header (index.html) ──────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: clamp(220px, 28vw, 330px);
  max-height: 140px;
  object-fit: contain;
  object-position: left center;
}

.header-link {
  color: var(--accent-dark);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}


/* ── Location Tag (index.html) ────────────────────────── */
.location-tag {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.275rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: left;
}


/* ── Page Title (all sub-pages) ────────────────────────── */
.page-title {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}


/* ── Page Tagline (4 service pages) ────────────────────── */
.page-tagline {
  grid-column: 1 / -1;
  margin: -12px 0 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 450;
  line-height: 1.55;
  color: var(--text);
}


/* ── Buttons ───────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(49, 86, 108, .08);
}


/* ── Section Heading (index.html services) ─────────────── */
.section-heading {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 24px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

.section-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--text);
}


/* ── Service Grid / Cards (index.html) ─────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  min-height: 275px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 14px 40px rgba(38, 31, 21, .07);
}

.service-number {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.service-card h3 {
  margin: 22px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover,
.service-card h3 a:focus-visible {
  color: var(--accent);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  margin: 20px 0 0;
  padding-left: 1.15rem;
  color: var(--text);
}


/* ── Services Section Wrapper (index.html) ─────────────── */
.services {
  padding: 30px 0 96px;
}


/* ── CTA Dark Block (index.html & leo-bercoff.html) ──────── */
.contact {
  margin-bottom: 36px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: calc(var(--radius) + 8px);
  background: #171512;
  color: #f9f5ec;
  box-shadow: var(--shadow);
}

.contact p {
  max-width: 760px;
  margin: 18px 0 30px;
  color: #cbc5ba;
  font-size: 1.08rem;
}

.contact h2 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}

.contact .button {
  background: #f9f5ec;
  border-color: #f9f5ec;
  color: #171512;
}

.contact-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}


/* ── Site Footer (all pages) ───────────────────────────── */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: .88rem;
}

.site-footer p {
  margin: 0;
}


/* ── Hero Eyebrow (index.html) ─────────────────────────── */
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}


/* ── Global h1 (index.html landing heading) ────────────── */
h1 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.2rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.055em;
  text-wrap: balance;
}
