/* ═══════════════════════════════════════
   SIGNALLO — GLOBAL STYLES
   Nav, footer, reset, CSS variables
═══════════════════════════════════════ */

/* Gabriela font is embedded inline per-page (base layout) */

:root {
  --ink:        #0f0e0c;
  --paper:      #f5f2ed;
  --cream:      #edeade;
  --rule:       #d8d3c8;
  --rule-dark:  #2a2826;
  --muted:      #8a8378;
  --signal:     #c84b2f;
  --dark:       #161513;
  --sans:       'DM Sans', sans-serif;
  --serif:      'Instrument Serif', serif;
  --logo:       'Gabriela', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─────────────────────────────────────
   NAV
───────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(245,242,237,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  font-family: var(--logo);
  font-size: 24px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

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

.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--signal);
  color: white;
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #a83a20;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(245,242,237,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 24px 48px;
  z-index: 199;
  flex-direction: column;
  gap: 0;
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s;
}

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

.nav-drawer .nav-drawer-cta {
  margin-top: 20px;
  display: inline-block;
  background: var(--signal);
  color: white;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
  border-bottom: none;
}

.nav-drawer .nav-drawer-cta:hover {
  background: #a83a20;
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--rule-dark);
  padding: 52px 48px 36px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-brand-icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  margin-bottom: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-brand-icon img {
  width: 115%;
  height: 115%;
  margin-left: -7.5%;
  margin-top: -7.5%;
  display: block;
}

.footer-tagline {
  font-size: 12px;
  color: #6b6760;
  line-height: 1.6;
  max-width: 180px;
}

.footer-cols {
  display: flex;
  gap: 56px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6760;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  font-weight: 300;
  color: #9b9893;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: var(--paper);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-legal {
  font-size: 12px;
  color: #4a4844;
}

.footer-entity {
  font-size: 12px;
  color: #857f7a;
}

.footer-address {
  font-size: 11px;
  color: #857f7a;
  font-weight: 300;
  line-height: 1.5;
  margin-top: 2px;
}

.footer-email {
  font-size: 11px;
  color: #857f7a;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-email:hover {
  color: #9b9893;
}

.footer-location {
  font-size: 12px;
  color: #857f7a;
  align-self: flex-end;
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 0 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-drawer {
    padding: 16px 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-cols {
    gap: 32px;
    flex-wrap: wrap;
  }

  footer {
    padding: 48px 24px 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
