/* Citaforce — static brochure site.
   ponytail: one stylesheet, no framework, no build step. Caddy serves raw HTML.
   Brand palette from guidelines: navy #022B46 (primary) + orange #E77000 (action) + grey #D1D5DB. */

:root {
  --accent: #022B46;         /* brand navy — primary */
  --action: #E77000;         /* brand orange — calls to action */
  --action-dark: #c25e00;
  --ink: #022B46;            /* body text — brand navy */
  --muted: #55636e;          /* secondary text */
  --line: #d1d5db;           /* brand light grey — borders */
  --bg: #ffffff;
  --bg-soft: #f3f6f8;
  --max: 1080px;
  --radius: 12px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* --- Header / nav --- */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 10;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); }
.nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; }

/* --- Buttons --- */
.btn {
  display: inline-block; background: var(--action); color: #fff;
  padding: .7rem 1.4rem; border-radius: var(--radius); font-weight: 600;
  transition: background .15s ease;
}
.btn:hover { background: var(--action-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #fff; }

/* --- Hero --- */
.hero { padding: 5rem 0 4rem; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1rem; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; margin: 0 0 2rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Sections --- */
section { padding: 3.5rem 0; }
section.soft { background: var(--bg-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin: 0 0 1rem; }
.section-intro { color: var(--muted); max-width: 55ch; }

/* --- Card grid --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* --- Values / list --- */
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.values li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.values li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.values strong { color: var(--ink); }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; }
.contact-grid .label { font-weight: 700; font-size: .9rem; margin: 0 0 .25rem; }
.contact-grid .val { color: var(--muted); margin: 0 0 1.5rem; }
form label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 .35rem; }
form input, form textarea {
  width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; margin-bottom: 1.1rem; background: #fff;
}
form input:focus, form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

/* --- CTA band --- */
.cta { background: var(--accent); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 45ch; margin: 0 auto 1.75rem; }
.cta .btn { background: #fff; color: var(--accent); }
.cta .btn:hover { background: var(--bg-soft); }

/* --- Footer --- */
footer.site { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); font-size: .9rem; }
footer.site .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
footer.site a { color: var(--muted); }

/* --- Responsive --- */
@media (max-width: 720px) {
  .nav ul { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { padding: 3.5rem 0 3rem; }
}
