/* ============================================================
   Tri7 Services — Executive Coaching & AI Strategy
   Stylesheet
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-light: #12315c;
  --navy-lighter: #1c407a;
  --charcoal: #2a2d34;
  --gold: #b8912f;
  --gold-light: #d9b969;
  --off-white: #f7f6f2;
  --white: #ffffff;
  --text-gray: #55596b;
  --border-light: #e4e1d8;
  --light-blue-grey: #a3b1bf;
  --max-width: 1140px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 700;
  
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }

p {
  margin: 0 0 1.2rem;
}

a {
  color: var(--navy-lighter);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* ---------- Header / Nav ---------- */

.site-header {
  background-color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  line-height: 1.1;
}

.logo-img {
  height: 46px;
  width: auto;
}

.logo span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  text-transform: uppercase;
  max-width: 110px;
}

.logo:hover {
  color: var(--white);
}

.site-footer .footer-brand .logo-img {
  height: 40px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--off-white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius);
  display: inline-block;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--white);
  background-color: rgba(255,255,255,0.08);
}

nav.main-nav a.nav-cta {
  background-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
  margin-left: 8px;
}

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

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--white);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 90px;
}

.hero .eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fac43d;
  max-width: 780px;
  background-color: #3d5b73;
  padding: 5px 0px 5px 20px;
  border-radius: var(--radius);
}

.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Page header (interior pages) ---------- */

.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */

section {
  padding: 80px 0;
}

section.alt {
  background-color: var(--off-white);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-intro .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- Credentials strip ---------- */

.credentials {
  background-color: var(--charcoal);
  padding: 36px 0;
}

.credentials .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  text-align: center;
}

.credentials .stat {
  flex: 1 1 200px;
  color: var(--white);
}

.credentials .stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold-light);
}

.credentials .stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}

/* ---------- Two-pillar / card grid ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.pillar-card {
  background-color: var(--white);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.pillar-card h3 {
  font-size: 1.6rem;
}

.pillar-card .icon {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Quote / pull-quote ---------- */

.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 28px;
  margin: 32px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  font-style: italic;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---------- Lists ---------- */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Forms ---------- */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-lighter);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-hidden {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.alert-success {
  background-color: #eaf5ec;
  color: #24603a;
  border: 1px solid #bfe2c6;
}

.alert-error {
  background-color: #fbeaea;
  color: #7a2222;
  border: 1px solid #f0c4c4;
}

/* ---------- Contact info blocks ---------- */

.contact-info .item {
  margin-bottom: 26px;
}

.contact-info .item .label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info .item .value {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 28px;
  font-size: 0.9rem;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.site-footer .footer-brand {
  max-width: 340px;
}

.site-footer .footer-brand .logo {
  margin-bottom: 10px;
}

.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer nav ul li {
  margin-bottom: 8px;
}

.site-footer nav a {
  color: rgba(255,255,255,0.65);
}

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

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Bio / about page specifics ---------- */

.bio-photo-placeholder {
  background-color: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 0.9rem;
  text-align: center;
  overflow: hidden;
}

.bio-photo-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.timeline {
  border-left: 2px solid var(--border-light);
  margin-left: 8px;
  padding-left: 28px;
}

.timeline .entry {
  position: relative;
  margin-bottom: 32px;
}

.timeline .entry::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline .entry .year {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------- Responsive ---------- */

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

  .form-row {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }

  .hero { padding: 70px 0 60px; }
  section { padding: 56px 0; }
}

@media (max-width: 760px) {
  nav.main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background-color: var(--navy-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  nav.main-nav.open {
    max-height: 480px;
  }

  nav.main-nav ul {
    flex-direction: column;
    padding: 8px 24px 20px;
  }

  nav.main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

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

  .nav-toggle {
    display: block;
  }

  .site-footer .footer-top {
    flex-direction: column;
  }
}
