/* layout.css — header, footer, nav desktop */

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  z-index: var(--z-header);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--text) 8%, transparent);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand / Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.1;
  color: var(--text);
}
.brand-tagline {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  display: block;
  margin-top: 1px;
}

/* Nav desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-desktop a {
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color .2s;
  padding: 4px 0;
}
.nav-desktop a:hover { color: var(--accent); }

/* CTA header */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 40px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tagline { color: rgba(255,255,255,0.55); }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-top: 12px;
  max-width: 28ch;
}
.footer-col h4 {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.footer-col ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 6px;
  line-height: 1.5;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.72);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.footer-bottom a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.8rem;
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--accent-2); }

/* Footer brand icon */
.footer-brand-icon {
  color: var(--accent-2);
  margin-bottom: 10px;
}

/* ===== FAB mobile ===== */
.fab-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 32px;
  padding: 14px 20px;
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: transform .2s, box-shadow .2s;
}
.fab-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 50%, transparent);
}
.fab-call svg { width: 18px; height: 18px; flex-shrink: 0; }
