/* ==========================================================
   LINTON — Solushop-inspired B2B Industrial Theme
   Applied from the user-provided Solushop theme configuration.
   No CSS framework required.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #007c91;
  --primary-hover: #005f70;
  --primary-rgb: 0, 124, 145;
  --secondary: #496174;
  --secondary-hover: #344b5c;
  --success: #2ba98a;
  --danger: #c94f55;
  --warning: #e7a83c;
  --info: #168db2;
  --light: #f3f7f8;
  --dark: #102a3b;
  --white: #ffffff;
  --black: #000000;
  --text-main: #102a3b;
  --text-muted: #536b7b;
  --text-light: #8da0ab;
  --border-color: #d7e2e5;
  --border-light: #e7eff1;
  --bg-light: #f3f7f8;
  --bg-white: #ffffff;
  --font-heading: 'Roboto', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --font-base: 14px;
  --line-height-base: 1.6;
  --line-height-heading: 1.2;
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 40px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,.05);
  --shadow-md: 0 2px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.12);
  --shadow-hover: 0 4px 20px rgba(0,0,0,.15);
  --transition-fast: all .15s ease;
  --transition-base: all .3s ease;
  --transition-slow: all .5s ease;
  --container-max-width: 1200px;
  --grid-gutter: 30px;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--font-base);
  line-height: var(--line-height-base);
  color: var(--text-main);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(var(--primary-rgb), .18); color: var(--text-main); }

/* Accessibility */
:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .35); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Typography */
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.display {
  margin-top: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--text-main);
  letter-spacing: -.02em;
}
h1,.h1 { font-size: clamp(34px, 4vw, 52px); }
h2,.h2 { font-size: clamp(28px, 3vw, 40px); }
h3,.h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
p { margin-top: 0; margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--primary-hover); }
.display { font-size: clamp(42px, 6vw, 72px); line-height: 1.03; max-width: 860px; }
.gradient-text { color: var(--text-main); background: none; -webkit-text-fill-color: currentColor; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; color: #405867; max-width: 760px; }
.muted { color: var(--text-muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .09em;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--primary); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section { padding: 76px 0; }
.section-sm { padding: 56px 0; background: var(--bg-light); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.grid-2, .grid-3, .portfolio-grid, .blog-grid { display: grid; gap: var(--grid-gutter); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.portfolio-grid, .blog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.nav { min-height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.brand {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--text-main);
}
.brand:hover { text-decoration: none; color: var(--text-main); }
.brand span { color: var(--primary); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 30px 0 26px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 2px;
  background: var(--primary);
  transition: right .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration: none; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--white);
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: var(--transition-base);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { color: var(--white); background: var(--primary); border-color: var(--primary); box-shadow: 0 3px 10px rgba(var(--primary-rgb), .18); }
.btn-primary:hover { color: var(--white); background: var(--primary-hover); border-color: var(--primary-hover); box-shadow: 0 6px 18px rgba(var(--primary-rgb), .24); }
.btn-secondary { color: var(--primary); background: var(--white); border: 2px solid var(--primary); }
.btn-secondary:hover { color: var(--white); background: var(--primary); border-color: var(--primary); }
.arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.nav > .btn { white-space: nowrap; }

/* Home Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 84px 0 74px;
  background:
    radial-gradient(circle at 82% 20%, rgba(var(--primary-rgb), .10), transparent 29%),
    linear-gradient(180deg, #ffffff 0%, #edf7f8 100%);
  border-bottom: 1px solid var(--border-light);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .35;
  pointer-events: none;
  background-image: linear-gradient(rgba(0,124,145,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,124,145,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, black 55%, black);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.18fr) minmax(390px,.82fr); gap: 56px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { margin-top: 22px; max-width: 710px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 26px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(43,169,138,.14); }

/* LINTON flow diagram */
.flow-stage {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.flow-stage::before {
  content: 'LINTON FLOW';
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.flow-stage::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), .08);
}
.flow-node {
  position: absolute;
  z-index: 3;
  width: 135px;
  padding: 14px 14px 12px;
  border: 1px solid #cbdde1;
  border-left: 4px solid var(--primary);
  border-radius: var(--border-radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.flow-node b { display: block; font-family: var(--font-heading); font-size: 12px; color: var(--text-main); }
.flow-node small { display: block; margin-top: 3px; color: var(--text-muted); font-size: 11px; }
.flow-node.n1 { left: 8%; top: 20%; }
.flow-node.n2 { right: 8%; top: 20%; }
.flow-node.n3 { left: 8%; bottom: 17%; }
.flow-node.n4 { right: 8%; bottom: 17%; }
.flow-line { position: absolute; z-index: 1; height: 2px; background: linear-gradient(90deg, rgba(var(--primary-rgb),.15), var(--primary), rgba(var(--primary-rgb),.15)); transform-origin: left center; }
.flow-line::after { content: ''; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(var(--primary-rgb),.12); animation: pulse 2s ease-in-out infinite; }
.flow-line.l1 { left: 39%; top: 29%; width: 22%; }
.flow-line.l2 { left: 22%; top: 49%; width: 56%; transform: rotate(28deg); }
.flow-line.l3 { left: 39%; bottom: 27%; width: 22%; }
@keyframes pulse { 0%,100% { transform: scale(.78); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }

/* Marquee */
.marquee { overflow: hidden; padding: 13px 0; background: var(--primary); color: var(--white); }
.marquee-track { display: flex; width: max-content; gap: 40px; animation: marquee 30s linear infinite; }
.marquee-track span { position: relative; font-family: var(--font-heading); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.marquee-track span::after { content: '•'; position: absolute; right: -23px; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards */
.card {
  display: block;
  position: relative;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
  overflow: hidden;
  transition: var(--transition-base);
}
.card::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--primary); transition: right .3s ease; }
.card:hover { transform: translateY(-3px); border-color: #b9d4d9; box-shadow: var(--shadow-hover); color: var(--text-main); text-decoration: none; }
.card:hover::after { right: 0; }
.card .h3 { margin-bottom: 10px; }
.card-index { display: block; margin-bottom: 20px; font-family: var(--font-heading); color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.icon-box { width: 44px; height: 44px; margin-bottom: 18px; display: grid; place-items: center; border-radius: var(--border-radius-sm); color: var(--primary); background: rgba(var(--primary-rgb),.08); font-size: 22px; font-weight: 700; }
.card .btn { margin-top: 10px; }

/* Panels / Lists */
.panel { padding: 28px; border: 1px solid var(--border-color); border-radius: var(--border-radius-md); background: var(--white); box-shadow: var(--shadow-md); }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--border-light); }
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--border-radius-sm); background: var(--primary); color: var(--white); font-family: var(--font-heading); font-size: 12px; font-weight: 700; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill { display: inline-flex; padding: 7px 11px; border: 1px solid var(--border-color); border-radius: 999px; background: var(--white); color: var(--text-main); font-size: 12px; font-weight: 600; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border-color); border-radius: var(--border-radius-md); background: var(--white); box-shadow: var(--shadow-md); overflow: hidden; }
.stat { padding: 26px; border-right: 1px solid var(--border-color); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 6px; font-family: var(--font-heading); color: var(--primary); font-size: 18px; }
.stat span { color: var(--text-muted); font-size: 13px; }

/* CTA */
.cta {
  position: relative;
  padding: 48px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--primary), #124966);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), .20);
}
.cta::after { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; top: -150px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); }
.cta .eyebrow, .cta .h2, .cta .lead { position: relative; z-index: 2; color: var(--white); }
.cta .eyebrow::before { background: rgba(255,255,255,.85); }
.cta .lead { color: rgba(255,255,255,.82); }
.cta .hero-actions { position: relative; z-index: 2; }
.cta .btn-primary { background: var(--white); color: var(--primary); border-color: var(--white); }
.cta .btn-primary:hover { background: #edf7f8; color: var(--primary-hover); }
.cta .btn-secondary { border-color: rgba(255,255,255,.75); color: var(--white); background: transparent; }
.cta .btn-secondary:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* Sub-page hero */
.page-hero {
  padding: 74px 0 58px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
  border-bottom: 1px solid var(--border-light);
}
.page-hero .container { max-width: 1200px; }
.breadcrumbs { margin-bottom: 18px; color: var(--text-muted); font-size: 12px; }
.breadcrumbs a { color: var(--primary); }
.page-hero .h1 { max-width: 900px; margin-bottom: 16px; }

/* Portfolio / blog */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--white);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active { color: var(--white); border-color: var(--primary); background: var(--primary); }
.article { max-width: 820px; margin: 0 auto; }
.article h2, .article h3 { margin-top: 32px; }
.article ul, .article ol { padding-left: 22px; }
.article a { text-decoration: underline; text-underline-offset: 3px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text-main); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #c8d8dc;
  border-radius: var(--border-radius-sm);
  color: var(--text-main);
  background: var(--white);
  transition: var(--transition-fast);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: 0; box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.20); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(201,79,85,.12); }
.form-status { min-height: 24px; margin-top: 10px; font-size: 13px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

/* Footer */
.footer { padding: 58px 0 24px; border-top: 4px solid var(--primary); background: var(--dark); color: #f2f4f7; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer .brand { color: var(--white); }
.footer .muted { max-width: 330px; margin-top: 16px; color: #c7ccd2; }
.footer h4 { margin-bottom: 14px; color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.footer a { display: block; width: fit-content; margin: 7px 0; color: #d7dbe0; font-size: 13px; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #adb5bd; font-size: 12px; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1060px) {
  .nav-links { gap: 18px; }
  .nav > .btn { padding-left: 14px; padding-right: 14px; font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr 390px; gap: 34px; }
}
@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: relative; }
  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 8px; border-bottom: 1px solid var(--border-light); }
  .nav-links a::after { display: none; }
  .nav > .btn { display: none; }
  .hero { min-height: 0; padding: 62px 0; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .flow-stage { min-height: 340px; }
  .grid-3, .portfolio-grid, .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border-color); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  :root { --font-base: 13px; --spacing-xl: 30px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 46px 0; }
  .display { font-size: 42px; }
  .hero-actions .btn { width: 100%; }
  .flow-stage { min-height: 330px; }
  .flow-node { width: 118px; padding: 12px; }
  .flow-node.n1, .flow-node.n3 { left: 6%; }
  .flow-node.n2, .flow-node.n4 { right: 6%; }
  .grid-2, .grid-3, .portfolio-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border-color); }
  .stat:last-child { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cta { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
