/* demo-styles.css — shared stylesheet for Hamilton Web Co demo sites
   Extracted from the main hamiltonwebco.com design system */

/* ─── Design Tokens ─── */
:root {
  --navy: #173c83;
  --navy-deep: #102a5d;
  --blue: #4678d7;
  --text: #1b2433;
  --muted: #5f6878;
  --bg: #f4f7fc;
  --line: rgba(23, 60, 131, 0.1);
  --shadow: 0 18px 44px rgba(13, 26, 58, 0.12);
  --radius: 24px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Layout ─── */
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 92px 0; }
.alt { background: var(--bg); }
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; align-items: start; }
.cards { display: grid; gap: 18px; }
.two   { grid-template-columns: repeat(2, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); }
.four  { grid-template-columns: repeat(4, 1fr); }

/* ─── Typography helpers ─── */
.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--blue);
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-copy { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: rgba(255,255,255,0.92); }
.light-copy { color: rgba(255,255,255,0.84); }

/* ─── Navigation ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23,60,131,0.08);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { font-weight: 800; font-size: 1.3rem; color: var(--navy-deep); display: flex; align-items: center; gap: 8px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 700; color: var(--navy-deep); }
.nav a:hover { color: var(--blue); }

/* ─── Buttons ─── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #4b7ee0 0%, #2958b2 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 24px rgba(41, 88, 178, 0.25);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.button:hover { background: linear-gradient(180deg, #5689e8 0%, #3264c0 100%); }
.button-sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.button-ghost {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
  box-shadow: none;
}
.button-ghost:hover { background: rgba(255,255,255,0.22); }
.button-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: none;
}
.button-outline:hover { background: var(--blue); color: #fff; }

/* ─── Cards ─── */
.card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.22rem; }
.card p { margin: 0; color: var(--muted); }

/* ─── Highlight Box ─── */
.highlight-box {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1b3e89 0%, #122c62 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.highlight-box h3 { margin-top: 0; }

/* ─── Check List ─── */
.check-list { margin: 22px 0; padding-left: 22px; display: grid; gap: 12px; font-size: 1.06rem; }
.check-list.compact { gap: 10px; margin: 16px 0 0; }

/* ─── Hero (CSS gradient placeholder) ─── */
.hero-gradient {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-inner {
  width: 100%;
  padding: 80px 0;
}

/* ─── Contact Strip ─── */
.contact-strip { background: var(--navy); color: #fff; padding: 16px 0; }
.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 700;
}

/* ─── CTA Box ─── */
.cta-box {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
  padding: 36px;
  border-radius: 30px;
  background: linear-gradient(180deg, #173471 0%, #10254f 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ─── Step Number ─── */
.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

/* ─── Form Elements ─── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(70,120,215,0.12); }
textarea.form-control { resize: vertical; min-height: 110px; }

/* ─── Badge / Trust Signals ─── */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-deep);
}
.badge-icon { font-size: 1rem; }

/* ─── Hours Table ─── */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table td { padding: 10px 0; font-size: 0.97rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--navy-deep); }

/* ─── Menu Item Card ─── */
.menu-card {
  padding: 0;
  overflow: hidden;
}
.menu-card-image {
  height: 160px;
  border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
}
.menu-card-body { padding: 20px 24px; }
.menu-card-body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.menu-card-body p { margin: 0 0 10px; color: var(--muted); font-size: 0.93rem; }
.menu-price { font-weight: 800; color: var(--navy); font-size: 1.05rem; }

/* ─── Footer ─── */
.site-footer { padding: 34px 0 46px; background: #0b1732; color: rgba(255,255,255,0.82); }
.footer-wrap { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 20px; align-items: start; }
.footer-brand-text { margin-bottom: 12px; color: #fff; font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -0.03em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover { color: #fff; }

/* ─── Back-to-demos nav bar ─── */
.demo-nav-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.88);
  padding: 10px 0;
  font-size: 0.88rem;
}
.demo-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.demo-nav-bar a { color: rgba(255,255,255,0.88); font-weight: 700; }
.demo-nav-bar a:hover { color: #fff; }

/* ─── Sample-site sticky banner ─── */
.sample-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  z-index: 9999;
  border-top: 2px solid rgba(255,255,255,0.12);
}
.sample-banner a { color: #9eb8f5; text-decoration: underline; }

/* ─── Responsive ─── */
@media (max-width: 920px) {
  .nav, .button-sm { display: none; }
  .three, .four, .split, .cta-box, .footer-wrap { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1180px); }
  .nav-wrap { min-height: 74px; }
  .brand img { height: 36px; }
  .contact-strip-inner { flex-direction: column; gap: 6px; }
  .section { padding: 72px 0; }
  .cta-box { padding: 24px; border-radius: 24px; }
  .cta-actions { flex-direction: column; }
  .button, .button-ghost { width: 100%; }
  .hero-gradient { min-height: 320px; }
}

@media (max-width: 768px) {
  .hero {
    background-image: url('/images/hamilton-bg.jpg') !important;
    background-position: center;
    background-size: cover;
  }
}
