/* Topcam 2026 — shared design system */
:root {
  --blue: #0B3D91;
  --blue-2: #2B6BE3;
  --ink: #0A0C12;
  --ink-2: #1a1e2a;
  --mute: #6B7388;
  --line: rgba(10,12,18,0.08);
  --bg: #F4F2EC;
  --bg-2: #EAE6DC;
  --card: #FFFFFF;
  --lime: #D4FF3D;
  --accent: #FF5A1F;
  --wa: #25D366;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.4;
}
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.wrap { max-width: 1480px; margin: 0 auto; padding: 0 32px; }

/* NAV */
nav.top {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 32px); max-width: 1440px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(10,12,18,0.08);
  border-radius: 18px;
  padding: 10px 12px 10px 22px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 4px 24px rgba(10,12,18,0.04);
  gap: 12px;
}
nav.top 
nav.top .links { display: flex; gap: 2px; }
nav.top .links a {
  padding: 8px 14px; border-radius: 10px; font-size: 14px;
  font-weight: 500; color: var(--ink-2);
  transition: background .2s;
}
nav.top .links a:hover, nav.top .links a.active { background: rgba(10,12,18,0.06); }
nav.top .cta-wa {
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s, background .2s;
  white-space: nowrap;
}
nav.top .cta-wa:hover { background: var(--wa); transform: translateY(-1px); }
nav.top .cart-btn {
  position: relative;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(10,12,18,0.06);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  transition: background .2s;
}
nav.top .cart-btn:hover { background: rgba(10,12,18,0.1); }
nav.top .auth-btn {
  padding: 10px 14px; border-radius: 12px;
  background: rgba(10,12,18,0.04);
  border: 1px solid rgba(10,12,18,0.08);
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: all .18s; white-space: nowrap;
}
nav.top .auth-btn:hover { background: var(--ink); color: #fff; border-color: transparent; transform: translateY(-1px);}
nav.top .auth-btn .auth-name { display: inline;}
@media (max-width: 880px) {
  nav.top .auth-btn .auth-name { display: none;}
  nav.top .auth-btn { padding: 10px 11px;}
}
nav.top .cart-count {
  background: var(--accent); color: #fff;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(10,12,18,0.06); align-items: center; justify-content: center;}
.burger span, .burger span::before, .burger span::after {
  content: ''; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg); padding: 20px;
  display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .35s ease;
  overflow-y: auto;
}
.mobile-menu.on { transform: translateY(0); }
.mobile-menu .mm-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line);}
.mobile-menu a { padding: 16px 0; font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--line); letter-spacing: -0.01em;}
.mobile-menu .mm-cta { margin-top: 30px; display: flex; flex-direction: column; gap: 12px;}
.close-x {width: 40px; height: 40px; border-radius: 10px; background: rgba(10,12,18,0.06); display:flex; align-items:center; justify-content:center;}

/* BUTTONS */
.btn-primary {
  background: var(--ink); color: #fff;
  padding: 18px 26px; border-radius: 16px;
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all .25s;
  position: relative;
}
.btn-primary:hover { background: var(--wa); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,0.3); }
.btn-primary .arr {
  width: 26px; height: 26px; border-radius: 999px; background: var(--lime); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s;
  font-size: 14px; font-weight: 700;
}
.btn-primary:hover .arr { transform: rotate(-45deg); background: #fff; }
.btn-ghost {
  padding: 18px 22px; border-radius: 16px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); border: 1.5px solid var(--line);
  transition: all .2s; background: rgba(255,255,255,0.5);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-wa {
  background: var(--wa); color: #fff;
  padding: 16px 22px; border-radius: 14px;
  font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s;
}
.btn-wa:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,0.4); }

/* SECTIONS */
section { padding: 120px 0; position: relative; }
.eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--blue); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--blue); }
h2.section-h {
  font-size: clamp(38px, 6vw, 84px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 24px;
}
h2.section-h .serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--blue-2); }
.section-lead { font-size: 18px; color: var(--ink-2); max-width: 560px; line-height: 1.5; }

/* FORM controls */
.field { display: flex; flex-direction: column; gap: 6px;}
.field label { font-size: 12px; color: var(--mute); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;}
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-size: 15px; background: #fff; color: var(--ink);
  transition: border-color .2s; outline: none; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink);}
.field textarea { resize: vertical; min-height: 100px;}

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,12,18,0.6);
  backdrop-filter: blur(8px); z-index: 300;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
  padding: 20px;
}
.modal-overlay.on { opacity: 1; pointer-events: all; }
.modal-card {
  background: #fff; border-radius: 24px;
  padding: 40px; max-width: 520px; width: 100%;
  transform: translateY(20px) scale(0.98); transition: transform .25s;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.on .modal-card { transform: none; }
.modal-card h3 { font-size: 32px; letter-spacing: -0.025em; margin-bottom: 8px; line-height: 1.05; font-weight: 700;}
.modal-card .sub { color: var(--mute); font-size: 14px; margin-bottom: 24px; line-height: 1.5;}
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 999px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .2s;}
.modal-close:hover { background: var(--bg-2);}
.modal-wrap { position: relative;}

/* Sticky WA */
.wa-sticky {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  background: var(--wa); color: #fff; padding: 14px 20px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px;
  box-shadow: 0 14px 40px rgba(37,211,102,0.45);
  transition: transform .25s;
}
.wa-sticky:hover { transform: scale(1.05) translateY(-2px); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease;}
.reveal.on { opacity: 1; transform: none;}
@media (max-width: 640px) {
  .reveal { opacity: 1; transform: none; transition: none;}
}

/* FOOTER */
footer.site-foot { padding: 80px 0 40px; border-top: 1px solid var(--line); background: var(--bg);}
footer.site-foot .grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  margin-bottom: 60px;
}
footer.site-foot .brand-col { max-width: 340px;}
footer.site-foot .brand-col .brand { margin-bottom: 14px; display: inline-flex !important;}
footer.site-foot .brand-col .brand .brand-name { font-size: 22px !important; font-weight: 800;}
footer.site-foot .brand-col .brand .brand-accent { font-size: 26px !important;}
footer.site-foot .brand-col .brand .brand-tag { font-size: 10px !important; letter-spacing: 0.2em !important;}
footer.site-foot .brand-col p { color: var(--mute); font-size: 14px; line-height: 1.5; margin-bottom: 20px;}
footer.site-foot h4 { font-size: 13px; font-weight: 600; color: var(--mute); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px;}
footer.site-foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px;}
footer.site-foot ul a { font-size: 15px; color: var(--ink-2); transition: color .2s;}
footer.site-foot ul a:hover { color: var(--blue); }
footer.site-foot .bottom {
  padding-top: 30px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--mute); font-size: 13px; flex-wrap: wrap; gap: 16px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .wrap { padding: 0 26px; }
  section { padding: 80px 0; }
  nav.top .links { display: none; }
  .burger { display: flex; }
  footer.site-foot .grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  nav.top { padding: 8px 8px 8px 14px; gap: 6px;}
  nav.top .auth-btn, nav.top .cart-btn { display: none;}
  nav.top .cta-wa { padding: 8px 11px;}
  nav.top .cta-wa span { display: none;}
  .brand .brand-name { font-size: 13.5px !important;}
  .brand .brand-accent { font-size: 15px !important;}

  .wrap { padding: 0 22px; }
  section { padding: 64px 0; }
  nav.top { top: 10px; padding: 8px 8px 8px 16px; }
  nav.top .brand .brand-tag { display: none; }
  nav.top .cta-wa span { display: none; }
  nav.top .cart-btn span:not(.cart-count) { display: none; }
  h2.section-h { font-size: 34px; }
  .btn-primary, .btn-ghost, .btn-wa { padding: 14px 20px; font-size: 14px; }
  .modal-card { padding: 28px 24px; }
  .modal-card h3 { font-size: 24px; }
  footer.site-foot .grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-bottom: 28px;}
  footer.site-foot .brand-col { grid-column: 1 / -1; max-width: none; margin-bottom: 6px;}
  footer.site-foot .brand-col p { font-size: 13px; margin-bottom: 14px;}
  footer.site-foot h4 { margin-bottom: 10px; font-size: 11px;}
  footer.site-foot ul { gap: 7px;}
  footer.site-foot ul a { font-size: 13.5px;}
  footer.site-foot .bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 20px; font-size: 12px;}
  footer.site-foot .bottom > div:nth-child(2) { gap: 16px !important; flex-wrap: wrap;}
  footer.site-foot { padding: 50px 0 24px;}
  .wa-sticky { padding: 12px 16px; font-size: 13px; }
}

.brand { display: inline-flex !important; align-items: center; text-decoration: none; color: var(--ink); padding: 0 2px;}
.brand .brand-text { display: inline-flex !important; flex-direction: column !important; line-height: 1; gap: 4px; align-items: flex-start;}
.brand .brand-name { display: block !important; width: auto; font-size: 18px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; color: var(--ink); white-space: nowrap;}
.brand .brand-accent { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; font-size: 21px; letter-spacing: -0.005em; color: var(--blue); padding-left: 2px; margin-right: 1px;}
.brand .brand-tag  { display: block !important; width: auto; font-size: 9px; font-weight: 600; color: var(--mute); letter-spacing: 0.22em; text-transform: uppercase; font-family: 'Geist Mono', monospace; line-height: 1; white-space: nowrap;}
.brand:hover .brand-name { color: var(--blue);}
.brand:hover .brand-accent { color: var(--accent);}
@media (max-width: 640px) {
  .brand .brand-name { font-size: 15px;}
  .brand .brand-accent { font-size: 17px;}
  .brand .brand-tag { font-size: 8px; letter-spacing: 0.18em;}
}
