/* Opencons — shared stylesheet */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-800.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --ink: #12141a;
  --ink-muted: #565b66;
  --navy: #0c0f16;
  --navy-alt: #171b26;
  --accent: #b3872f;
  --accent-light: #d8b56a;
  --border: #e4e5e9;
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --max-width: 1120px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand svg { width: 28px; height: 28px; flex: none; }
.brand img { height: 30px; width: auto; display: block; }
.site-footer .brand img { height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-outline { border-color: var(--border); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 15% -10%, #232a3d 0%, transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, #2a2318 0%, transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-alt) 100%);
  color: #fff;
  padding: 32px 0 28px;
}
.hero .eyebrow {
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 24px;
  max-width: 820px;
  letter-spacing: -0.02em;
}
.hero p {
  color: #c7cad3;
  max-width: 620px;
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.hero .hero-actions { margin-top: 11px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--accent); color: #1a1200; }
.hero .btn-primary:hover { background: var(--accent-light); }
.hero .btn-outline { border-color: rgba(255,255,255,0.25); color: #fff; }
.hero .btn-outline:hover { border-color: #fff; }

.hero-photo {
  background-image:
    linear-gradient(180deg, rgba(9, 11, 16, 0.55) 0%, rgba(9, 11, 16, 0.88) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

/* Sections */
section { padding: 22px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .ink-muted { color: #aab0bf; }

.eyebrow-sm {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; margin: 0 0 14px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
.lede { color: var(--ink-muted); max-width: 680px; font-size: 1.05rem; }
.section-navy .lede { color: #c7cad3; }

.quote-block {
  font-size: 1.3rem;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}
.quote-block cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.9rem; color: var(--ink-muted); }

.grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.section-alt .card { background: #fff; }
.section-navy .card { background: var(--navy-alt); border-color: var(--border-dark); }

.card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(179, 135, 47, 0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial {
  background: var(--navy-alt);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 30px;
  color: #dfe1e7;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial p { margin: 0 0 18px; }
.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  margin-top: auto;
  padding-top: 18px;
}
.testimonial .who img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  flex: none;
}
.testimonial .who-role { display: block; font-weight: 400; color: #9aa0ad; font-size: 0.88rem; margin-top: 2px; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}
.clients-grid .client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.clients-grid .client-logo:hover {
  background-color: var(--bg-alt);
}
.clients-grid img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  filter: grayscale(1) brightness(0.4) contrast(1.3);
  opacity: 0.8;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.clients-grid .client-logo:hover img {
  filter: none;
  opacity: 1;
}

.locations-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 14px;
  margin-top: 14px;
}
.location-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.location-tab {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
}
.location-tab h3 { margin: 0; font-size: 1rem; }
.location-tab.active { border-color: var(--accent); background: var(--bg-alt); }
.location-tab.active h3 { color: var(--accent); }
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
}
.location-map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

.cta-banner {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #c7cad3; max-width: 560px; margin: 0 auto 10px; }

/* Legal notices */
.legal-id-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  margin: 14px 0 8px;
}
.legal-id-box img { margin: 0 auto; }
.legal-note {
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 640px;
}

/* Legal doc pages (privacy / terms) */
.doc h2 { margin-top: 12px; }
.doc h3 { margin-top: 9px; }
.doc p, .doc li { color: var(--ink-muted); }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); }
.doc .updated { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 11px; }

/* Legal page: table of contents */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 10px 0 8px;
}
.toc h2 { margin-top: 0; font-size: 1.1rem; }
.toc-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--ink); font-weight: 500; }
.toc a:hover { color: var(--accent); }
.toc ol ol { margin-top: 8px; padding-left: 18px; }
.toc ol ol li { font-weight: 400; margin-bottom: 6px; }
.toc ol ol a { font-weight: 400; color: var(--ink-muted); }

.legal-doc-section { padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px; }
.legal-doc-section:first-of-type { border-top: none; margin-top: 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #9aa0ad;
  padding: 20px 0 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-legal-link { color: #757b8a; }
.footer-legal-link:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 9px;
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .grid-3, .grid-2, .locations-layout, .toc-columns { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .cta-banner { padding: 18px 12px; }
}
