/* ============================================================
   EnQuote — Section styles
   ============================================================ */

/* ---------------- NAV ---------------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); border-bottom: 1px solid transparent; }
.nav-scrolled { background: oklch(0.987 0.002 80 / 0.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.nav-logo { height: 30px; width: auto; display: block; }
.footer-logo { height: 34px; width: auto; display: block; }
.nav-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: oklch(0.28 0.01 75); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; box-shadow: 0 2px 8px oklch(0.78 0.142 73 / 0.35); }
.nav-links { display: flex; gap: 0.4rem; margin-left: auto; margin-right: 1.4rem; align-items: center; }
.nav-link { display: inline-flex; align-items: center; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; padding: 0.5rem 0.7rem; border-radius: 8px; }
.nav-link:hover { color: var(--ink); }
.nav-item { position: relative; }
.nav-item.has-sub:hover .nav-link { color: var(--ink); }
.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 34px oklch(0.3 0.01 75 / 0.14); padding: 0.5rem; min-width: 268px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); z-index: 60;
}
.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 12px; }
.nav-item.has-sub:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-item { display: flex; flex-direction: column; gap: 1px; padding: 0.6rem 0.7rem; border-radius: 9px; transition: background 0.15s; }
.nav-dd-item:hover { background: var(--paper-2); }
.nav-dd-item b { font-size: 0.92rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.nav-dd-item span { font-size: 0.8rem; color: var(--ink-faint); }
.nav-mobile-sub { padding-left: 1rem !important; font-weight: 500 !important; color: var(--ink-soft) !important; }
.nav-cta { display: flex; align-items: center; gap: 0.7rem; }
.nav-burger { display: none; background: none; border: none; color: var(--ink); padding: 4px; }

.nav-mobile { display: none; flex-direction: column; gap: 0.4rem; padding: 0.5rem var(--gutter) 1.4rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav-mobile a:not(.btn) { padding: 0.7rem 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-mobile .btn { margin-top: 0.5rem; justify-content: center; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-wa { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .nav-mobile { display: flex; }
}

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.02rem; }

/* ---------------- HERO (light) ---------------- */
.hero { position: relative; padding: clamp(2rem, 3.5vw, 3.4rem) 0 clamp(3.5rem, 6vw, 6rem); overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 8%, var(--brand-soft), transparent 70%),
    radial-gradient(45% 40% at 8% 30%, var(--accent-soft), transparent 70%); opacity: 0.7; }
.hero .wrap { position: relative; z-index: 1; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong);
  padding: 0.5rem 0.95rem; border-radius: 999px; box-shadow: 0 2px 10px oklch(0.3 0.02 75 / 0.04); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 9px; background: var(--accent); box-shadow: 0 0 0 4px oklch(0.78 0.142 73 / 0.2); }
.hero-title { font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.035em; margin: 1.4rem 0 1.3rem; line-height: 1.0; }
.hero-sub { font-size: var(--step-1); color: var(--ink-soft); max-width: 40ch; line-height: 1.45; }
.hero-centered .hero-title { font-size: clamp(2.8rem, 1.9rem + 3.6vw, 4.6rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 1.6rem; }
.hero-trust { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); flex-wrap: wrap; }
.hero-trust b { color: var(--ink); }
.hero-stars { color: var(--accent); letter-spacing: 0.08em; font-size: 0.95rem; }

.hero-copy.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy.center .hero-sub { max-width: 52ch; }
.hero-copy.center .hero-actions, .hero-copy.center .hero-trust { justify-content: center; }

.hero-visual { filter: drop-shadow(0 30px 60px oklch(0.3 0.03 75 / 0.16)); }
.hero-split-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-visual-wide { max-width: 1000px; margin: 3rem auto 0; }
.hero-centered { text-align: center; }

.hero-offset-grid { display: grid; grid-template-columns: 0.95fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-visual-bleed { transform: perspective(1800px) rotateY(-9deg) rotateX(3deg) scale(1.04); transform-origin: left center; }

@media (max-width: 900px) {
  .hero-split-grid, .hero-offset-grid { grid-template-columns: 1fr; }
  .hero-visual-bleed { transform: none; margin-top: 1rem; }
  .hero-visual { margin-top: 1rem; }
}

/* ---------------- SOCIAL PROOF ---------------- */
.proof { padding: 2.4rem 0 1rem; border-top: 1px solid var(--line); }
.proof-lead { text-align: center; color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.6rem; }
.proof-lead b { color: var(--ink); font-weight: 700; }
.proof-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.proof-track { display: flex; align-items: center; gap: 3rem; width: max-content; animation: proof-scroll 44s linear infinite; }
.proof:hover .proof-track { animation-play-state: paused; }
.proof-logo-img { height: 138px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s, opacity 0.25s; }
.proof-logo-img:hover { filter: none; opacity: 1; }
@keyframes proof-scroll { to { transform: translateX(-50%); } }

/* ---------------- INDUSTRIES ---------------- */
.industries { padding-block: clamp(3rem, 5vw, 5rem); }
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; margin-top: 2.4rem; }
.ind-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.1rem; text-align: center; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.ind-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px oklch(0.3 0.02 75 / 0.1); }
.ind-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto 0.8rem; }
.ind-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.ind-card p { color: var(--ink-faint); font-size: 0.85rem; margin-top: 0.25rem; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- SECTION SHELL ---------------- */
.sec { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.sec-head { max-width: 40ch; margin-bottom: 2.6rem; }
.sec-title { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; margin-top: 0.8rem; }
.sec-lead { color: var(--ink-soft); font-size: var(--step-1); margin-top: 1rem; max-width: 48ch; }

/* ---------------- PILLARS ---------------- */
.pillars { background: var(--paper-2); border-block: 1px solid var(--line); }
.pillar-tabs { display: flex; gap: 0.6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.pillar-tab { display: flex; align-items: center; gap: 0.6rem; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 0.7rem 1.15rem; font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; color: var(--ink-soft); transition: all 0.2s var(--ease); }
.pillar-tab:hover { color: var(--ink); border-color: var(--ink-faint); }
.pillar-tab.on { background: var(--brand); color: var(--brand-on); border-color: transparent; box-shadow: 0 6px 18px oklch(0.2 0.01 75 / 0.18); }
.pt-ic { display: grid; place-items: center; }

.pillar-stage { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.6rem, 4vw, 3.4rem); padding: clamp(1.6rem, 3vw, 2.8rem); align-items: center; }
.pillar-h { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.03em; }
.pillar-body { color: var(--ink-soft); margin-top: 0.9rem; font-size: 1.05rem; }
.pillar-points { list-style: none; padding: 0; margin: 1.4rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.pillar-points li { display: flex; align-items: center; gap: 0.65rem; font-weight: 500; }
.pp-check { width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; }
.pillar-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--accent-deep); }
.pillar-link:hover { gap: 0.6rem; color: var(--accent); }
.pillar-demo { min-width: 0; }
@media (max-width: 900px) { .pillar-stage { grid-template-columns: 1fr; } }

/* ---------------- CAPABILITIES ---------------- */
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cap-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px oklch(0.2 0.01 75 / 0.1); border-color: var(--line-strong); }
.cap-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 1rem; }
.cap-t { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.cap-d { color: var(--ink-soft); margin-top: 0.5rem; font-size: 0.98rem; }
@media (max-width: 880px) { .caps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .caps-grid { grid-template-columns: 1fr; } }

/* ---------------- INTEGRATION ---------------- */
.integ-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3.4rem); }
.integ-h { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.03em; margin-top: 0.8rem; }
.integ-body { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }
.integ-stats { display: flex; gap: 2rem; margin-top: 1.8rem; }
.integ-stats b { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--accent-deep); }
.integ-stats span { font-size: 0.85rem; color: var(--ink-faint); font-family: var(--font-mono); }
.integ-visual { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.integ-flow { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.4rem; }
.integ-node { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; padding: 0.7rem 1.1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); }
.integ-node.enq { padding: 0.8rem 1rem; }
.integ-logo { height: 26px; width: auto; display: block; }
.integ-targets { display: flex; flex-direction: column; gap: 0.6rem; }
.integ-node .nmark { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); color: oklch(0.28 0.01 75); display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; }
.integ-wire { flex: 0 1 80px; min-width: 36px; height: 2px; background: var(--line-strong); position: relative; border-radius: 2px; }
.integ-wire .pulse { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 9px; background: var(--brand); animation: wire 2.2s var(--ease) infinite; }
@keyframes wire { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.integ-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.integ-row { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.9rem; font-weight: 500; }
@media (max-width: 860px) { .integ-card { grid-template-columns: 1fr; } }

/* ---------------- FINAL CTA ---------------- */
.final-card { text-align: center; background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: var(--brand-on); border-radius: var(--radius-xl); padding: clamp(2.6rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem); position: relative; overflow: hidden; }
.final-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% -10%, oklch(0.78 0.142 73 / 0.32), transparent 60%); pointer-events: none; }
.final-h { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; margin: 0.6rem 0 1rem; color: var(--brand-on); position: relative; }
.final-sub { color: oklch(0.88 0.004 80); font-size: var(--step-1); max-width: 50ch; margin: 0 auto; position: relative; }
.final-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin: 2.2rem 0 1.2rem; position: relative; }
.final-primary { background: var(--accent); color: oklch(0.26 0.01 75); }
.final-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px oklch(0 0 0 / 0.35); }
.final-wa { background: oklch(1 0 0 / 0.12); color: var(--brand-on); border: 1px solid oklch(1 0 0 / 0.25); backdrop-filter: blur(4px); }
.final-wa:hover { background: oklch(1 0 0 / 0.2); transform: translateY(-2px); }
.final-foot { font-family: var(--font-mono); font-size: 0.78rem; color: oklch(0.82 0.004 80 / 0.75); letter-spacing: 0.02em; position: relative; }

/* ---------------- FOOTER ---------------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 5vw, 4.5rem); margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.8rem; }
.footer-tag { color: var(--ink-soft); margin: 1rem 0 1.3rem; max-width: 30ch; font-size: 0.95rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.2rem; }
.footer-contact a { font-weight: 600; color: var(--ink); }
.footer-contact a:hover { color: var(--brand-deep); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink-soft); transition: all 0.2s; }
.footer-social a:hover { color: var(--brand-deep); border-color: var(--brand); background: var(--surface); }
.footer-col h4 { font-size: 0.8rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; color: var(--ink-soft); padding: 0.32rem 0; font-size: 0.95rem; }
.footer-col a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0 2.4rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-faint); }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a:hover { color: var(--ink); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-base { flex-direction: column; gap: 0.8rem; } }
