/* =========================================================
   ArceoConsult — Final Gold Edition CSS (2025-10-12)
   Guardian Consulting Boutique for SMEs
   ========================================================= */

/* === Root Variables === */
:root {
  --ink: #0b0f19;
  --muted: #5b6473;
  --line: #e7e9ef;
  --bg: #ffffff;

  --navy: #0e2a47;
  --navy-2: #12355a;
  --gold: #d4af37;

  --container: 1120px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, "Noto Sans";
  --serif: Georgia, Cambria, "Times New Roman", Times, serif;

  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* === Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.lead { color: var(--muted); max-width: 760px; margin: 0 auto; }

/* === Header === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14,42,71,.92);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: saturate(140%) blur(10px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: 16px;
}
.logo { height: 48px; width: auto; }
.navbar-slogan {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--gold); font-weight: 600; margin-top: 2px;
}

/* === Navigation === */
.main-nav ul { list-style: none; display: flex; gap: 28px; }
.main-nav a {
  color: #fff; opacity: .95; font-weight: 600; transition: color .2s ease;
}
.main-nav a:hover { color: var(--gold); opacity: 1; }

/* === Mobile toggle === */
.nav-toggle {
  display: none; background: transparent; border: none; color: var(--gold);
  cursor: pointer; width: 48px; height: 48px; position: relative; z-index: 1001;
}
.nav-toggle-box { width: 22px; height: 16px; position: relative; display: inline-block; }
.nav-toggle-line {
  position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle-line:nth-child(1){top:0}
.nav-toggle-line:nth-child(2){top:7px}
.nav-toggle-line:nth-child(3){top:14px}
body.nav-open .nav-toggle-line:nth-child(1){top:7px; transform:rotate(45deg)}
body.nav-open .nav-toggle-line:nth-child(2){opacity:0}
body.nav-open .nav-toggle-line:nth-child(3){top:7px; transform:rotate(-45deg)}

/* === Hero === */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; color: #fff; overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(8,22,39,.66), rgba(18,53,90,.66)),
    url("https://raw.githubusercontent.com/quantico-leo/arceoconsult/main/Image%20office.jpg");
  background-size: cover; background-position: center;
  z-index: -1;
}
.hero-inner {
  padding: 120px 0 80px; display: flex; flex-direction: column; align-items: flex-start;
}
.hero-eyebrow {
  font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.85); font-weight: 700;
}
.hero h2 {
  font-family: var(--serif);
  font-size: clamp(34px,5.5vw,56px);
  line-height: 1.1; margin: 6px 0 12px;
}
.hero-subtitle {
  max-width: 760px; color: #e9f2ff; font-size: clamp(16px,1.5vw,20px);
}
.cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* === Buttons === */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 10px;
  font-weight: 700; border: 2px solid var(--gold); background: var(--gold);
  color: var(--ink); transition: all .2s ease;
}
.btn:hover { background: transparent; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* === Identity === */
.gradient-alt { background: linear-gradient(180deg, #fcfdff, #f6f8fb); }
.identity-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.identity-photo img {
  max-width: 360px; border-radius: 14px; box-shadow: var(--shadow);
  margin: auto; object-fit: cover;
}
.identity-text { font-size: 1.06rem; }

/* === Intent Section === */
#intent {
  background: #ffffff;
  padding: 96px 0 120px 0;
  text-align: center;
}
#intent h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 42px);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 32px;
}
#intent p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: #1f2a3d;
  font-size: 1.05rem;
  line-height: 1.7;
}
#intent strong { color: var(--navy); font-weight: 700; }
#intent em { color: var(--gold); font-weight: 600; font-style: normal; }

/* === Cards (Pillars & Programs) === */
.grid { display: grid; gap: 40px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; box-shadow: 0 4px 12px rgba(0,0,0,.04);
  transition: all .2s ease;
}
.card h3 {
  font-family: var(--serif); color: var(--navy); margin-bottom: 10px;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.1);
  border-color: var(--gold);
}

/* === Method === */
#method {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}
#method h2 {
  font-size: clamp(32px, 4vw, 44px);
  color: var(--navy);
  font-family: var(--serif);
  margin-bottom: 18px;
}
#method .lead {
  margin-bottom: 30px;
  color: #3a4b60;
}
#method p {
  max-width: 760px;
  margin: 0 auto 16px;
  text-align: center;
  line-height: 1.6;
}

/* === Contact === */
#contact {
  padding-top: 120px;
  padding-bottom: 140px;
  text-align: center;
}
.contact-form { margin-top: 32px; }
.form-grid {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 640px; margin: 0 auto;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.18);
}
.contact-form textarea { min-height: 140px; }
.contact-form button { margin-top: 10px; }
#contact .lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #3a4b60;
  margin-top: -10px;
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid #0a213a;
  background: #071a30;
  color: #cfe0f5;
  padding: 28px 0;
  text-align: center;
  font-size: 14px;
}

/* === Mobile (≤820px) === */
@media (max-width: 820px) {
  .section { padding: 90px 0; }
  .identity-grid { grid-template-columns: 1fr; text-align: center; }
  .cards-3 { grid-template-columns: 1fr; gap: 24px; }
  .hero-inner { align-items: center; text-align: center; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .main-nav {
    display: none;
    position: absolute; top: 80px; left: 16px; right: 16px;
    background: #0c2642; border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0,0,0,.24); padding: 16px; z-index: 999;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 8px; text-align: center; }
  .main-nav a { display: block; padding: 10px 12px; border-radius: 8px; }
  .main-nav a:hover { background: rgba(255,255,255,.06); }

  .identity-photo img {
    width: 100%; max-width: 160px;
    border-radius: 12px; object-fit: cover; margin: 0 auto;
  }

  #intent { padding: 72px 24px; }
  #intent p { font-size: 1rem; line-height: 1.6; }

  #method {
    padding-top: 90px;
    padding-bottom: 100px;
  }
  #method h2 {
    font-size: 30px;
  }
}

/* === Micro Symmetry Enhancement — Pillars ↔ Programs === */
#pillars {
  padding-bottom: 130px !important;
}
#programs {
  padding-top: 130px !important;
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
/* Footer link styling */
.site-footer .footer-link { 
  color: #cfe0f5; 
  text-decoration: none; 
}
.site-footer .footer-link:hover { 
  color: var(--gold); 
  text-decoration: underline; 
}
.site-footer .footer-link:focus-visible { 
  outline: 2px solid var(--gold); 
  outline-offset: 2px; 
}
