/* ============================================================
   SASTHA AUTOMATIONS — stylesheet
   Theme: light blue + white, HARTING-yellow accent for actions.
   Type: Saira (display) / IBM Plex Sans (body) / IBM Plex Mono (labels)
   ============================================================ */

:root {
  /* blues */
  --blue-900: #0F3463;   /* deepest — footer / strong headings   */
  --blue-800: #143E78;   /* brand blue (signboard)               */
  --blue-700: #1B56A6;   /* primary structural blue              */
  --blue-500: #2E7BD6;   /* links / bright accents               */
  --blue-200: #BFD8F2;
  --blue-100: #E7F1FC;   /* light-blue section background        */
  --blue-50:  #F4F9FE;

  /* yellow (HARTING) — actions & highlights only */
  --yellow:      #FFC400;
  --yellow-deep: #F0A800;
  --sun:         #FFC400;

  /* neutrals */
  --ink:    #13283F;
  --muted:  #56697D;
  --line:   #DBE7F3;
  --white:  #FFFFFF;

  /* type */
  --display: "Saira", system-ui, sans-serif;
  --body:    "IBM Plex Sans", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* layout */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -24px rgba(15,52,99,.45);
  --shadow-sm: 0 8px 22px -14px rgba(15,52,99,.4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--ink);
  background: var(--white); line-height: 1.6; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.06; font-weight: 700; letter-spacing: -0.01em; color: var(--blue-900); }
p { margin: 0 0 1rem; }

/* ---------- helpers ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue-700); font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.6em; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--yellow); border-radius: 2px; }
.eyebrow.on-dark { color: #BFD8F2; }
.section { padding-block: clamp(56px, 9vw, 104px); position: relative; }
.section--tint { background: var(--blue-100); }
.section--blue { background: var(--blue-800); color: #DCEAF8; }
.section--blue h2, .section--blue h3 { color: #fff; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 60ch; }
.section--blue .lead { color: #B7CCE4; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); text-transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--display); font-size: 0.96rem; font-weight: 600;
  letter-spacing: 0.01em; padding: 0.8em 1.5em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn svg { width: 1.05em; height: 1.05em; }
/* PRIMARY = HARTING yellow */
.btn--primary { background: var(--yellow); color: var(--blue-900); box-shadow: 0 10px 22px -10px rgba(240,168,0,.7); }
.btn--primary:hover { background: var(--yellow-deep); transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(240,168,0,.8); }
.btn--outline { border-color: var(--blue-200); color: var(--blue-800); background: var(--white); }
.btn--outline:hover { border-color: var(--blue-700); transform: translateY(-2px); }
.btn--outline.on-dark { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.btn--outline.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand .logo-mark { width: 64px; height: 64px; flex: none; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.16rem;
  letter-spacing: 0.01em; line-height: 1; color: var(--blue-900); text-transform: uppercase; }
.nav .brand__name { font-size: 1.62rem; }
.brand__name b { color: var(--blue-700); font-weight: 800; }
.brand__sub { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase; display: block; margin-top: 5px; }
.nav .brand__sub { font-size: 0.66rem; letter-spacing: 0.2em; }

.nav__links { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--ink); padding: 4px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 3px; width: 0;
  background: var(--yellow); border-radius: 2px; transition: width .2s ease; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 1rem; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2.5px; background: var(--blue-900); margin: 5px 0; border-radius: 2px; transition: .25s; }

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 96px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.4rem; transform: translateY(-135%); transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: 1rem 0; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(46,123,214,.12), transparent 60%),
    linear-gradient(180deg, var(--blue-50), var(--blue-100)); }
/* connector pin-dot pattern accent */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(27,86,166,.16) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 55%, #000); mask-image: linear-gradient(90deg, transparent 55%, #000);
}
.hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding-block: clamp(48px, 7vw, 86px); position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -0.02em; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--blue-700);
  background: linear-gradient(transparent 62%, rgba(255,196,0,.55) 62%); padding: 0 .08em; }
.hero p { color: var(--muted); font-size: 1.16rem; max-width: 50ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.9rem; }
.hero__trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--muted); }
.hero__trust b { color: var(--blue-800); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero::before { -webkit-mask-image: none; mask-image: none; opacity: .35; }
}

/* ---------- animated product showcase (hero signature) ---------- */
.showcase { position: relative; }
.showcase__frame {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  aspect-ratio: 4 / 3; animation: floaty 6s ease-in-out infinite;
}
.showcase__slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--white); opacity: 0; transition: opacity .9s ease; padding: 18px;
}
.showcase__slide.is-active { opacity: 1; }
.showcase__slide img { width: 100%; height: 100%; object-fit: contain;
  animation: kenburns 6s ease-out both; }
.showcase__slide.is-active img { animation: kenburns 6s ease-out both; }
.showcase__tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  background: var(--blue-900); color: #fff; font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.5em 0.9em; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.showcase__tag span { color: var(--yellow); }
.showcase__corner { position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; opacity: .9; }
.showcase__dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.1rem; }
.showcase__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue-200); padding: 0; transition: background .2s, transform .2s; }
.showcase__dots button.is-active { background: var(--yellow); transform: scale(1.3); }

@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.10); } }

/* ============================================================
   MARQUEE (auto-scrolling product strip)
   ============================================================ */
.marquee { overflow: hidden; padding-block: 0; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1.25rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { width: 230px; flex: none; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.marquee__item img { width: 100%; height: 150px; object-fit: cover; background: #fff; }
.marquee__item span { display: block; font-family: var(--mono); font-size: 0.72rem; color: var(--blue-800);
  padding: 0.7em 0.9em; border-top: 1px solid var(--line); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   GRID + CARDS
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.pcard__media { aspect-ratio: 16 / 11; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s ease; }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pcard__kicker { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-500); }
.pcard h3 { font-size: 1.2rem; margin: 0.45rem 0 0.5rem; }
.pcard p { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.1rem; }
.pcard__link { margin-top: auto; font-family: var(--display); font-weight: 600; color: var(--blue-700);
  display: inline-flex; align-items: center; gap: 0.4em; }
.pcard__link::after { content: "→"; transition: transform .2s ease; }
.pcard:hover .pcard__link::after { transform: translateX(4px); }

/* simple card (no image) */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.section--tint .card { background: var(--white); }
.card__num { font-family: var(--mono); font-size: 0.8rem; color: var(--yellow-deep); font-weight: 500; }
.card h3 { font-size: 1.2rem; margin: 0.5rem 0 0.5rem; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* image placeholder (for spots without a photo yet) */
.ph { background: var(--blue-100); border: 1px dashed var(--blue-200); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center; color: var(--blue-700);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; min-height: 220px; padding: 1rem; }
.ph--wide { aspect-ratio: 16/7; min-height: 0; }

/* ============================================================
   BRANDS STRIP
   ============================================================ */
.brands { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: stretch; }
.brandcard { flex: 1 1 260px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1.1rem; align-items: center; box-shadow: var(--shadow-sm); }
.brandcard img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; border: 1px solid var(--line); }
.brandcard__logo { width: 84px; height: 84px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--blue-900); border: 1px solid var(--line); }
.brandcard h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.brandcard p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; background:#fff; }

.features { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.2rem; }
.features li { display: flex; gap: 0.85rem; padding: 0.7rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.section--blue .features li { border-top-color: rgba(255,255,255,.16); color:#C6D8EC; }
.features li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px;
  background: var(--yellow); -webkit-mask: center/14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  mask: center/14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.features b { color: var(--ink); font-weight: 600; }
.section--blue .features b { color:#fff; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.section--blue .stat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.stat dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem,4vw,2.6rem); color: var(--blue-800); }
.section--blue .stat dd { color: #fff; }
.stat dd em { font-style: normal; color: var(--yellow-deep); }
.section--blue .stat dd em { color: var(--yellow); }
.stat dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }
.section--blue .stat dt { color:#A9C2DE; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta { position: relative; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(34px,5vw,52px) clamp(28px,5vw,52px); margin-inline: var(--gutter);
  background: linear-gradient(120deg, var(--blue-800), var(--blue-700)); border-radius: 20px;
  box-shadow: var(--shadow); position: relative; overflow: hidden; }
@media (min-width:1180px){ .cta .wrap { margin-inline: auto; } }
.cta .wrap::after { content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.4px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 60%, #000); mask-image: linear-gradient(90deg, transparent 60%, #000); }
.cta h2 { color:#fff; font-size: clamp(1.5rem,3vw,2.2rem); max-width: 22ch; position: relative; z-index:1; }
.cta__actions { position: relative; z-index: 1; display:flex; gap:0.8rem; flex-wrap:wrap; }

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; padding: 0.82em 0.95em; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(46,123,214,.18); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 560px){ .field--row { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.info-list dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 0.25rem; }
.info-list dd { margin: 0; font-size: 1.04rem; }
.info-list a:hover { color: var(--blue-700); }

/* ============================================================
   PAGE HEADER (interior)
   ============================================================ */
.page-head { background: linear-gradient(180deg, var(--blue-50), var(--blue-100)); padding-block: clamp(46px,7vw,80px); position: relative; overflow: hidden; }
.page-head::before { content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image: radial-gradient(rgba(27,86,166,.14) 1.5px, transparent 1.5px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 60%, #000); mask-image: linear-gradient(90deg, transparent 60%, #000); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-head p { color: var(--muted); max-width: 60ch; margin-top: 0.9rem; }
.breadcrumb { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--blue-700); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--blue-900); color: #A9C2DE; padding-block: 60px 26px; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display:flex; gap:0.7rem; align-items:center; }
.footer__brand .logo-mark { width: 42px; height: 42px; flex:none; }
.footer__brand .brand__name { color:#fff; }
.footer__brand .brand__name b { color: var(--yellow); }
.footer__about { margin-top: 1rem; font-size: 0.92rem; max-width: 36ch; color:#9FB9D6; }
.footer__grid h4 { color:#fff; font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__links { list-style:none; margin:0; padding:0; display:grid; gap:0.55rem; font-size:0.94rem; }
.footer__bottom { display:flex; justify-content: space-between; gap:1rem; flex-wrap: wrap; margin-top: 44px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: 0.72rem; color:#8AA6C6; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .showcase__frame { animation: none; }
  .showcase__slide img, .showcase__slide.is-active img { animation: none; transform: none; }
  .marquee__track { animation: none; }
  .btn:hover, .pcard:hover, .btn--primary:hover { transform: none; }
}

/* ---------- industry chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { font-family: var(--mono); font-size: 0.82rem; background: var(--white);
  border: 1px solid var(--line); color: var(--blue-800); padding: 0.6em 1.15em;
  border-radius: 999px; box-shadow: var(--shadow-sm); }
.chip b { color: var(--yellow-deep); }
.section--blue .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #E2EEFB; }
