/*
Theme Name: Eburon Group
Theme URI: https://eburongroup.com
Author: Eburon Group
Description: Custom theme for Eburon Group, an IT strategy, AI adoption, and security & privacy advisory firm for medium-sized local businesses. Built for a trusted-advisor, no-hype positioning.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: eburon-group
*/

/* ---------- Variables ---------- */
:root {
  --ink: #16293a;
  --ink-soft: #2c4256;
  --paper: #faf8f4;
  --paper-alt: #f1ede4;
  --line: #e3ddd0;
  --accent: #b5542a;
  --accent-dark: #8f4220;
  --text: #232323;
  --text-muted: #5c5c58;
  --white: #ffffff;
  --radius: 8px;
  --max-width: 1120px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }
ul { padding-left: 1.2em; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section-alt { background: var(--paper-alt); }
.section-ink { background: var(--ink); color: #e9e4d8; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #c7d0d8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

/* ---------- Site header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-branding a {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-branding .tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.96rem;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .primary-nav ul { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .primary-nav.is-open ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #f4f1e9;
  padding: 100px 0 90px;
  text-align: center;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: #a7b6c2;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.6rem;
}
.hero .lede {
  max-width: 560px;
  margin: 0 auto 32px;
  color: #cdd6dc;
  font-size: 1.1rem;
}
.hero .hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 56px 0;
}
.trust-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.trust-item .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: var(--accent);
}

/* ---------- Service cards ---------- */
.section-intro { max-width: 620px; margin: 0 0 44px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.service-card .num {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.service-card a { font-weight: 600; font-size: 0.92rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 36px;
}
.step .step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { max-width: 560px; margin: 0 auto 14px; }
.cta-band p { max-width: 480px; margin: 0 auto 28px; color: var(--text-muted); }

/* ---------- Generic page content ---------- */
.page-header {
  background: var(--paper-alt);
  padding: 60px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin: 0; }
.entry-content {
  max-width: 760px;
  padding: 56px 0;
}
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul { color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 56px 0 80px;
}
.contact-info .item { margin-bottom: 22px; }
.contact-info .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 14px 0 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { margin-top: 20px; }

/* ---------- Blog ---------- */
.post-list { padding: 56px 0; display: grid; gap: 30px; }
.post-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}
.post-card .meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 6px; }
.post-card h2 { font-size: 1.4rem; margin-bottom: 8px; }
.post-card h2 a { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c7d0d8;
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c7d0d8; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.85rem;
  color: #93a0aa;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid, .steps, .trust-bar, .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 52px 0; }
}
