/* site-extra.css (v15)
   Loaded after style.css. Enhances CTAs/buttons and ensures images "scale to fit".
*/


/* Hero imagery alignment
   - Do NOT override .hero globally (it breaks product/category heroes).
   - hero-home / hero-services / hero-right already handle image positioning in style.css/templates.
*/

:root{
  --muted: rgba(71,85,105,0.95);
  --ink: #052f6d;
  --brand: #0C5ADB;
  --brand2:#1E80FB;
}

/* NAV CTA buttons */
nav ul{
  align-items:center;
}
nav ul li a.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:0.01em;
  line-height:1;
  background: linear-gradient(135deg, rgba(255,255,255,0.20), rgba(255,255,255,0.10));
  border:1px solid rgba(255,255,255,0.30);
  color:#fff;
  box-shadow:0 10px 24px rgba(2,18,46,0.18);
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease, filter 200ms ease;
}
nav ul li a.nav-cta:hover,
nav ul li a.nav-cta:focus{
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.12));
  box-shadow: 0 14px 34px rgba(2,18,46,0.22);
  color:#fff;
}
nav ul li a.nav-cta.secondary{
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border-color: rgba(255,255,255,0.92);
}
nav ul li a.nav-cta.secondary:hover,
nav ul li a.nav-cta.secondary:focus{
  background:#fff;
  color: var(--ink);
}

/* Ghost / outline CTA (e.g., Logout) */
nav ul li a.nav-cta.ghost{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.42);
  box-shadow: none;
  font-weight: 750;
}
nav ul li a.nav-cta.ghost:hover,
nav ul li a.nav-cta.ghost:focus{
  background: rgba(255,255,255,0.14);
  color:#fff;
  box-shadow:none;
}

/* Make all .btn look premium site-wide (not just hero) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
  padding:12px 22px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:0.01em;
  color:#fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  border:1px solid rgba(255,255,255,0.16);
  box-shadow:0 14px 36px rgba(12,90,219,0.22);
  transition: transform 160ms ease, box-shadow 220ms ease, filter 220ms ease;
}
.btn:hover{ transform: translateY(-2px); filter:saturate(1.04); box-shadow:0 18px 48px rgba(12,90,219,0.28); }
.btn:active{ transform: translateY(0); box-shadow:0 12px 30px rgba(12,90,219,0.20); }
.btn.secondary{
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border: 1px solid rgba(5,47,109,0.16);
  box-shadow: 0 14px 34px rgba(2,18,46,0.10);
}
.btn.secondary:hover{ box-shadow:0 18px 48px rgba(2,18,46,0.14); }

/* Form buttons */
button,
input[type="submit"]{
  border-radius:999px !important;
  font-weight:800;
}

.series-card img,
.product-card img{
  object-fit: contain !important;
  background: #ffffff;
}
.feature-image{
  object-fit: contain;
}

/* Table reuse for machine specs & portal tables */
.table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow:hidden;
  border-radius: 12px;
}
.table th, .table td{
  border-bottom: 1px solid #e4eaf2;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.table th{ color:#052f6d; font-weight:800; background:#f2f6ff; }
.table tr:last-child td{ border-bottom:none; }

/* Accessibility focus */
nav ul li a:focus,
.btn:focus,
button:focus,
.floating-quote:focus{
  outline:none;
  box-shadow: 0 0 0 4px rgba(203,220,255,0.35);
}

/* Hero kicker */
.kicker{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:0.02em;
  text-transform:none;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.26);
  color:#fff;
  margin: 0 0 12px 0;
}


/* Simple progress bar (admin puller) */
.progress{
  width:100%;
  height:12px;
  border-radius:999px;
  background: rgba(12,90,219,0.14);
  overflow:hidden;
  border: 1px solid rgba(12,90,219,0.18);
}
.progress > div{
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(12,90,219,0.75), rgba(12,90,219,1));
  border-radius:999px;
  transition: width 240ms ease;
}
.progress > div.indeterminate{
  position: relative;
  animation: pullIndeterminate 1.1s infinite linear;
}
@keyframes pullIndeterminate{
  0% { transform: translateX(-60%); }
  100% { transform: translateX(220%); }
}



/* Small statistic pill (admin + utility) */
.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border:1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  background:#ffffff;
  color: #0b1f3a;
  font-size: 0.85rem;
}


/* Range picker dropdown (Products pages) */
.range-picker{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 12px 0 18px;
}
.range-picker-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.26);
  color:#fff;
  font-weight:800;
  font-size:0.92rem;
}
.range-picker-control{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.range-picker-select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding: 10px 44px 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-weight:800;
  min-width: 220px;
  box-shadow: 0 12px 28px rgba(2,18,46,0.12);
  cursor:pointer;
}
.range-picker-select:focus{
  outline:none;
  box-shadow: 0 0 0 4px rgba(203,220,255,0.35), 0 12px 28px rgba(2,18,46,0.12);
}
.range-picker-chevron{
  position:absolute;
  right: 14px;
  pointer-events:none;
  color: rgba(5,47,109,0.80);
  font-size: 14px;
  font-weight:900;
}
.range-picker-hint{
  color: rgba(255,255,255,0.90);
  font-size: 0.86rem;
  font-weight:600;
}
@media (max-width: 520px){
  .range-picker-select{ min-width: 100%; width: 100%; }
  .range-picker-control{ width: 100%; }
  .range-picker{ align-items:stretch; }
}

/* ============================================================
   Products hero: de-cluttered controls
   ============================================================ */
.hero-products .hero-lead{
  margin: 10px 0 0;
  max-width: 70ch;
  opacity: .92;
  line-height: 1.6;
}


/* Product/category heroes: keep the original blue gradient, but reduce height + reduce clutter */
.hero.hero-products{
  min-height: 0;
  padding: 56px 20px 40px;
}
.hero.hero-products .hero-text{
  max-width: 860px;
}
.hero.hero-products .hero-tools{
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 26px rgba(2,18,46,0.14);
  backdrop-filter: blur(8px);
}
.hero.hero-products .btn{
  padding: 10px 16px;
  font-size: 0.95rem;
}
.hero.hero-products .range-picker-hint{
  margin-top: 6px;
  font-size: 13px;
  opacity: .92;
}
@media (max-width: 640px){
  .hero.hero-products{ padding: 46px 16px 34px; }
  .hero.hero-products .hero-tools{ padding: 12px; }
}

.hero-products .hero-tools{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}
.hero-products .hero-tool{
  display:grid;
  gap: 6px;
}
.hero-products .hero-tool-label{
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .85;
}
.hero-products .hero-pillgroup{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero .range-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 950;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
  line-height: 1;
}
.hero .range-pill:hover{
  background: rgba(255,255,255,0.18);
}
.hero .range-pill.active{
  background: #fff;
  color: #0b2f75;
  border-color: rgba(255,255,255,0.65);
}

.hero-products .range-picker-control--hero{
  height: 44px;
  min-width: 220px;
}
.hero-products .range-picker-select{
  padding: 0 38px 0 12px;
  height: 44px;
}
.hero-products .hero-search-row{
  display:flex;
  gap: 10px;
  align-items:center;
}
.hero-products .hero-search-row input{
  min-width: 240px;
}
@media (max-width: 640px){
  .hero-products .hero-search-row input{ min-width: 0; width: 100%; }
}

/* site-extra.css (catalog + homepage refresh v16) */
/* ------------------------------------------------------------
   Catalog heroes + toolbars (no images in hero)
   ------------------------------------------------------------ */

.hero.hero-catalog{
  /* Light, compact hero for Products / Categories / Sub-categories */
  background: linear-gradient(180deg, #ffffff 0%, #eef4fc 100%);
  color: var(--ink);
  min-height: 0;
  padding: 46px 20px 28px;
  border-bottom: 1px solid rgba(5,47,109,0.10);
}

.hero.hero-catalog .badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12,90,219,0.10);
  border: 1px solid rgba(12,90,219,0.22);
  color: var(--ink);
}

.hero.hero-catalog .hero-text h1{
  color: var(--ink);
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 2.4rem;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero.hero-catalog .hero-text p{
  color: rgba(5,47,109,0.85);
  max-width: 72ch;
}

.hero.hero-catalog + .section{
  padding-top: 28px;
}

.section-intro.section-intro-tight{
  margin: 18px auto 26px;
}

.catalog-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  background:#fff;
  border:1px solid rgba(5,47,109,0.10);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(2,18,46,0.08);
}

.catalog-toolbar-wide{
  gap:14px;
}

.catalog-filter{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

.catalog-label{
  font-weight: 900;
  color: rgba(5,47,109,0.95);
  font-size: 0.95rem;
}

.catalog-help{
  font-size: 0.92rem;
  color: rgba(5,47,109,0.68);
}

.catalog-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.catalog-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.catalog-tab{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(5,47,109,0.12);
  background: rgba(238,244,252,0.65);
  color: rgba(5,47,109,0.95);
  font-weight: 900;
  text-decoration:none;
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease;
}

.catalog-tab:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(2,18,46,0.10);
  background: rgba(238,244,252,0.95);
}

.catalog-tab.active{
  background: rgba(12,90,219,0.12);
  border-color: rgba(12,90,219,0.28);
}

.catalog-count{
  font-weight:800;
  opacity:0.75;
}

.catalog-search{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin: 14px 0 0;
}

.catalog-search input{
  min-width: 260px;
  flex: 1 1 260px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(5,47,109,0.14);
}

/* Make sure large nav or fixed buttons never overlap toolbars */
@media (max-width: 720px){
  .catalog-toolbar{
    padding: 12px;
  }
  .hero.hero-catalog .hero-text h1{
    font-size: 2.05rem;
  }
}

/* ------------------------------------------------------------
   Home page standout sections
   ------------------------------------------------------------ */

.section-standout{
  background: linear-gradient(180deg, rgba(238,244,252,0.92) 0%, rgba(255,255,255,1) 55%);
  position: relative;
  overflow: hidden;
}

.section-standout::before{
  content:"";
  position:absolute;
  inset:-40px -40px auto -40px;
  height: 240px;
  background:
    radial-gradient(closest-side, rgba(12,90,219,0.14), rgba(12,90,219,0.00) 72%),
    radial-gradient(closest-side, rgba(5,47,109,0.10), rgba(5,47,109,0.00) 70%);
  pointer-events:none;
  filter: blur(2px);
}

.section-standout .container{
  position:relative;
  z-index:1;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin: 0 auto 8px;
  padding: 6px 12px;
  border-radius:999px;
  background: rgba(12,90,219,0.10);
  border: 1px solid rgba(12,90,219,0.18);
  color: rgba(5,47,109,0.95);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.standout-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 980px){
  .standout-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .standout-grid{ grid-template-columns: 1fr; }
}

.standout-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(5,47,109,0.12);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 44px rgba(2,18,46,0.10);
  transition: transform 180ms ease, box-shadow 220ms ease;
}

.standout-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 28px 64px rgba(2,18,46,0.14);
}

.standout-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(12,90,219,0.12);
  border: 1px solid rgba(12,90,219,0.18);
  color: rgba(5,47,109,0.95);
  margin-bottom: 12px;
}

.standout-icon svg{
  width: 22px;
  height: 22px;
}

.section-standout h3{
  margin-top: 0;
  margin-bottom: 8px;
  color: rgba(5,47,109,0.98);
}

.section-standout p{
  color: var(--muted);
}

.link-cta{
  font-weight: 900;
  text-decoration: none;
  color: rgba(12,90,219,1);
}

.link-cta:hover{
  text-decoration: underline;
}


/* ------------------------------------------------------------
   Homepage: richer standout cards (bullets / strips / steps)
   ------------------------------------------------------------ */

.standout-list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}
.standout-list li{ margin: 6px 0; }

.standout-grid.standout-grid-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px){
  .standout-grid.standout-grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .standout-grid.standout-grid-4{ grid-template-columns: 1fr; }
}

.standout-strip{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.strip-item{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,47,117,0.14);
  background: linear-gradient(180deg, rgba(11,47,117,0.04), rgba(255,255,255,0.92));
  font-weight: 850;
  color: rgba(11,47,117,0.92);
  text-align:center;
}
@media (max-width: 980px){
  .standout-strip{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .standout-strip{ grid-template-columns: 1fr; }
}

/* “How we work” steps */
.why-steps{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.why-step{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.80);
  box-shadow: 0 10px 26px rgba(2,18,46,0.06);
  display:grid;
  gap: 6px;
}
.why-step .n{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(11,47,117,0.10);
  color: rgba(11,47,117,0.95);
  font-weight: 950;
}
.why-step .t{
  font-weight: 950;
  color: var(--ink);
}
.why-step .d{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 980px){
  .why-steps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .why-steps{ grid-template-columns: 1fr; }
}

