/* ============================================================
   Tiempo — chrome
   Nav, mobile drawer and footer: the markup that is byte-identical
   on all 19 pages that have it.

   These rules previously existed as nine separate copies (index,
   about, waitlist, work-with-us, privacy, terms, contact and the
   7 service pages all re-typed them, plus page-styles.css). Those
   copies had already drifted apart in a dozen measurable places.
   ============================================================ */

/* ============================================================
   Navbar — copied from index.html for full visual parity
   ============================================================ */

nav {
  background-color: var(--media);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
}

.nav-left { display: flex; align-items: center; }

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-center a {
  color: var(--white);
  text-decoration: none;
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  opacity: 0.88;
  font-family: var(--font-body);
}

.nav-center a:hover { opacity: 1; }
.nav-center a.active { opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-link-plain {
  color: var(--crema);
  text-decoration: none;
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  opacity: 0.88;
  font-family: var(--font-body);
  transition: opacity var(--dur-2) ease;
}
.nav-link-plain:hover { opacity: 1; }

.nav-cta {
  background-color: var(--clockwork);
  border: 1px solid var(--clockwork);
  color: var(--crema);
  padding: 7px 18px;
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  cursor: pointer;
  border-radius: var(--r-pill);
  text-decoration: none;
  letter-spacing: var(--ls-wide);
  transition: transform var(--dur-3) ease;
}
.nav-cta:hover { transform: scale(1.04); }

/* Hamburger and drawer */

.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.nav-drawer {
  position: fixed;
  top: 56px;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--media);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out-expo);
  border-left: 1px solid var(--fill-dark);
  overflow-y: auto;
}

.nav-drawer.open { transform: translateX(0); }

.nav-drawer a {
  color: rgba(var(--crema-rgb), 0.88);
  font-size: var(--fs-body);
  text-decoration: none;
  font-family: var(--font-body);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark-soft);
  display: block;
}

.nav-drawer a:hover { color: var(--white); }

.nav-drawer .nav-drawer-cta {
  margin-top: 24px;
  display: block;
  background-color: var(--clockwork);
  border: none;
  color: var(--crema);
  padding: 10px 20px;
  font-size: var(--fs-body);
  font-family: var(--font-body);
  cursor: pointer;
  border-radius: var(--r-pill);
  text-align: center;
  text-decoration: none;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 56px 0 0 0;
  background: var(--scrim);
  z-index: var(--z-scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-3) ease;
  display: none;
}

.nav-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
/* Nav metrics pinned: without these the bar inherits each page's body
   line-height, which made the CTA pill 30px on some pages and 42px on others. */
.nav-cta { line-height: var(--lh-flat); }
.nav-drawer a, .nav-drawer .nav-drawer-cta { line-height: var(--lh-normal); }


/* ============================================================
   Footer — copied verbatim from index.html
   ============================================================ */

/* Chrome sets its own text baseline rather than inheriting the host page's.
   Without this the footer is 11px shorter on the two legal pages, which run
   line-height: normal, than on the 17 pages that run 1.85 — the same markup
   rendering at two different heights depending on who loads it. */
.site-footer,
nav {
  font-size: var(--fs-body);
  line-height: var(--lh-prose);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--media-deep);
}

.footer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.footer-glass {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(28px) saturate(0.65);
  -webkit-backdrop-filter: blur(28px) saturate(0.65);
  background: rgba(24, 4, 0, 0.78);
  padding: 56px 24px 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 52px;
}

.footer-col-heading {
  font-size: var(--fs-h1);
  font-weight: var(--fw-light);
  letter-spacing: -0.01em;
  color: var(--crema);
  font-family: 'F37 Bobby', Georgia, serif;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: none;
}

.footer-col a {
  display: block;
  color: rgba(var(--crema-rgb), 0.58);
  text-decoration: none;
  font-size: var(--fs-body);
  font-family: var(--font-body);
  line-height: var(--lh-flat);
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--crema); }
.footer-col a.is-disabled { opacity: 0.45; filter: blur(1.2px); cursor: default; pointer-events: none; }

.footer-locations { position: relative; width: 100%; }
.footer-locations summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  color: rgba(var(--crema-rgb), 0.58);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-flat);
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer-locations summary::-webkit-details-marker { display: none; }
.footer-locations summary::marker { content: ''; }
.footer-locations summary:hover { color: var(--crema); }
.footer-locations-chevron { flex-shrink: 0; transition: transform 0.25s ease; }
.footer-locations[open] .footer-locations-chevron { transform: rotate(180deg); }
.footer-locations-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 2; }

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-about-text {
  font-size: var(--fs-body);
  color: rgba(var(--crema-rgb), 0.58);
  font-family: var(--font-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

a.footer-cta-btn {
  display: inline-block;
  background-color: var(--clockwork);
  color: var(--crema);
  padding: 10px 26px;
  border-radius: var(--r-pill);
  font-size: var(--fs-body);
  font-family: var(--font-body);
  text-decoration: none;
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
  transition: transform 0.2s ease;
}
.footer-cta-btn:hover { transform: scale(1.04); color: var(--crema); }

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0 26px;
}

.footer-social-row { display: flex; gap: 10px; }

.footer-social-icon {
  display: flex; align-items: center; justify-content: center;
  color: rgba(var(--crema-rgb), 0.5);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-social-icon svg { height: 24px; width: auto; }
.footer-social-icon:hover { color: rgba(var(--crema-rgb), 0.9); }

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(var(--crema-rgb), 0.35);
  font-family: var(--font-body);
}

.footer-logo-wrap {
  padding-bottom: 24px;
  line-height: 0;
}
.footer-logo-wrap img {
  height: 130px;
  width: auto;
  display: block;
  opacity: 0.92;
}


/* ── Responsive ──────────────────────────────────────────── */

@media (min-width: 768px) and (max-width: 1024px) {
  .nav-center { display: none; }
  .nav-hamburger { display: flex; }
  .nav-link-plain { display: none; }
  .nav-drawer-backdrop { display: block; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-logo-wrap img { height: 80px; }
}

@media (max-width: 767px) {
  .nav-center { display: none; }
  .nav-hamburger { display: flex; }
  .nav-link-plain { display: none; }
  .nav-drawer-backdrop { display: block; }
  .nav-cta { padding: 6px 14px; font-size: var(--fs-xs); }
  .footer-columns { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
  .footer-col-heading { font-size: var(--fs-h2); margin-bottom: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 24px; }
  .footer-logo-wrap img { height: 64px; }
}

@media (hover: none) {
  .nav-cta:hover,
  .footer-cta-btn:hover { transform: none; }
}
