/* ============================================
   Nakede Management Services — Site Styles
   ============================================ */
:root {
  --navy: #465832;          /* dark olive — primary brand green */
  --navy-light: #5a7046;    /* mid olive */
  --gold: #78905a;          /* sage accent */
  --gold-light: #c5d3a3;    /* light sage */
  --ink: #2e3627;
  --muted: #66705a;
  --bg: #f4f6ee;            /* light sage background */
  --bg-soft: #ffffff;       /* white for alternate sections */
  --white: #ffffff;
  --border: #dde3d0;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(70, 88, 50, 0.10);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}

h1, h2, h3,
.brand-name,
.footer-brand,
.stat-num {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }

/* Default link colour — brand olive, never browser blue */
a { color: var(--gold); }

.card ul a, .prose a, .article a, .section-lead a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.card ul a:hover, .prose a:hover, .article a:hover, .section-lead a:hover {
  color: var(--navy);
  text-decoration: underline;
}

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

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark { height: 48px; width: auto; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.5rem;
  color: var(--navy);
}

.brand-name span { color: var(--gold); }

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover { color: var(--navy); background: var(--bg); }

.main-nav a.active { color: var(--gold); }

.main-nav a.nav-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 22px;
}

.main-nav a.nav-cta:hover { background: var(--navy-light); }

/* ---------- Hero ---------- */
.hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='128' viewBox='0 0 112 128'%3E%3Cpath d='M56 4 L104 32 L104 92 L56 120 L8 92 L8 32 Z' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='3'/%3E%3C/svg%3E") repeat,
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #6a8050 100%);
  color: var(--white);
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,211,163,0.28), transparent 65%);
}

.hero .container { position: relative; z-index: 1; }

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 760px;
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.13rem;
  max-width: 640px;
  color: #e2e8d3;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  margin-left: 12px;
}

.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p { color: #e2e8d3; max-width: 700px; font-size: 1.06rem; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }

.section-alt { background: var(--bg-soft); }

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-lead {
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 44px;
  font-size: 1.05rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(70,88,50,0.14); }

.card h3 {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.card p, .card li { color: var(--muted); font-size: 0.96rem; }

.card ul { padding-left: 20px; margin-top: 8px; }

.card li { margin-bottom: 6px; }

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(90,109,68,0.14);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* ---------- Value list ---------- */
.value-list { list-style: none; }

.value-list li {
  position: relative;
  padding: 14px 0 14px 38px;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
}

.value-list li:last-child { border-bottom: none; }

.value-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}

.stats-band .grid-3 { text-align: center; }

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-label { color: #e2e8d3; font-size: 0.95rem; }

/* ---------- Prose ---------- */
.prose { max-width: 800px; }

.prose h2 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 36px 0 12px;
}

.prose h2:first-child { margin-top: 0; }

.prose p { margin-bottom: 16px; color: var(--ink); }

.prose ul { padding-left: 22px; margin-bottom: 16px; }

.prose li { margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.office-card table { width: 100%; border-collapse: collapse; margin: 14px 0; }

.office-card td { padding: 6px 0; font-size: 0.95rem; color: var(--muted); vertical-align: top; }

.office-card td:first-child { font-weight: 700; color: var(--navy); width: 84px; }

.office-card a { color: var(--navy); }

.office-card address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.office-card address strong { color: var(--navy); display: block; margin-top: 12px; }

/* ---------- Form ---------- */
.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin: 18px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(120,144,90,0.22);
}

.contact-form button {
  margin-top: 24px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }

.cta-band p { color: #e2e8d3; margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: #2b3520;
  color: #b8c2a8;
  padding: 56px 0 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 44px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 9px; }

.site-footer a { color: #b8c2a8; text-decoration: none; transition: color 0.2s; }

.site-footer a:hover { color: var(--gold-light); }

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand span { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* ---------- Dropdown nav ---------- */
.main-nav li { position: relative; }

.main-nav li ul.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(70,88,50,0.14);
  min-width: 260px;
  padding: 8px;
  z-index: 200;
  flex-direction: column;
  gap: 0;
}

.main-nav li:hover > ul.submenu,
.main-nav li:focus-within > ul.submenu { display: flex; }

.main-nav .submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: 6px;
}

.main-nav li.has-sub > a::after {
  content: " ▾";
  font-size: 0.7em;
  color: var(--muted);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.breadcrumb a { color: var(--gold-light); text-decoration: none; }

.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Capability groups ---------- */
.group-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 56px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-light);
}

.group-header:first-of-type { margin-top: 0; }

.group-header h2 {
  color: var(--navy);
  font-size: 1.5rem;
}

.group-header span { color: var(--muted); font-size: 0.92rem; }

.card .card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold);
  text-decoration: none;
}

.card .card-link:hover { color: var(--navy); }

.card h3 a { color: var(--navy); text-decoration: none; }

.card h3 a:hover { color: var(--gold); }

/* ---------- Service detail pages ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.side-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.side-panel h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 14px; }

.side-panel ul { list-style: none; }

.side-panel li { margin-bottom: 10px; }

.side-panel a { color: var(--ink); text-decoration: none; font-size: 0.92rem; }

.side-panel a:hover { color: var(--gold); }

.side-panel .btn { margin-top: 16px; }

/* ---------- Photo bands ---------- */
.photo-band {
  height: 230px;
  background-size: cover;
  background-position: center 30%;
  box-shadow: inset 0 0 0 1000px rgba(70, 88, 50, 0.16); /* subtle brand-green tint */
}

@media (max-width: 680px) {
  .photo-band { height: 150px; }
}

/* ---------- Insights ---------- */
.insight-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.article {
  max-width: 760px;
}

.article p { margin-bottom: 18px; }

.article h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 34px 0 12px;
}

.article .lead {
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 24px 20px; }

  .main-nav a { display: block; padding: 12px 8px; }

  .main-nav a.nav-cta { text-align: center; margin-top: 8px; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .two-col { grid-template-columns: 1fr; }

  .side-panel { position: static; }

  .main-nav li ul.submenu {
    display: flex;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    background: transparent;
  }

  .hero { padding: 64px 0 72px; }

  .btn-outline { margin-left: 0; margin-top: 12px; }

  .footer-grid { grid-template-columns: 1fr; }
}
