/* ==========================================================================
   Marshanam — shared industry page styles
   Loaded only by industry pages (resources/views/frontend/industries/*).
   Every rule is scoped under .ind-page, and page components use the ind-
   prefix so they never collide with the global design system in styles.css.
   Shared primitives (header, footer, .wrap, .btn, .eyebrow, .section-head,
   .lede, section.alt, .cta-band, FAQ accordion) come from styles.css.
   ========================================================================== */

.ind-page{--ind-grad:linear-gradient(135deg,#1ABCA1,#2261B4);--ind-accent-tint:#E4EFFA}
.ind-page p{margin:0}
.ind-page h1 em,.ind-page h2 em{font-style:normal;color:var(--teal-700)}
.ind-page .section-head.center{max-width:760px}
.ind-page .section-head .lede{margin-top:4px}
.ind-page .ind-muted{color:var(--ink-500)}
.ind-page .ind-small{font-size:12.5px}
.ind-page .ind-nowrap{white-space:nowrap}

/* ---------- Hero ---------- */
.ind-page .ind-hero{padding:72px 0 80px;background:radial-gradient(1000px 500px at 85% -10%,rgba(26,188,161,.12),transparent 60%),radial-gradient(800px 400px at -10% 20%,rgba(34,97,180,.07),transparent 60%)}
.ind-page .ind-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.ind-page .ind-pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.ind-page .ind-pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;color:var(--ink-700);box-shadow:var(--shadow-sm)}
.ind-page .ind-dot{width:7px;height:7px;border-radius:50%;background:var(--teal-500)}
.ind-page .ind-dot.blue{background:var(--brand-blue)}
/* Hero eyebrows (global .eyebrow) sit in the .ind-pills row, which already provides the spacing. */
.ind-page .ind-pills .eyebrow{margin-bottom:0}
.ind-page .ind-hero h1{margin-bottom:22px}
.ind-page .ind-hero .ind-lead{font-size:18px;line-height:1.6;color:var(--ink-700);margin-bottom:32px;max-width:560px}
.ind-page .ind-hero .hero-actions{margin-bottom:0}
.ind-page .ind-hero-note{margin-top:16px;font-size:14px;color:var(--ink-500)}

/* ---------- Chat mock-up ---------- */
.ind-page .ind-mock{position:relative;padding-top:66px}
.ind-page .ind-chat{background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden;border:1px solid var(--line)}
.ind-page .ind-chat-head{background:var(--ind-grad);color:#fff;padding:16px 20px;display:flex;align-items:center;gap:12px}
.ind-page .ind-avatar{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.22);display:grid;place-items:center;font-weight:700;font-size:14px}
.ind-page .ind-chat-name{font-weight:700;font-size:15px}
.ind-page .ind-chat-sub{font-size:12px;opacity:.85}
.ind-page .ind-live{margin-left:auto;width:9px;height:9px;border-radius:50%;background:var(--brand-green-light);box-shadow:0 0 0 4px rgba(111,227,204,.3)}
.ind-page .ind-chat-body{padding:18px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,#F7FBFC,#fff)}
.ind-page .ind-panel .ind-chat-body{padding:22px}
.ind-page .ind-msg{max-width:84%;padding:10px 14px;border-radius:14px;font-size:14px;line-height:1.5;box-shadow:var(--shadow-sm)}
.ind-page .ind-msg.is-in{background:#fff;border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px;color:var(--ink-900)}
.ind-page .ind-msg.is-out{background:var(--ind-grad);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.ind-page .ind-t{display:block;font-size:11px;opacity:.7;margin-top:4px;text-align:right}
.ind-page .ind-float{position:absolute;background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-md);padding:12px 14px;font-size:13px;display:flex;gap:10px;align-items:center}
.ind-page .ind-float-ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:17px;background:var(--teal-100)}
.ind-page .ind-float-ic.blue{background:var(--ind-accent-tint)}
.ind-page .ind-float b{display:block;font-size:13px}
.ind-page .ind-float span{color:var(--ink-500);font-size:12px}
/* Anchored by its bottom edge (10px above the chat, which starts 66px down) so a
   card that wraps to two lines grows upward instead of covering the chat header. */
.ind-page .ind-fc-top{bottom:calc(100% - 56px);left:-34px}
.ind-page .ind-fc-bot{bottom:-44px;right:-22px}

/* ---------- Cards ---------- */
.ind-page .ind-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ind-page .ind-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px;box-shadow:var(--shadow-sm);transition:box-shadow .2s,transform .2s}
.ind-page .ind-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.ind-page .ind-card-ic{width:48px;height:48px;border-radius:var(--radius-sm);display:grid;place-items:center;font-size:22px;background:var(--teal-100);margin-bottom:18px}
.ind-page .ind-card-ic.blue{background:var(--ind-accent-tint)}
.ind-page .ind-card h3{font-size:20px;line-height:1.3;margin-bottom:8px}
.ind-page .ind-card p{color:var(--ink-700);font-size:15px}

/* ---------- Intent example ---------- */
.ind-page .ind-intent-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.ind-page .ind-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);overflow:hidden}
.ind-page .ind-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line);background:var(--paper-50)}
.ind-page .ind-panel-head h3{font-size:16px;margin:0}
.ind-page .ind-panel-body{padding:22px}
.ind-page .ind-label{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-500);margin:18px 0 10px}
.ind-page .ind-label.is-first{margin-top:0}
.ind-page .ind-summary{font-size:14px;color:var(--ink-700);background:var(--paper-50);border-left:3px solid var(--teal-500);padding:12px 14px;border-radius:0 var(--radius-sm) var(--radius-sm) 0}
.ind-page .ind-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ind-page .ind-act{font-size:13px;padding:10px 12px;border-radius:var(--radius-sm);border:1px dashed var(--line);display:flex;gap:8px;align-items:center;color:var(--ink-700)}
.ind-page .ind-act b{color:var(--ink-900)}
.ind-page .ind-flow{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:34px}
.ind-page .ind-flow-st{background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-size:14px;font-weight:600;box-shadow:var(--shadow-sm)}
.ind-page .ind-flow-ar{color:var(--teal-500);font-weight:800}
.ind-page .ind-chip{display:inline-block;font-size:12.5px;font-weight:600;color:var(--teal-700);background:var(--teal-100);padding:4px 11px;border-radius:999px;line-height:1.35}
.ind-page .ind-chip.more{background:#fff;border:1px solid var(--line);color:var(--ink-500)}
.ind-page .ind-chips{display:flex;flex-wrap:wrap;gap:6px}
.ind-page .ind-chips.big .ind-chip{font-size:13.5px;padding:6px 13px}
.ind-page .ind-multi-note{margin-top:8px}
/* Directory hero sample: customer message -> intents detected */
.ind-page .ind-samples{list-style:none;margin:0;padding:6px 22px}
.ind-page .ind-sample{padding:14px 0;border-top:1px solid var(--line)}
.ind-page .ind-sample:first-child{border-top:0}
.ind-page .ind-sample-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.ind-page .ind-sample-ind{font-size:13px;font-weight:700;color:var(--ink-900)}
.ind-page .ind-sample-ch{font-size:11.5px;font-weight:600;color:var(--ink-500);white-space:nowrap}
.ind-page .ind-sample-q{margin:0 0 9px;font-size:14px;line-height:1.45;color:var(--ink-700)}
.ind-page .ind-sample-out{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ind-page .ind-sample-arrow{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--teal-700);margin-right:2px}
.ind-page .ind-sample-note{margin:0;padding:12px 22px;border-top:1px solid var(--line);background:var(--paper-50);font-size:12.5px;color:var(--ink-500)}
.ind-page .ind-quote{font-size:15px;font-weight:600;color:var(--ink-900);background:var(--paper-50);border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px 14px}
.ind-page .ind-meta-row{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--ink-500);margin-top:8px}
.ind-page .ind-live-tag{font-size:12.5px;font-weight:600;color:var(--teal-600);white-space:nowrap}
.ind-page .ind-ch{display:inline-block;font-size:12px;font-weight:600;padding:2px 9px;border-radius:6px;background:var(--teal-50);color:var(--teal-700)}
.ind-page .ind-ch.web{background:var(--ind-accent-tint);color:var(--brand-blue)}

/* ---------- Lead Intent Report mock-up ---------- */
.ind-page .ind-report{margin-top:56px}
.ind-page .ind-report .section-head{margin-bottom:28px}
.ind-page .ind-report .section-head h2{font-size:30px}
.ind-page .ind-report .section-head .lede{font-size:16px}
.ind-page .ind-rep-shell{background:var(--paper-50);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow-md);display:grid;gap:18px}
.ind-page .ind-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ind-page .ind-stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:16px 18px;display:flex;flex-direction:column}
.ind-page .ind-stat b{font-family:var(--font-display);font-size:30px;line-height:1.2;margin:2px 0;color:var(--ink-900)}
.ind-page .ind-rep-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}
.ind-page .ind-rep-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:18px 20px;min-width:0}
.ind-page .ind-rep-card h4{font-size:15px;margin:0 0 12px}
.ind-page .ind-rep-card h4 .ind-muted{font-family:var(--font-body);font-weight:400;margin-left:6px}
.ind-page .ind-bar-row{display:grid;grid-template-columns:190px 1fr 78px;gap:12px;align-items:center;font-size:13.5px;padding:5px 0}
.ind-page .ind-bl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ind-page .ind-track{height:8px;border-radius:99px;background:#EEF3F6;overflow:hidden}
.ind-page .ind-track span{display:block;height:100%;border-radius:99px;background:var(--teal-500)}
.ind-page .ind-bn{font-size:12.5px;color:var(--ink-500)}
.ind-page .ind-bn b{color:var(--ink-900);font-size:13.5px}
.ind-page .ind-tog{padding:4px 0 12px;border-bottom:1px solid var(--line);margin-bottom:12px}
.ind-page .ind-tog:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.ind-page .ind-tog-h{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:6px}
.ind-page .ind-tog ul{list-style:none;border-left:2px solid var(--line);padding-left:12px;margin-top:6px;display:grid;gap:5px}
.ind-page .ind-tog li{display:flex;justify-content:space-between;font-size:13.5px}
.ind-page .ind-tog li small{color:var(--ink-500)}
.ind-page .ind-rep-card.is-table{padding:0;overflow:auto}
.ind-page .ind-tbl-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}
.ind-page .ind-tbl-head h4{margin:0}
.ind-page .ind-table{width:100%;border-collapse:collapse;font-size:14px;min-width:760px}
.ind-page .ind-table th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-500);text-align:left;padding:14px 18px;background:var(--paper-50);border-bottom:1px solid var(--line);font-weight:700}
.ind-page .ind-table td{padding:14px 18px;border-bottom:1px solid var(--line);vertical-align:top;color:var(--ink-700);font-size:13.5px}
.ind-page .ind-table td b{color:var(--ink-900)}
.ind-page .ind-table tr:last-child td{border-bottom:0}
.ind-page .ind-table .ind-ch{margin-top:6px}
.ind-page .ind-view{display:inline-block;font-size:13px;font-weight:600;color:var(--teal-700);background:var(--teal-50);border:1px solid var(--teal-100);padding:5px 12px;border-radius:999px;white-space:nowrap}
.ind-page .ind-disclaimer{font-size:13px;color:var(--ink-500);text-align:center;margin-top:16px}

/* ---------- How it works ---------- */
.ind-page .ind-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:indstep}
.ind-page .ind-step{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px;box-shadow:var(--shadow-sm)}
.ind-page .ind-step::before{counter-increment:indstep;content:counter(indstep);display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--ind-grad);color:#fff;font-weight:800;font-family:var(--font-display);margin-bottom:16px}
.ind-page .ind-step h3{font-size:17px;line-height:1.3;margin-bottom:6px}
.ind-page .ind-step p{font-size:14.5px;color:var(--ink-700)}

/* ---------- Questions the AI answers ---------- */
.ind-page .ind-qa-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.ind-page .ind-qa{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:18px 20px}
.ind-page .ind-qa-ic{flex:none;font-size:20px}
.ind-page .ind-q{font-weight:600;font-size:15px;margin-bottom:4px;color:var(--ink-900)}
.ind-page .ind-qa p{font-size:14px;color:var(--ink-700)}

/* ---------- Industry switcher strip ---------- */
.ind-page .ind-links{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.ind-page .ind-links a,.ind-page .ind-links span{padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:14px;font-weight:600;color:var(--ink-700)}
.ind-page .ind-links a.is-on,.ind-page .ind-links a:hover{border-color:var(--teal-600);color:var(--teal-600);background:var(--teal-50)}
.ind-page .ind-links span[aria-disabled="true"]{opacity:.6;cursor:default}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .ind-page .ind-hero-grid,.ind-page .ind-intent-grid,.ind-page .ind-rep-grid{grid-template-columns:1fr}
  .ind-page .ind-grid-3,.ind-page .ind-steps{grid-template-columns:1fr 1fr}
  .ind-page .ind-fc-top{left:0}
  .ind-page .ind-fc-bot{right:0}
}
@media (max-width:640px){
  .ind-page .ind-hero{padding:48px 0 56px}
  .ind-page .ind-stats{grid-template-columns:1fr}
  .ind-page .ind-bar-row{grid-template-columns:120px 1fr 70px}
  .ind-page .ind-grid-3,.ind-page .ind-steps,.ind-page .ind-qa-grid,.ind-page .ind-actions{grid-template-columns:1fr}
  .ind-page .ind-mock{padding-top:0}
  .ind-page .ind-float{position:static;margin-top:12px}
  .ind-page .ind-report .section-head h2{font-size:26px}
}

/* ---------- Industries directory (/home/industries) ----------
   The directory reuses the Features page tiles (.feature-tile in styles.css). The only
   adjustment: `.ind-page p{margin:0}` above would otherwise remove the tile's paragraph
   spacing, so restore the Features value. No class here is used by the eight industry pages. */
.ind-page .feature-tile > p{margin:0 0 20px}

/* ---------- Site chat widget on industry pages (mobile) ----------
   The widget sets inline position:fixed; right:80px; bottom:35px, which floats it over
   the middle of the content on phones. On industry pages only, tuck it into the corner
   and give the footer room so the last line is never hidden behind it. The widget's own
   script (shared with customer sites) is untouched. */
@media (max-width:640px){
  body:has(.ind-page) #chatbot-toggle{right:12px !important;bottom:12px !important;width:46px !important;height:46px !important}
  body:has(.ind-page) footer.site{padding-bottom:84px}
}

/* Directory: "Have a different industry?" card in the tile grid's last cell */
.ind-page .ind-other-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:var(--paper-50);border-style:dashed;border-color:rgba(23,99,83,0.28)}
.ind-page .ind-other-tile .eyebrow{margin-bottom:14px;position:relative;z-index:1}
.ind-page .ind-other-tile h3{font-size:26px;margin:0 0 12px;position:relative;z-index:1}
.ind-page .ind-other-tile h3 em{font-style:normal;color:var(--teal-700)}
.ind-page .ind-other-tile > p{max-width:420px;margin:0 0 24px}
.ind-page .ind-other-tile .btn{position:relative;z-index:1}
