/* ===== BridgeLine Partners — Design System ===== */

:root {
  --color-navy: #0D2037;
  --color-navy-dark: #091528;
  --color-silver: #BCC2CE;
  --color-white: #FFFFFF;
  --color-text: #1C2A3A;
  --color-text-secondary: #5B6472;
  --color-bg-offwhite: #F7F8FA;
  --color-accent: #C6A15B;
  --color-accent-dark: #8B6D28;
  --color-border: #E4E7EC;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1100px;
  --radius: 8px;
}

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

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header / Nav */
.site-header { background: var(--color-navy); position: sticky; top: 0; z-index: 100; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-icon { height: 28px; width: auto; }
.nav-brand-text { color: var(--color-white); font-weight: 600; font-size: 18px; }

.nav-links { display: flex; gap: 28px; }

.nav-link {
  color: var(--color-silver);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover, .nav-link.active { color: var(--color-white); border-bottom-color: var(--color-accent); }

.nav-toggle { display: none; background: none; border: none; color: var(--color-white); font-size: 26px; cursor: pointer; line-height: 1; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* Hero */
.hero { background: var(--color-navy); color: var(--color-white); padding: 96px 24px; text-align: center; }
.hero-logo { height: 72px; width: auto; margin: 0 auto 32px; }
.hero h1 { font-size: 40px; font-weight: 700; max-width: 760px; margin: 0 auto 20px; }
.hero p { font-size: 18px; color: var(--color-silver); max-width: 620px; margin: 0 auto 36px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 15px; transition: background 0.15s ease; }
.btn-primary { background: var(--color-accent); color: var(--color-navy-dark); }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-secondary { background: var(--color-bg-offwhite); color: var(--color-text); border: 1px solid var(--color-border); }
.btn-secondary:hover { background: var(--color-border); }
.btn-group { text-align: center; }
.btn-group .btn { margin: 0 8px 12px; }

/* Sections */
.section { padding: 80px 24px; max-width: var(--container-width); margin: 0 auto; }
.section-alt { background: var(--color-bg-offwhite); }
.section-heading { font-size: 32px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.section-intro { font-size: 17px; color: var(--color-text-secondary); max-width: 640px; margin: 0 auto 48px; text-align: center; }

.prose { max-width: 680px; margin: 0 auto 20px; font-size: 16px; color: var(--color-text); }
.prose:last-of-type { margin-bottom: 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 32px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--color-text-secondary); font-size: 15px; margin-bottom: 16px; }
.card a { color: var(--color-accent-dark); font-weight: 600; font-size: 14px; }

@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .service-grid { grid-template-columns: 1fr; } }

/* Coverage */
.cluster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 800px; margin: 0 auto; }
.cluster-tag { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px 16px; text-align: center; font-weight: 600; font-size: 17px; }
.cluster-tag span { display: block; font-weight: 400; font-size: 13px; color: var(--color-text-secondary); margin-top: 4px; }
.cluster-tag.coming-soon { border-style: dashed; border-color: var(--color-accent); }
.cluster-tag.coming-soon span { color: var(--color-accent-dark); font-weight: 600; }
@media (max-width: 640px) { .cluster-grid { grid-template-columns: repeat(2, 1fr); } }

/* Leadership */
.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 980px; margin: 0 auto; }
.leadership-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 36px 28px; text-align: center; }
.leadership-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 3px solid var(--color-bg-offwhite); }
.leadership-card .name { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.leadership-card .title { color: var(--color-accent-dark); font-weight: 600; font-size: 14px; }
@media (max-width: 860px) { .leadership-grid { grid-template-columns: 1fr; } }

/* About details box */
.details-box { background: var(--color-bg-offwhite); border-radius: var(--radius); padding: 32px; max-width: 560px; margin: 48px auto 0; }
.details-box dt { font-size: 13px; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 16px; }
.details-box dt:first-child { margin-top: 0; }
.details-box dd { font-size: 16px; font-weight: 600; }

/* Contact */
.contact-list { max-width: 480px; margin: 0 auto; }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--color-border); }
.contact-item .label { display: block; color: var(--color-text-secondary); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.contact-item .value { display: block; font-weight: 600; font-size: 17px; }
a.value:hover { color: var(--color-accent-dark); }

/* Footer */
.site-footer { background: var(--color-navy); color: var(--color-silver); padding: 48px 24px 32px; font-size: 14px; }
.footer-inner { max-width: var(--container-width); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-col h4 { color: var(--color-white); font-size: 14px; margin-bottom: 14px; }
.footer-col a, .footer-col p { color: var(--color-silver); display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--color-white); }
.footer-bottom { max-width: var(--container-width); margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; text-align: center; }
.footer-bottom a { color: var(--color-silver); text-decoration: underline; margin-left: 12px; }
.footer-bottom a:hover { color: var(--color-white); }

/* 404 */
.error-page { background: var(--color-navy); color: var(--color-white); text-align: center; padding: 140px 24px; min-height: 60vh; }
.error-page h1 { font-size: 96px; color: var(--color-accent); margin-bottom: 16px; }
.error-page p { color: var(--color-silver); font-size: 18px; margin-bottom: 32px; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 200;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* Legal pages */
.legal-updated { color: var(--color-text-secondary); font-size: 14px; margin: 0 auto 32px; max-width: 680px; text-align: center; }
