/* ═══════════════════════════════════════════
   SUMMIT DEBT SOLUTIONS — SHARED STYLES
   summit_site/css/styles.css
═══════════════════════════════════════════ */

/* TOKENS */
:root {
  --navy:     #1B2A4A;
  --navy-d:   #111E35;
  --navy-l:   #243659;
  --ice:      #E8EDF5;
  --steel:    #C8D8E8;
  --mid:      #7A9BBB;
  --accent:   #4A90D9;
  --accent-d: #2E6FAF;
  --teal:     #1D9E75;
  --amber:    #E8951A;
  --red:      #E24B4A;
  --text:     #1A2332;
  --text-s:   #4A5568;
  --text-xs:  #718096;
  --border:   #D8E4F0;
  --white:    #FFFFFF;
  --bg:       #F7F9FC;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --shadow-sm: 0 1px 4px rgba(27,42,74,.08);
  --shadow-md: 0 4px 18px rgba(27,42,74,.12);
  --shadow-lg: 0 12px 40px rgba(27,42,74,.16);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 { font-family: 'Manrope', sans-serif; line-height: 1.2; color: var(--navy); }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-md);
  font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; border: none; transition: all .18s; text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-d); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--ice); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn--ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--white); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--full { width: 100%; justify-content: center; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(17,30,53,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100px; max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.nav__logo { display: flex; align-items: center; line-height: 1; }
.nav__logo img { height: 84px; width: auto; filter: brightness(0) invert(1); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--steel); transition: all .15s;
}
.nav__links a:hover, .nav__links a.active { color: var(--white); background: rgba(255,255,255,.08); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; color: var(--white); font-size: 24px; }

/* DROPDOWN */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--steel);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 5px; transition: all .15s; font-family: inherit;
}
.nav__dropdown-toggle:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav__dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-d); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); min-width: 200px;
  box-shadow: var(--shadow-lg); overflow: hidden; z-index: 200;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block; padding: 11px 16px;
  font-size: 13.5px; color: var(--steel); border-bottom: 1px solid rgba(255,255,255,.05);
  transition: all .12s;
}
.nav__dropdown-menu a:last-child { border-bottom: none; }
.nav__dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,.06); padding-left: 20px; }

/* MOBILE MENU */
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--navy-d); border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 24px 20px;
}
.mobile-menu a {
  display: block; padding: 13px 0; font-size: 15px; font-weight: 500;
  color: var(--steel); border-bottom: 1px solid rgba(255,255,255,.05);
}
.mobile-menu a:last-child { border: none; }
.mobile-menu.open { display: flex; }

/* SECTIONS */
.section { padding: 88px 0; }
.section--alt  { background: var(--bg); }
.section--navy { background: var(--navy); }
.section--dark { background: var(--navy-d); }
.section__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section__eyebrow--light { color: var(--steel); }
.section__title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; margin-bottom: 16px; }
.section__title--light { color: var(--white); }
.section__sub { font-size: 17px; color: var(--text-s); line-height: 1.7; max-width: 620px; }
.section__sub--light { color: var(--steel); }
.section__header { margin-bottom: 52px; }
.section__header--center { text-align: center; }
.section__header--center .section__sub { margin: 0 auto; }

/* TRUST BAR */
.trust-bar { background: var(--ice); border-bottom: 1px solid var(--border); }
.trust-bar__inner {
  max-width: 1100px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.trust-bar__item { display: flex; align-items: center; gap: 9px; }
.trust-bar__item i { color: var(--teal); font-size: 19px; }
.trust-bar__item span { font-size: 13.5px; font-weight: 500; color: var(--text-s); }

/* CARDS */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: all .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--ice); display: flex; align-items: center; justify-content: center;
  font-size: 21px; color: var(--accent); margin-bottom: 18px;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.card p  { font-size: 14px; color: var(--text-s); line-height: 1.65; }
.card__tag {
  display: inline-block; margin-top: 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent); background: var(--ice); padding: 4px 10px; border-radius: 20px;
}

/* CALLOUT / HIGHLIGHT BOX */
.callout {
  border-left: 3px solid var(--navy); background: var(--ice);
  padding: 16px 20px; border-radius: 0 var(--r-md) var(--r-md) 0;
}
.callout--amber { border-color: var(--amber); background: #FEF3E2; }
.callout--teal  { border-color: var(--teal);  background: #E8F8F2; }
.callout--red   { border-color: var(--red);   background: #FDEAEA; }
.callout__title { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.callout p { font-size: 14px; color: var(--text-s); line-height: 1.65; }

/* STEP STRIP */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps::before {
  content: ''; position: absolute;
  top: 27px; left: calc(16.5% + 27px); right: calc(16.5% + 27px);
  height: 1px; background: linear-gradient(90deg, var(--border), var(--steel), var(--border));
}
.step { text-align: center; padding: 0 24px; }
.step__num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--white);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p  { font-size: 14px; color: var(--text-s); line-height: 1.65; }

/* COMPARISON TABLE */
.compare-wrap { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-xs); background: var(--bg); }
.compare td:first-child { font-weight: 500; }
.compare td:not(:first-child) { text-align: center; color: var(--text-s); }
.compare th:not(:first-child) { text-align: center; }
.compare tr:last-child td { border-bottom: none; }
.compare tr:hover td { background: var(--bg); }
.check { color: var(--teal); font-size: 17px; vertical-align: middle; }
.cross { color: var(--red);  font-size: 17px; vertical-align: middle; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 26px 22px;
}
.testimonial__stars { color: #F6C145; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial__text  { font-size: 14px; color: var(--steel); line-height: 1.7; margin-bottom: 18px; }
.testimonial__author { display: flex; align-items: center; gap: 11px; }
.testimonial__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-l); display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 700; color: var(--ice);
  flex-shrink: 0;
}
.testimonial__name   { font-size: 13.5px; font-weight: 600; color: var(--white); }
.testimonial__source { font-size: 12px; color: var(--mid); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 22px; cursor: pointer;
  transition: border-color .15s;
}
.faq-item:hover { border-color: var(--steel); }
.faq-item.open  { border-color: var(--accent); }
.faq-item__q {
  font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item__q i { color: var(--mid); font-size: 18px; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-item__q i { transform: rotate(45deg); color: var(--accent); }
.faq-item__a { font-size: 14px; color: var(--text-s); line-height: 1.7; margin-top: 12px; display: none; }
.faq-item.open .faq-item__a { display: block; }

/* CTA BAND */
.cta-band { background: linear-gradient(135deg, var(--accent-d), var(--navy)); padding: 72px 0; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-band p  { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.cta-band__actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 16px; }

/* FOOTER */
.footer { background: var(--navy-d); color: var(--mid); }
.footer__top {
  max-width: 1100px; margin: 0 auto; padding: 60px 24px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer__logo img { height: 162px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 16px; }
.footer__tagline { font-size: 13.5px; color: var(--mid); line-height: 1.65; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center;
  color: var(--mid); font-size: 16px; transition: all .15s;
}
.footer__social a:hover { background: var(--accent); color: var(--white); }
.footer__col h4 { font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin-bottom: 16px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col li a { font-size: 13.5px; color: var(--mid); transition: color .15s; }
.footer__col li a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 20px 24px;
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__legal { font-size: 12px; color: var(--text-xs); line-height: 1.6; max-width: 700px; }
.footer__copy  { font-size: 12px; color: var(--text-xs); white-space: nowrap; }

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy-d) 0%, var(--navy) 100%);
  padding: 154px 0 72px; text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.page-hero p  { font-size: 17px; color: var(--steel); max-width: 580px; margin: 0 auto; }
.page-hero__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* TIER CARDS */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.tier-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 30px 26px; position: relative; transition: all .2s;
}
.tier-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(74,144,217,.1), var(--shadow-lg);
  transform: scale(1.03);
}
.tier-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}
.tier-name     { font-size: 13px; font-weight: 700; color: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.tier-price    { margin: 10px 0 4px; }
.tier-amount   { font-family: 'Manrope', sans-serif; font-size: 38px; font-weight: 800; color: var(--navy); }
.tier-term     { font-size: 14px; color: var(--text-xs); }
.tier-install  { font-size: 12.5px; color: var(--text-xs); margin-bottom: 18px; }
.tier-desc     { font-size: 13.5px; color: var(--text-s); line-height: 1.6; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.tier-features { list-style: none; margin-bottom: 26px; }
.tier-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; margin-bottom: 10px; line-height: 1.5; }
.tier-features li i.ti-check { color: var(--teal); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.tier-features li i.ti-minus { color: var(--text-xs); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.tier-features li.muted { color: var(--text-xs); }

/* RESOURCE CARDS */
.resource-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 24px; transition: all .2s; display: flex; flex-direction: column;
}
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--steel); }
.resource-card__type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: 10px; }
.resource-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.resource-card p  { font-size: 13.5px; color: var(--text-s); line-height: 1.65; flex: 1; }
.resource-card__link { margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 5px; }
.resource-card__link:hover { gap: 8px; }

/* ROADMAP */
.roadmap-track { display: flex; gap: 0; overflow-x: auto; }
.roadmap-step  { flex: 1; min-width: 110px; text-align: center; padding: 18px 10px; position: relative; }
.roadmap-step::after { content: '→'; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--mid); font-size: 16px; z-index: 1; }
.roadmap-step:last-child::after { display: none; }
.roadmap-num   { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 800; margin: 0 auto 10px; color: var(--white); }
.roadmap-label { font-size: 11.5px; font-weight: 600; color: var(--white); line-height: 1.4; }
.roadmap-score { font-size: 10.5px; color: var(--mid); margin-top: 5px; }

/* CONTACT FORM */
.contact-form { background: var(--white); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text);
  background: var(--white); transition: border-color .15s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74,144,217,.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* BADGE PILLS */
.pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; }
.pill--teal  { background: rgba(29,158,117,.1);  color: var(--teal); }
.pill--blue  { background: rgba(74,144,217,.1);  color: var(--accent); }
.pill--amber { background: rgba(232,149,26,.1);  color: var(--amber); }
.pill--red   { background: rgba(226,75,74,.1);   color: var(--red); }

/* UTILITIES */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.highlight       { color: var(--accent); }
.highlight-teal  { color: var(--teal); }
.text-s { font-size: 14px; color: var(--text-s); }

/* SCROLL REVEAL */
.sr { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.sr.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .tiers-grid { grid-template-columns: 1fr; }
  .tier-card--featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .footer__top { grid-template-columns: 1fr; }
  .trust-bar__inner { gap: 18px; }
}
