/* ------------------------------------------------------------------
   Cheeky Charging — shared site styles
   Single source of truth for the design system + shared header/footer.
   Edit here to change every customer page at once.
   ------------------------------------------------------------------ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--pink-dark); text-decoration: none; }

a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-dark);
  background: var(--pink-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover { background: var(--pink-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--pink-dark);
  border: 2px solid var(--pink);
}

.btn-secondary:hover { background: var(--pink-soft); }

/* ------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-wordmark {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 540px) {
  .logo-wordmark { height: 24px; }
}

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

.nav a {
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
}

.nav a:hover {
  color: var(--ink);
  background: var(--pink-tint);
  text-decoration: none;
}

.header-cta { display: flex; align-items: center; gap: 14px; }

.venue-login {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 4px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.venue-login:hover {
  color: var(--pink-dark);
  border-color: var(--pink);
  text-decoration: none;
}

@media (max-width: 880px) {
  .venue-login { display: none; }
}

.nav-toggle {
  display: none;
  background: transparent;
  padding: 8px;
  border-radius: 10px;
  color: var(--ink);
}

.nav-toggle:hover { background: var(--pink-tint); }

@media (max-width: 880px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px var(--pad); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { padding: 10px 18px; font-size: 14px; }
}

section.tinted { background: var(--pink-tint); }

.section-head .eyebrow { margin-bottom: 14px; }

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 320px; }

.footer-brand .logo { color: var(--white); margin-bottom: 14px; }

.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); }

.footer h4 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links { list-style: none; display: grid; gap: 10px; }

.footer-links a { color: rgba(255,255,255,0.7); font-size: 15px; }

.footer-links a:hover { color: var(--white); text-decoration: none; }

.socials { display: flex; gap: 12px; margin-top: 12px; }

.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--white);
  transition: background 0.15s ease;
}

.socials a:hover { background: var(--pink); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.footer-bottom a { color: rgba(255,255,255,0.7); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   ACCESSIBILITY
   ------------------------------------------------------------------ */
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
