/* VOXP Technologies website — shared styles (desktop-first, responsive) */
:root {
  --navy: #0f1728;
  --text-muted: #4a5468;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --border: #e3e6ec;
  --border-soft: #e9ecf1;
  --accent: #d42a10;        /* buttons, links, small text (AA on white) */
  --accent-hover: #b3230d;
  --accent-bright: #ec3013; /* large headline words, decorative dots */
  --accent-tint: #fdeae6;
  --accent-on-dark: #ff8a73;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: max(clamp(20px, 4.4vw, 56px), calc((100% - 1280px) / 2 + 56px)); 
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--accent); }
.eyebrow--dark { color: var(--accent-on-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 26px; border-radius: 999px; font-size: 16px; font-weight: 700;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(212, 42, 16, .28); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; padding: 12px 22px; font-size: 15px; }
.btn--dark:hover { background: var(--accent); color: #fff; }

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px;
  padding: 22px var(--gutter);
}
.site-header .logo { margin-right: auto; display: flex; }
.site-header .logo img { height: 38px; width: auto; }
.site-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--navy); }
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 24px var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; padding: 32px 0; }
.pill {
  align-self: flex-start; display: inline-flex; gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 500;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); }
.hero h1 {
  margin: 0; font-size: clamp(36px, 5vw, 54px); line-height: 1.08;
  letter-spacing: -0.035em; font-weight: 800; text-wrap: pretty;
}
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; height: 540px; }
.hero__photo { position: absolute; inset: 0; border-radius: 28px; background: url("../images/photos/unsplash8.jpg") center / cover; }
.stats {
  position: absolute; left: -32px; bottom: 40px; background: #fff; border-radius: 20px;
  padding: 22px 26px; box-shadow: 0 20px 50px rgba(15, 23, 40, .16); display: flex; gap: 28px;
}
.stats__divider { width: 1px; background: var(--border); }
.stats strong { display: block; font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.stats strong.is-accent { color: var(--accent); }
.stats span { font-size: 13px; color: var(--text-muted); }

/* Clients */
.clients { padding: 72px var(--gutter) 24px; display: flex; flex-direction: column; gap: 24px; }
.clients p { margin: 0; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.clients__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 10px; }
.clients__grid li {
  height: 84px; padding: 12px; background: #fff; border: 1px solid var(--border-soft); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.clients__grid img { max-height: 36px; width: auto; max-width: 100%; object-fit: contain; }

/* What we do */
.what { padding: 72px var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.what__head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.what h2, .who h2 { margin: 0; font-weight: 800; text-wrap: pretty; }
.what h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.03em; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 22px; padding: 30px;
  display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: 0 18px 40px rgba(15, 23, 40, .10); border-color: #fff; }
.card__num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.card h3 { margin: 8px 0 0; font-size: 20px; font-weight: 700; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* Who we are */
.who { padding: 0 var(--gutter) 72px; }
.who__panel {
  background: var(--navy); color: #fff; border-radius: 32px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}
.who__photo { min-height: 520px; background: url("../images/photos/unsplash19.jpg") center / cover; }
.who__copy { padding: 64px 56px; display: flex; flex-direction: column; gap: 22px; }
.who h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.14; letter-spacing: -0.03em; }
.who p { margin: 0; font-size: 16px; line-height: 1.7; color: #c3cada; }
.who__callout { margin-top: 8px; padding: 18px 22px; border-radius: 16px; background: rgba(255, 255, 255, .08); font-size: 16px; font-weight: 600; color: #fff !important; }

/* Contact */
.contact { padding: 0 var(--gutter) 56px; }
.contact__panel {
  background: var(--accent); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.contact__copy { display: flex; flex-direction: column; gap: 20px; }
.contact h2 { margin: 0; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.contact p { margin: 0; font-size: 18px; line-height: 1.6; }
.contact .btn-email {
  align-self: flex-start; background: #fff; color: var(--navy); padding: 18px 28px; border-radius: 999px;
  font-size: clamp(16px, 2vw, 22px); font-weight: 800; margin-top: 8px;
}
.contact .btn-email:hover { background: var(--navy); color: #fff; }
.office { background: #fff; color: var(--navy); border-radius: 24px; overflow: hidden; }
.office__photo { height: 180px; background: url("../images/photos/bulb.jpg") center / cover; }
.office__body { padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.6; }
.office__body strong { display: block; }
.office__body address { font-style: normal; color: var(--text-muted); }
.office__phone { color: var(--navy); font-size: 18px; font-weight: 700; }
.office__phone:hover { color: var(--accent); }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  padding: 24px var(--gutter) 36px; font-size: 13px; color: var(--text-muted);
}
.site-footer img { height: 26px; width: auto; }
.site-footer .copy { margin-right: auto; }
.site-footer a { color: var(--navy); }
.site-footer a:hover { color: var(--accent); }

/* Legal pages */
.legal { padding: 24px var(--gutter) 72px; display: flex; flex-direction: column; gap: 40px; align-items: center; }
.legal__head, .legal__body { width: 100%; max-width: 880px; }
.legal__head { display: flex; flex-direction: column; gap: 20px; }
.legal__head h1 { margin: 0; font-size: clamp(36px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
.legal__body {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 28px;
  padding: clamp(24px, 5vw, 56px); display: flex; flex-direction: column; gap: 8px;
}
.legal__intro { margin: 0 0 28px; font-size: clamp(16px, 2vw, 18px); line-height: 1.7; }
.toc { background: var(--bg); border-radius: 18px; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.toc h2 { margin: 0 0 2px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.toc a { color: var(--navy); font-size: 14px; line-height: 1.4; }
.toc a:hover { color: var(--accent); }
.toc a span { font-family: var(--font-mono); color: var(--accent); margin-right: 8px; }
.legal-section { display: flex; flex-direction: column; gap: 14px; padding: 36px 0; border-top: 1px solid var(--border); }
.legal-section h2 { margin: 0; display: flex; gap: 14px; align-items: baseline; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
.legal-section h2 span { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--accent); min-width: 28px; }
.legal-section p, .legal-section li { font-size: 16px; line-height: 1.75; color: #3a4357; margin: 0; }
.legal-section ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-section strong { color: var(--navy); }
.legal-section a { text-decoration: underline; font-weight: 600; }
.legal-section a:hover { color: var(--navy); }
mark { background: #fff1b8; color: var(--navy); padding: 1px 6px; border-radius: 4px; }
.seal { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.seal img { width: 240px; }
.seal p { font-size: 14px; max-width: 340px; color: var(--text-muted); }

/* Tablet */
@media (max-width: 1100px) {
  .clients__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Small tablet / large phone */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy { padding: 16px 0 0; }
  .hero__media { height: 380px; }
  .stats { left: 16px; bottom: 16px; padding: 16px 20px; gap: 20px; }
  .stats strong { font-size: 28px; }
  .who__panel { grid-template-columns: 1fr; }
  .who__photo { min-height: 260px; }
  .who__copy { padding: 36px 28px; }
  .contact__panel { grid-template-columns: 1fr; gap: 32px; }
}

/* Phone */
@media (max-width: 600px) {
  .site-header { padding-top: 14px; padding-bottom: 10px; }
  .site-header .logo img { height: 30px; }
  .site-nav {
    order: 3; width: 100%; gap: 24px; overflow-x: auto; padding: 4px 0 6px; font-size: 14px;
    white-space: nowrap; -webkit-overflow-scrolling: touch;
  }
  .btn--dark { padding: 10px 16px; font-size: 14px; }
  .btn { padding: 14px 22px; font-size: 15px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero p { font-size: 16px; }
  .hero__media { height: 300px; }
  .hero__photo { border-radius: 22px; }
  .clients { padding-top: 48px; }
  .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients__grid li { height: 72px; }
  .what { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .who { padding-bottom: 48px; }
  .who__panel, .contact__panel { border-radius: 24px; }
  .contact p { font-size: 16px; }
  .contact .btn-email { width: 100%; text-align: center; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .legal-section { padding: 28px 0; }
  .seal img { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
