/* Integrative Solutions Consulting LLC, production site (promoted from design concept 1,
   hero visual from concept 2, brand logo from client Picture1.jpg) */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lato-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/lato-900.woff2') format('woff2');
}

:root {
  --ink: #21242c;
  --ink-soft: #545a66;
  --blue: #1865f2;
  --blue-dark: #1354d1;
  --navy: #0b2149;
  --teal-text: #067a6b;
  --gold-text: #8a5f00;
  --error: #c0392b;
  --teal: #01a995;
  --gold: #ffb100;
  --coral: #fa5f5f;
  --purple: #9059ff;
  --bg: #ffffff;
  --bg-gray: #f7f8fa;
  --line: #e6e8eb;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Anchor jumps must clear the sticky header */
[id] { scroll-margin-top: 90px; }

/* Skip link: visually hidden until keyboard focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: auto; height: 46px; flex: none; display: block; }
.brand-name {
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.brand-sub {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.63rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-top: 2px;
}
.main-nav { display: flex; gap: 0; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.91rem;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.main-nav a:hover { background: #eef4fe; color: var(--blue); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.91rem; white-space: nowrap; }
.header-phone:hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4.5px 0; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 6px;
  padding: 11px 20px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: #eef4fe; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #e2e9f5; }

/* Hero */
.hero { padding: 64px 0 24px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 14px;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.hero .hl { color: var(--blue); }
.lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 26px; }
.hero-label { font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 10px; }
.hero-audience { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual: success-plan mockup cards (ported from concept 2, recolored) */
.hero-visual { position: relative; min-height: 360px; max-width: 440px; margin: 0 auto; width: 100%; }
.mock-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(11, 33, 73, 0.16);
  padding: 22px;
}
.mock-main { position: relative; z-index: 1; max-width: 400px; margin: 0 auto; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.mock-title { font-weight: 900; font-size: 0.95rem; }
.mock-pill {
  background: #d9f4f0;
  color: #056152;
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.mock-row { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.mock-label { flex: none; width: 148px; font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.mock-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--bg-gray); overflow: hidden; }
.mock-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.mock-val { flex: none; font-size: 0.78rem; font-weight: 700; color: var(--blue); min-width: 34px; text-align: right; }
.mock-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.mock-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mock-float { position: absolute; padding: 14px 16px; font-size: 0.8rem; }
.mock-goal {
  top: -26px;
  right: -6px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 240px;
  z-index: 2;
}
.mock-goal strong { display: block; font-size: 0.85rem; }
.mock-goal span { color: var(--ink-soft); font-size: 0.75rem; }
.mock-check {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #056152;
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mock-team { bottom: -30px; left: 2px; z-index: 2; }
.mock-team strong { font-size: 0.82rem; }
.mock-team-row { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ink-soft); font-size: 0.75rem; }
.mock-team-row .mock-avatar { width: 26px; height: 26px; }
.a1 { background: var(--blue); }
.a2 { background: var(--teal-text); margin-left: -12px; }
.a3 { background: var(--gold-text); margin-left: -12px; margin-right: 6px; }

/* Trust bar */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar-inner {
  display: flex;
  justify-content: center;
  gap: 12px 34px;
  flex-wrap: wrap;
  padding: 15px 24px;
}
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-teal { background: var(--teal); }
.dot-blue { background: var(--blue); }
.dot-gold { background: var(--gold); }
.dot-purple { background: var(--purple); }
.dot-coral { background: var(--coral); }

/* Sections */
.section { padding: 72px 0; }
.section-gray { background: var(--bg-gray); }
.section-title {
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.section-sub { color: var(--ink-soft); max-width: 44em; margin-bottom: 40px; font-size: 1.05rem; }

/* Service columns */
.svc-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 18px;
  scroll-margin-top: 90px;
}
.svc-head {
  font-size: 1.05rem;
  font-weight: 900;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 3px solid;
}
.svc-head-teal { color: var(--teal-text); border-color: var(--teal); }
.svc-head-blue { color: var(--blue); border-color: var(--blue); }
.svc-head-gold { color: var(--gold-text); border-color: var(--gold); }
.svc-col ul { list-style: none; }
.svc-col li {
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  position: relative;
}
.svc-col li:last-child { border-bottom: 0; }
.svc-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.18;
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { font-size: 1.05rem; font-weight: 900; margin: 16px 0 8px; }
.card p { font-size: 0.94rem; color: var(--ink-soft); }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 26px; height: 26px; }
.icon-teal { background: #d9f4f0; color: var(--teal); }
.icon-blue { background: #e3edfe; color: var(--blue); }
.icon-purple { background: #ece4ff; color: var(--purple); }
.icon-coral { background: #fee5e5; color: var(--coral); }

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.founder-photo { text-align: center; }
.founder-portrait {
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 auto 18px;
  box-shadow: 0 12px 32px rgba(11, 33, 73, 0.16);
}
.team-row { margin-top: 72px; }
.founder-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 5px 16px;
}
.founder-cred { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 18px; }
.founder-quote {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--blue);
  border-left: 5px solid var(--gold);
  padding-left: 18px;
  margin: 0 0 18px;
}
.founder-copy p { margin-bottom: 14px; color: var(--ink-soft); }
.founder-copy .section-title { margin-bottom: 4px; }

/* Navy band */
.band-navy { background: var(--navy); color: #fff; padding: 56px 0; }
.band-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}
.band-navy h2 { font-weight: 900; font-size: 1.6rem; margin-bottom: 10px; }
.band-navy p { color: #c4d1e8; max-width: 40em; margin-bottom: 22px; }
.band-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.step-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.steps h3 { font-size: 0.99rem; font-weight: 900; margin-bottom: 6px; }
.steps p { font-size: 0.88rem; color: var(--ink-soft); }

/* Village banner */
.village { background: #fff7e4; padding: 72px 0; }
.village-inner {
  max-width: 920px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}
.village-photo {
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(120, 90, 20, 0.22);
}
.village-mark { width: 58px; height: 58px; margin-bottom: 16px; }
.village h2 { font-weight: 900; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.village p { color: var(--ink-soft); margin-bottom: 26px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-grid > * { min-width: 0; }
.contact-list { list-style: none; margin-bottom: 20px; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-list strong { width: 70px; flex: none; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.contact-list a, .contact-list li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-note { font-size: 0.88rem; color: var(--ink-soft); }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.form-row input, .form-row textarea {
  width: 100%;
  border: 1.5px solid #7c8290;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-row input.invalid, .form-row textarea.invalid { border-color: var(--error); }
.field-err { color: var(--error); font-size: 0.85rem; font-weight: 700; margin-top: 5px; }
.form-error {
  background: #fee5e5;
  color: #a83232;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.form-success { text-align: center; padding: 28px 8px; }
.form-success h3 { font-weight: 900; font-size: 1.25rem; color: var(--teal-text); margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); }
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ */
.faq-wrap { max-width: 780px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
  padding: 16px 20px;
  list-style: none;
  position: relative;
  padding-right: 46px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.96rem; }

/* Footer */
.site-footer { background: var(--navy); color: #c4d1e8; font-size: 0.93rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 52px 24px 36px;
}
.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.footer-logo {
  display: block;
  width: 106px;
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}
.footer-name { color: #fff; font-weight: 900; font-size: 1.05rem; }
.footer-tag { color: var(--gold); font-weight: 700; margin: 4px 0 12px; }
.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.footer-col a, .footer-col span { display: block; color: #c4d1e8; text-decoration: none; padding: 7px 0; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
}
.footer-legal a { color: #c4d1e8; }
.footer-legal a:hover { color: #fff; }

/* Legal pages */
.legal-main { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-main h1 { font-weight: 900; font-size: 2rem; margin-bottom: 6px; }
.legal-updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 34px; }
.legal-main h2 { font-weight: 900; font-size: 1.15rem; margin: 30px 0 10px; }
.legal-main h3 { font-weight: 900; font-size: 1rem; margin: 22px 0 8px; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 10px; }
.legal-main ul { padding-left: 22px; }
.back-link { display: inline-block; margin-bottom: 28px; font-weight: 700; text-decoration: none; }

/* Responsive */
@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-columns { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-row { margin-top: 56px; }
  .band-inner { grid-template-columns: 1fr; gap: 32px; }
  .band-photo { max-width: 480px; margin: 0 auto; }
  .village-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 20px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 8px; font-size: 1rem; }
  .nav-toggle { display: block; margin-left: auto; padding: 12px; }
  .header-actions { margin-left: 0; }
  .header-phone { display: none; }
}
@media (max-width: 640px) {
  .header-actions { display: none; }
  .brand-mark { height: 40px; }
}
@media (max-width: 560px) {
  .card-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-visual {
    min-height: 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .mock-card { box-shadow: 0 6px 18px rgba(11, 33, 73, 0.10); }
  .mock-main { max-width: none; margin: 0; }
  .mock-goal { position: static; margin: 0; max-width: none; }
  .mock-team { position: static; margin: 0; }
  .contact-list li { flex-direction: column; gap: 4px; align-items: stretch; }
  .contact-list strong { width: auto; }
  .contact-form { padding: 22px 18px; }
}
