/* ========================================
   TruePath Development LLC — styles.css
   ======================================== */

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

:root {
  --navy:   #0f1f3d;
  --blue:   #1a56db;
  --blue-l: #3b82f6;
  --purple: #5b21b6;
  --gray-50:#f9fafb;
  --gray-100:#f3f4f6;
  --gray-200:#e5e7eb;
  --gray-400:#9ca3af;
  --gray-600:#4b5563;
  --gray-800:#1f2937;
  --white:  #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(15,31,61,.08);
  --shadow-md: 0 4px 24px rgba(15,31,61,.12);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple); }

img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* ---------- Nav ---------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow); }

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

.nav-logo {
  display: flex; flex-direction: column; line-height: 1.15;
}
.nav-logo .brand { font-size: 1rem; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.nav-logo .sub   { font-size: .7rem; font-weight: 500; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }

.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--gray-800);
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-links .cta-btn {
  background: var(--blue); color: var(--white); padding: 8px 20px;
  border-radius: 6px; border-bottom: none !important;
}
.nav-links .cta-btn:hover { background: var(--navy); color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.mobile-menu a {
  padding: 14px 24px; font-weight: 500; color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100); font-size: .9rem;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
#hero {
  padding-top: 148px; padding-bottom: 100px;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 60%, #2d1b6b 100%);
  position: relative; overflow: hidden;
}
#hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 20px;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-l); background: rgba(59,130,246,.15);
  padding: 6px 14px; border-radius: 4px; border: 1px solid rgba(59,130,246,.25);
}
#hero h1 { color: var(--white); margin-bottom: 20px; }
#hero p   { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 600px; margin-bottom: 36px; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 7px;
  font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #1645c0; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #1645c0; color: var(--white); }

/* ---------- Trust Bar ---------- */
#trust-bar {
  padding: 20px 0; background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.trust-items {
  display: flex; flex-wrap: wrap; gap: 24px 40px;
  align-items: center; justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 500; color: var(--gray-600);
}
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ---------- About ---------- */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-text .eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px; display: block;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p  { color: var(--gray-600); margin-bottom: 16px; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 100%);
  border-radius: 16px; padding: 48px 36px; color: var(--white);
}
.about-stat { margin-bottom: 28px; }
.about-stat:last-child { margin-bottom: 0; }
.about-stat .num { font-size: 2.25rem; font-weight: 800; color: var(--blue-l); line-height: 1; margin-bottom: 4px; }
.about-stat .lbl { font-size: .875rem; color: rgba(255,255,255,.7); }

/* ---------- Services ---------- */
#services { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.section-header p { color: var(--gray-600); max-width: 540px; margin: 12px auto 0; font-size: 1.05rem; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(26,86,219,.12), rgba(91,33,182,.12));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--blue);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p  { color: var(--gray-600); font-size: .925rem; line-height: 1.65; }

/* ---------- Brand Band ---------- */
#brand { background: linear-gradient(135deg, var(--navy) 0%, #2d1b6b 100%); }
.brand-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.brand-text .label {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-l); margin-bottom: 12px; display: block;
}
.brand-text h2 { color: var(--white); margin-bottom: 16px; }
.brand-text p  { color: rgba(255,255,255,.75); margin-bottom: 28px; font-size: 1rem; line-height: 1.7; }
.brand-visual {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 36px;
}
.brand-feature {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px;
}
.brand-feature:last-child { margin-bottom: 0; }
.brand-feature .icon {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(59,130,246,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue-l);
}
.brand-feature .text .title { font-weight: 600; color: var(--white); font-size: .9rem; margin-bottom: 2px; }
.brand-feature .text .desc  { font-size: .825rem; color: rgba(255,255,255,.6); }

/* ---------- Industries ---------- */
#industries { background: var(--white); }
.industries-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px;
}
.industry-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 22px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.industry-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.industry-card .ind-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(26,86,219,.1), rgba(91,33,182,.1));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue);
}
.industry-card span { font-weight: 600; font-size: .9rem; color: var(--gray-800); }

/* ---------- Contact ---------- */
#contact { background: var(--gray-50); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p   { color: var(--gray-600); margin-bottom: 32px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px;
}
.contact-detail .ci-icon {
  width: 40px; height: 40px; border-radius: 8px; background: rgba(26,86,219,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue);
}
.contact-detail .ci-text .ci-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); margin-bottom: 2px; }
.contact-detail .ci-text p,
.contact-detail .ci-text a { font-weight: 500; color: var(--gray-800); font-size: .925rem; line-height: 1.5; }
.contact-detail .ci-text a:hover { color: var(--blue); }

.contact-form-wrap {
  background: var(--white); border-radius: 14px; padding: 40px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .825rem; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--gray-200);
  border-radius: 7px; font-size: .9rem; color: var(--gray-800);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.consent-block { margin-top: 6px; margin-bottom: 18px; }
.consent-item {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px;
}
.consent-item input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; accent-color: var(--blue); cursor: pointer;
}
.consent-item label { font-size: .775rem; color: var(--gray-600); line-height: 1.5; cursor: pointer; }

.submit-btn {
  width: 100%; padding: 14px; background: var(--blue); color: var(--white);
  border: none; border-radius: 7px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background var(--transition);
  font-family: inherit;
}
.submit-btn:hover { background: var(--navy); }

.form-success {
  display: none; text-align: center; padding: 24px;
  background: #ecfdf5; border: 1px solid #6ee7b7; border-radius: 10px; margin-top: 16px;
}
.form-success p { color: #065f46; font-weight: 600; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy); color: rgba(255,255,255,.65);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand .brand-name { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.footer-brand .brand-sub  { font-size: .7rem; color: var(--blue-l); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 300px; }
.footer-brand .brand-note { margin-top: 16px; font-size: .775rem; color: rgba(255,255,255,.4); }

.footer-col h4 { font-size: .85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

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

/* ---------- Inner Page Hero ---------- */
.page-hero {
  padding-top: 120px; padding-bottom: 56px;
  background: linear-gradient(135deg, var(--navy), #1e3a6e);
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.7); margin-top: 10px; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; color: var(--navy); }
.prose h3 { font-size: 1.1rem; margin: 28px 0 8px; color: var(--navy); }
.prose p  { color: var(--gray-600); margin-bottom: 16px; line-height: 1.75; }
.prose ul { margin: 12px 0 20px 20px; list-style: disc; }
.prose ul li { color: var(--gray-600); margin-bottom: 6px; line-height: 1.7; }
.prose a  { color: var(--blue); }
.prose a:hover { text-decoration: underline; }
.effective { color: var(--gray-400); font-size: .875rem; margin-bottom: 32px; display: block; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .brand-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-visual { order: -1; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-btns { flex-direction: column; }
  .btn { text-align: center; }
}
