/* ═══════════════════════════════════════════════════════════════
   Summit by Northwest.Net — site.css
   Warm, cabin-not-SaaS landing page. Palette per visual direction.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Primary — forest + mountain */
  --primary:       #2D6A4F;
  --primary-dark:  #1B4332;
  --primary-light: #95D5B2;
  --primary-tint:  #E8F2EC;

  /* Accent — warm hearth */
  --accent:        #D4A843;
  --accent-dark:   #B8922E;
  --accent-tint:   #FDF3DA;

  /* Neutrals */
  --bg:            #FFF8F0;
  --bg-alt:        #F5EDE0;
  --text:          #1A1A2E;
  --text-muted:    #5A5A6E;
  --card:          #FFFFFF;
  --border:        #E8DDD0;
  --shadow:        0 8px 24px rgba(45, 106, 79, 0.10);
  --shadow-sm:     0 2px 8px rgba(45, 106, 79, 0.08);

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  --radius:        14px;
  --radius-sm:     8px;
  --max-w:         1240px;
  --section:       96px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESET + BASE                                                    */
/* ═══════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--text); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); margin-bottom: .6em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .4em; }
h4 { font-size: 1rem; margin-bottom: .6em; color: var(--text); font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: .8rem; }

em { font-style: italic; color: var(--primary); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-header .section-sub { font-size: 1.1rem; color: var(--text-muted); margin-top: 12px; }

/* ═══════════════════════════════════════════════════════════════ */
/* BUTTONS                                                          */
/* ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); color: var(--text); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════════ */
/* NAV                                                              */
/* ═══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.nav-mark { color: var(--primary); font-size: 1.2rem; display: inline-block; transform: scale(1.2); }
.nav-brand strong { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; }
.nav-brand .by { font-size: .82rem; color: var(--text-muted); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--accent);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  color: var(--text) !important;
}
.nav-cta:hover { background: var(--accent-dark); color: var(--text) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links a:last-child { border-bottom: none; margin-top: 8px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO                                                             */
/* ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27,67,50,0) 0%, rgba(27,67,50,0.15) 40%, rgba(27,67,50,0.70) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 120px;
  width: 100%;
  color: #FFF8F0;
}
.hero-content > * { max-width: 560px; margin-left: auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-title { color: #FFF8F0; margin-bottom: 20px; }
.hero-title em { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 1.25rem; color: rgba(255, 248, 240, 0.92); margin-bottom: 36px; line-height: 1.5; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px; height: 36px;
  border: 2px solid rgba(255, 248, 240, 0.6);
  border-radius: 12px;
}
.hero-scroll-cue span {
  display: block;
  width: 3px; height: 8px;
  background: rgba(255, 248, 240, 0.8);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

@media (max-width: 900px) {
  .hero-content > * { margin-left: 0; max-width: 100%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(27,67,50,0) 0%, rgba(27,67,50,0.60) 50%, rgba(27,67,50,0.85) 100%); }
  .hero-img img { object-position: center; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* TRUST BAR                                                        */
/* ═══════════════════════════════════════════════════════════════ */

.trust {
  background: var(--bg-alt);
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .92rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-items > div { display: flex; align-items: center; gap: 8px; }
.trust-icon { font-size: 1.1rem; }

/* ═══════════════════════════════════════════════════════════════ */
/* STORY                                                            */
/* ═══════════════════════════════════════════════════════════════ */

.story { padding: var(--section) 0; }
.story-header { text-align: center; margin-bottom: 72px; max-width: 760px; margin-left: auto; margin-right: auto; }

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.story-block-alt .story-text { order: 1; }
.story-block-alt .story-image { order: 2; }

.story-text p { font-size: 1.15rem; color: var(--text); margin-bottom: 18px; line-height: 1.65; }
.story-text p:last-child { margin-bottom: 0; }
.story-image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .story-block, .story-block-alt {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 48px;
  }
  .story-block-alt .story-text, .story-block-alt .story-image { order: unset; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* CAPABILITIES                                                     */
/* ═══════════════════════════════════════════════════════════════ */

.capabilities {
  background: var(--bg-alt);
  padding: var(--section) 0;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cap-card {
  background: var(--card);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cap-icon { font-size: 2rem; margin-bottom: 16px; }
.cap-card h3 { margin-bottom: 10px; }
.cap-card p { color: var(--text-muted); font-size: .98rem; }

/* ═══════════════════════════════════════════════════════════════ */
/* DEMO / CHAT                                                      */
/* ═══════════════════════════════════════════════════════════════ */

.demo { padding: var(--section) 0; }
.demo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}
.demo-image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.demo-chat {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
.chat-header {
  padding: 16px 20px;
  background: var(--primary);
  color: #FFF8F0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: #95D5B2; box-shadow: 0 0 0 3px rgba(149,213,178,.3); }
.chat-title { font-weight: 600; font-size: .95rem; }
.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 360px;
}
.chat-msg { display: flex; }
.chat-msg-bot { justify-content: flex-start; }
.chat-msg-user { justify-content: flex-end; }
.chat-bubble {
  padding: 10px 16px;
  border-radius: 16px;
  max-width: 78%;
  font-size: .95rem;
  line-height: 1.5;
}
.chat-msg-bot .chat-bubble {
  background: var(--bg-alt);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg-user .chat-bubble {
  background: var(--primary);
  color: #FFF8F0;
  border-bottom-right-radius: 4px;
}
.chat-input {
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  gap: 8px;
}
.chat-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--bg);
  color: var(--text);
}
.chat-input input:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.chat-input button {
  background: var(--accent);
  color: var(--text);
  border: none;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.chat-input button:hover { background: var(--accent-dark); }
.chat-note {
  padding: 8px 16px 14px;
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .demo-split { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* INDUSTRIES                                                       */
/* ═══════════════════════════════════════════════════════════════ */

.industries {
  background: var(--bg-alt);
  padding: var(--section) 0;
}
.ind-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.ind-tab {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  color: var(--text);
  transition: all .15s ease;
}
.ind-tab:hover { border-color: var(--primary-light); }
.ind-tab.active {
  background: var(--primary);
  color: #FFF8F0;
  border-color: var(--primary);
}

.ind-panel { display: none; }
.ind-panel.active { display: grid; }
.ind-panel {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.ind-image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ind-content h3 { margin-bottom: 16px; color: var(--primary-dark); }
.ind-content > p { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 20px; }
.ind-list { list-style: none; padding: 0; }
.ind-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.ind-list li:last-child { border-bottom: none; }
.ind-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 10px;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .ind-panel.active { grid-template-columns: 1fr; gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* HOW IT WORKS                                                     */
/* ═══════════════════════════════════════════════════════════════ */

.how { padding: var(--section) 0; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.how-step {
  text-align: center;
  padding: 8px;
}
.how-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.how-step h3 { margin-bottom: 10px; }
.how-step p { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════ */
/* CTA / CONTACT                                                    */
/* ═══════════════════════════════════════════════════════════════ */

.cta {
  background: var(--primary-dark);
  color: #FFF8F0;
  padding: var(--section) 0;
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-form-wrap .eyebrow { color: var(--accent); }
.cta-form-wrap h2 { color: #FFF8F0; }
.cta-form-wrap > p { color: rgba(255, 248, 240, 0.85); margin-bottom: 24px; font-size: 1.05rem; }

.cta-form { display: flex; flex-direction: column; gap: 14px; }
.cta-form label { display: flex; flex-direction: column; gap: 6px; }
.cta-form label span { font-size: .82rem; font-weight: 600; color: rgba(255,248,240,.82); }
.cta-form input, .cta-form select, .cta-form textarea {
  padding: 12px 14px;
  border: 1px solid rgba(255,248,240,.2);
  background: rgba(255,248,240,.06);
  color: #FFF8F0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,248,240,.4); }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: rgba(255,248,240,.1);
}
.cta-form select option { color: var(--text); }
.cta-form textarea { resize: vertical; min-height: 80px; }
.cta-fine { font-size: .82rem; color: rgba(255,248,240,.6); text-align: center; margin-top: 4px; }

@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* FOOTER                                                           */
/* ═══════════════════════════════════════════════════════════════ */

.foot {
  background: #0B1A12;
  color: rgba(255,248,240,.7);
  padding: 56px 0 28px;
  font-size: .92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,248,240,.1);
}
.foot-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); color: #FFF8F0; font-size: 1.3rem; margin-bottom: 12px; }
.foot-logo .nav-mark { color: var(--primary-light); }
.foot-col p { margin-bottom: 8px; }
.foot-attrib { font-size: .85rem; color: rgba(255,248,240,.5); }
.foot-attrib a { color: rgba(255,248,240,.85); }
.foot-col h4 { color: #FFF8F0; margin-bottom: 14px; }
.foot-col a { display: block; color: rgba(255,248,240,.65); padding: 4px 0; font-size: .9rem; }
.foot-col a:hover { color: #FFF8F0; }

.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: rgba(255,248,240,.45);
}
.secret-icon {
  color: rgba(255,248,240,.25);
  opacity: .6;
  transition: opacity .3s ease, color .3s ease;
  display: inline-flex;
  align-items: center;
}
.secret-icon:hover { color: var(--primary-light); opacity: 1; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* FLOATING CHAT WIDGET                                             */
/* ═══════════════════════════════════════════════════════════════ */

.chat-widget-btn {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF8F0;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(27,67,50,.35);
  z-index: 99;
  transition: transform .15s ease, background .15s ease;
}
.chat-widget-btn:hover { transform: scale(1.05); background: var(--primary-dark); }

/* ═══════════════════════════════════════════════════════════════ */
/* SCROLL ANIMATIONS (fade-in on scroll)                            */
/* ═══════════════════════════════════════════════════════════════ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
  .hero-scroll-cue span { animation: none; }
}
