/* ============================================
   Impact∞Leadership∞Strategy — Brand Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --maroon: #7E0500;
  --maroon-deep: #4A0300;
  --maroon-light: #A8362E;
  --navy: #1A1A1A;
  --navy-deep: #0D0D0D;
  --green: #7E0500;
  --green-light: #9C2A1F;
  --gold: #A8362E;
  --gold-light: #C2564B;
  --cream: #FAF8F3;
  --charcoal: #2B2B2B;
  --gray: #6B6B6B;
  --line: #E4DFD3;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.02em; }

p { margin: 0 0 1.2em; color: var(--charcoal); }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold); }

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

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

/* ---------- Infinity glyph ---------- */
.infinity {
  color: var(--gold);
  font-weight: 400;
  display: inline-block;
}

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201,161,74,0.25);
}

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

.brand-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-mark:hover { color: #fff; }
.brand-mark .infinity { color: var(--gold); font-size: 1.1em; margin: 0 2px; }

.logo-img {
  height: 52px;
  width: auto;
  background: #fff;
  padding: 4px 10px;
  border-radius: 4px;
}

nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: #fff;
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--maroon);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 3px;
  border-bottom: none !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light); color: #fff !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 65%, #000000 100%);
  color: #fff;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '∞';
  position: absolute;
  font-family: var(--font-display);
  font-size: 60vw;
  color: rgba(255,255,255,0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.hero .eyebrow {
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
  display: block;
}

.hero-logo {
  max-width: 360px;
  width: 100%;
  margin: 0 auto 36px;
  background: #fff;
  padding: 18px 26px;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .infinity { color: var(--gold); padding: 0 0.12em; }

.hero .lede {
  color: rgba(255,255,255,0.82);
  font-size: 1.25rem;
  font-style: italic;
  font-family: var(--font-display);
  max-width: 560px;
  margin: 0 auto 36px;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero .eyebrow {
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}
.page-hero p.lede {
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 14px auto 0;
  font-size: 1.08rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 13px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--green-light); color: #fff; transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-light); color: #fff; }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
section.alt { background: #fff; }
section.navy { background: var(--navy); color: #fff; }
section.navy h2, section.navy h3 { color: #fff; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head .eyebrow {
  color: var(--green);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.divider {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 22px auto;
  border: none;
}
.divider.left { margin: 22px 0; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 30px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  box-shadow: 0 14px 30px rgba(10,37,64,0.09);
  transform: translateY(-3px);
}
.card h3 { margin-bottom: 14px; }
.card .infinity { color: var(--gold); }
.card p { color: var(--gray); font-size: 0.97rem; }
.card .btn { margin-top: 12px; }

/* ---------- Journey flow (7 steps) ---------- */
.journey {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  position: relative;
}
.journey-step {
  flex: 1 1 130px;
  min-width: 130px;
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.journey-step .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.journey-step .label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--line);
}

/* ---------- Toggle / accordion (Services) ---------- */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-item button.acc-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion-item button.acc-toggle:hover { color: var(--green); }
.accordion-item .acc-icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}
.accordion-item.open .acc-icon { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content .inner { padding: 0 4px 24px; color: var(--gray); }
.accordion-content .inner a { color: var(--green); text-decoration: underline; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.testimonial p.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.testimonial .attribution {
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 600;
}
.testimonial .attribution a { color: var(--green); }

/* ---------- About story blocks ---------- */
.story-block { margin-bottom: 40px; }
.story-block h4 { color: var(--green); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem; margin-bottom: 14px;}
.story-block h4 .infinity { color: var(--gold); }

/* ---------- Detail page (sub-service) ---------- */
.detail-block { margin-bottom: 34px; }
.detail-block .tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  background: var(--navy);
  color: #fff;
  padding: 36px 32px;
  border-radius: 6px;
}
.contact-info h3 { color: #fff; }
.contact-info p { color: rgba(255,255,255,0.85); }
.contact-info a { color: var(--gold-light); }
.contact-info .infinity { color: var(--gold); }

.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-row .field { flex: 1; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: #fff;
}
input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
textarea { min-height: 130px; resize: vertical; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--green); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 30px;
}
footer.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
footer.site-footer h4 { color: #fff; font-size: 0.95rem; }
footer.site-footer a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
footer.site-footer a:hover { color: var(--gold-light); }
footer.site-footer .brand-mark { color: #fff; }
footer .foot-links { display: flex; flex-direction: column; gap: 8px; }
footer .bottom-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.45);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead-text { font-size: 1.12rem; color: var(--gray); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .journey { flex-direction: column; }
  .journey-step::after { display: none; }
  .journey-step { padding: 10px 0; }
}

@media (max-width: 760px) {
  nav.main-nav {
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    z-index: 99;
    border-bottom: 1px solid rgba(201,161,74,0.25);
  }
  nav.main-nav.open { transform: translateY(0); }
  .menu-toggle { display: block; }
  .nav-cta { margin-top: 8px; }
  .hero { padding: 70px 0 60px; }
  section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
