/* =====================================================================
   Servolink — Certifications & Registrations
   Document-record layout: one hero certificate, record cards, the NSIC
   manufacturing scope, an ISO history slider and recognition cards.
   Everything reflows to a single column below 860px.
   ===================================================================== */

.ct{--hair:#E4E6EA;--soft:#F7F8FA;--dim:#6B7280;--body:#3E4248}
.ct-in{max-width:1240px;margin:0 auto;padding:0 20px}

/* ── section furniture ───────────────────────────────────────────── */
.ct-sec{padding:62px 0}
.ct-sec.soft{background:var(--soft)}
.ct-kicker{
  display:block;font-family:var(--font-mono,monospace);font-size:11.5px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--red,#FF2836);margin-bottom:10px
}
.ct-head{text-align:center;margin-bottom:38px}
.ct-head h2{
  font-size:29px;font-weight:700;letter-spacing:.01em;text-transform:uppercase;
  color:var(--ink,#1B1C1F);margin:0
}
.ct-head .rule{display:block;width:58px;height:3px;background:var(--red,#FF2836);margin:14px auto 16px}
.ct-head p{font-size:15px;line-height:1.7;color:var(--body);max-width:680px;margin:0 auto}

/* ── intro + jump chips ──────────────────────────────────────────── */
.ct-intro{padding:48px 0 34px}
.ct-intro-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:start}
.ct-intro h2{font-size:27px;font-weight:700;line-height:1.3;color:var(--ink,#1B1C1F);margin:0}
.ct-intro h2 em{font-style:normal;color:var(--red,#FF2836);display:block}
.ct-intro p{font-size:15.5px;line-height:1.8;color:var(--body);margin:0}
.ct-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px;
  padding-top:30px;border-top:1px solid var(--hair)}
.ct-chip{
  display:inline-block;padding:9px 16px;border:1px solid var(--hair);border-radius:7px;
  background:#fff;font-size:13.5px;font-weight:500;color:var(--ink,#1B1C1F);
  transition:border-color .2s,color .2s
}
.ct-chip:hover{border-color:var(--red,#FF2836);color:var(--red,#FF2836)}

/* ── the hero certificate ────────────────────────────────────────── */
.ct-hero{display:grid;grid-template-columns:.86fr 1.14fr;
  border:1px solid var(--hair);border-radius:4px;overflow:hidden;background:#fff}
.ct-hero-shot{position:relative;background:var(--soft);
  display:flex;align-items:center;justify-content:center;padding:34px 26px}
.ct-hero-shot img{max-height:420px;width:auto;box-shadow:0 10px 34px rgba(15,23,42,.14)}
.ct-hero-body{padding:34px 38px;border-left:1px solid var(--hair)}
.ct-topline{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ct-eyebrow{font-family:var(--font-mono,monospace);font-size:11.5px;letter-spacing:.1em;color:var(--dim)}
.ct-pill{
  font-family:var(--font-mono,monospace);font-size:11.5px;color:var(--ink,#1B1C1F);
  border:1px solid var(--hair);border-radius:5px;padding:5px 11px;background:#fff;white-space:nowrap
}
.ct-hero-body h2{font-size:34px;font-weight:700;margin:14px 0 4px;color:var(--ink,#1B1C1F)}
.ct-sub{font-size:15.5px;color:var(--body);margin:0 0 16px}
/* only the plain description paragraph — .ct-sub and .ct-note keep their own margins */
.ct-hero-body>p:not([class]){font-size:15px;line-height:1.75;color:var(--body);margin:0}

/* key/value rows, used by the hero and every record card */
.ct-facts{margin:20px 0 0;border-top:1px solid var(--hair);padding-top:18px}
.ct-fact{display:grid;grid-template-columns:200px 1fr;gap:14px;padding:5px 0;font-size:14.5px}
.ct-fact dt{color:var(--dim)}
.ct-fact dd{margin:0;color:var(--ink,#1B1C1F);font-weight:500}

/* ── actions ─────────────────────────────────────────────────────── */
.ct-acts{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:22px}
.ct-btn{
  display:inline-flex;align-items:center;gap:9px;padding:12px 20px;border-radius:6px;
  background:var(--red,#FF2836);color:#fff;font-size:14px;font-weight:600;border:0;
  cursor:pointer;font-family:inherit;transition:background .2s
}
.ct-btn:hover{background:var(--red-deep,#D01E2A)}
.ct-link{
  display:inline-flex;align-items:center;gap:7px;background:none;border:0;padding:0;
  font-family:inherit;font-size:14px;font-weight:600;color:var(--ink,#1B1C1F);
  cursor:pointer;transition:color .2s
}
.ct-link:hover{color:var(--red,#FF2836)}
.ct-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}
.ct-dl{font-size:13.5px;color:var(--dim);border-bottom:1px solid var(--hair);padding-bottom:1px}
.ct-dl:hover{color:var(--red,#FF2836);border-color:var(--red,#FF2836)}
.ct-note{font-size:13.5px;line-height:1.65;color:var(--dim);margin:18px 0 0}

/* a plain disclosure for the verification details */
.ct-reveal{margin-top:16px;border-top:1px solid var(--hair);padding-top:16px}
.ct-reveal summary{
  cursor:pointer;list-style:none;font-size:14px;font-weight:600;color:var(--red,#FF2836)
}
.ct-reveal summary::-webkit-details-marker{display:none}
.ct-reveal summary::before{content:"\25B8\00a0";display:inline-block}
.ct-reveal[open] summary::before{content:"\25BE\00a0"}
.ct-reveal p{font-size:14px;line-height:1.7;color:var(--body);margin:10px 0 0}

/* ── record cards ────────────────────────────────────────────────── */
.ct-cards{display:grid;gap:22px}
.ct-cards.two{grid-template-columns:repeat(2,1fr)}
.ct-cards.three{grid-template-columns:repeat(3,1fr)}
/* a short row stays centred instead of hugging the left edge */
.ct-cards.tight{grid-template-columns:repeat(auto-fit,minmax(280px,384px));justify-content:center}
.ct-card{
  display:flex;flex-direction:column;border:1px solid var(--hair);border-radius:4px;
  background:#fff;overflow:hidden
}
.ct-card-shot{
  position:relative;background:var(--soft);border-bottom:1px solid var(--hair);
  display:flex;align-items:center;justify-content:center;padding:26px 20px;min-height:216px
}
.ct-card-shot img{max-height:190px;width:auto;box-shadow:0 6px 22px rgba(15,23,42,.13)}
.ct-view{
  position:absolute;right:12px;bottom:12px;padding:7px 13px;border-radius:5px;
  background:#fff;border:1px solid var(--hair);font-size:12.5px;font-weight:600;
  color:var(--ink,#1B1C1F);cursor:pointer;font-family:inherit;transition:border-color .2s,color .2s
}
.ct-view:hover{border-color:var(--red,#FF2836);color:var(--red,#FF2836)}
.ct-card-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}
.ct-card-body h3{font-size:21px;font-weight:700;margin:12px 0 3px;color:var(--ink,#1B1C1F)}
.ct-card-body .ct-sub{font-size:14.5px;margin-bottom:14px}
.ct-card-body>p:not([class]){font-size:14.5px;line-height:1.7;color:var(--body);margin:0}
.ct-card .ct-facts{margin-top:auto}
.ct-card .ct-fact{grid-template-columns:168px 1fr;font-size:14px}
.ct-card .ct-acts{margin-top:18px;padding-top:16px;border-top:1px solid var(--hair)}

/* ── manufacturing scope band ────────────────────────────────────── */
.ct-scope{background:var(--grey-950,#1B1C1F);color:#fff;padding:54px 0}
/* the heading column is short next to a five-row table, so it is centred
   against it and carries the small print — otherwise the band is lopsided */
.ct-scope-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:40px;align-items:center}
.ct-scope h2{font-size:26px;font-weight:700;line-height:1.3;margin:0 0 14px}
.ct-scope p{font-size:14.5px;line-height:1.7;color:#A8ADB5;margin:0}
.ct-scope .ct-link{color:#fff}
.ct-scope .ct-link:hover{color:var(--red,#FF2836)}
.ct-scope .ct-acts{margin-top:20px}
.ct-std{width:100%;border-collapse:collapse;font-size:14.5px}
.ct-std th{
  text-align:left;font-family:var(--font-mono,monospace);font-size:11px;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:#9AA0A9!important;
  padding:0 0 12px;border-bottom:1px solid rgba(255,255,255,.17)
}
.ct-std td{padding:15px 0;border-bottom:1px solid rgba(255,255,255,.10);
  vertical-align:top;line-height:1.55}
.ct-std td:first-child{color:#E6E8EB!important;padding-right:20px;width:54%}
.ct-std td:last-child{color:#fff!important;white-space:pre-line}
.ct-std tr:last-child td{border-bottom:0}
.ct-scope .fine{font-size:13px;line-height:1.6;color:#959BA3;margin-top:22px;max-width:46ch}

/* ── ISO history slider ──────────────────────────────────────────── */
.ct-slider{position:relative}
.ct-track{
  display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 66px) / 4);gap:22px;
  overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px
}
.ct-track::-webkit-scrollbar{display:none}
.ct-slide{scroll-snap-align:start}
.ct-slide-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  padding-bottom:12px;border-bottom:2px solid var(--red,#FF2836);margin-bottom:18px
}
.ct-slide-head b{font-size:21px;font-weight:700;color:var(--ink,#1B1C1F)}
.ct-slide-shot{
  background:var(--soft);border:1px solid var(--hair);border-radius:4px;
  display:flex;align-items:center;justify-content:center;padding:20px;height:252px;cursor:pointer
}
.ct-slide-shot img{max-height:100%;width:auto;box-shadow:0 6px 20px rgba(15,23,42,.14)}
.ct-slide h4{font-size:18px;font-weight:700;margin:18px 0 3px;color:var(--ink,#1B1C1F)}
.ct-slide .who{display:block;font-size:14.5px;color:var(--body);margin-bottom:14px}
.ct-slide .meta{font-size:13.5px;line-height:1.65;color:var(--dim);margin:0 0 14px}
.ct-nav{display:flex;align-items:center;gap:10px;margin-top:26px;justify-content:center}
.ct-arrow{
  width:40px;height:40px;border:1px solid var(--hair);border-radius:50%;background:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s
}
.ct-arrow svg{width:17px;height:17px;fill:none;stroke:var(--ink,#1B1C1F);stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}
.ct-arrow:hover{border-color:var(--red,#FF2836)}
.ct-arrow:hover svg{stroke:var(--red,#FF2836)}
.ct-arrow[disabled]{opacity:.35;cursor:default}
.ct-arrow[disabled]:hover{border-color:var(--hair)}
.ct-arrow[disabled]:hover svg{stroke:var(--ink,#1B1C1F)}
.ct-dots{display:flex;gap:7px;margin:0 6px}
.ct-dot{width:7px;height:7px;border-radius:50%;background:var(--hair);border:0;padding:0;cursor:pointer}
.ct-dot[aria-current="true"]{background:var(--red,#FF2836);width:20px;border-radius:4px}

/* ── closing band ────────────────────────────────────────────────── */
.ct-cta{background:var(--soft);padding:44px 0}
.ct-cta-in{display:flex;align-items:center;justify-content:space-between;gap:30px;
  max-width:1240px;margin:0 auto;padding:0 20px}
.ct-cta h3{font-size:25px;font-weight:700;line-height:1.3;margin:12px 0 10px;color:var(--ink,#1B1C1F)}
.ct-cta p{font-size:15px;color:var(--body);margin:0}

/* ── lightbox ────────────────────────────────────────────────────── */
.ct-lb{
  position:fixed;inset:0;z-index:9999;background:rgba(10,11,13,.975);
  display:none;align-items:center;justify-content:center;padding:54px 20px 20px
}
.ct-lb.open{display:flex}
.ct-lb figure{margin:0;max-width:1000px;width:100%;text-align:center}
.ct-lb img{max-height:78vh;width:auto;margin:0 auto;border-radius:3px;background:#fff}
.ct-lb figcaption{margin-top:16px;color:#fff}
.ct-lb figcaption h4{font-size:17px;font-weight:600;margin:0 0 4px}
.ct-lb figcaption span{font-size:13.5px;color:#A8ADB5}
.ct-lb-btn{
  position:absolute;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;cursor:pointer
}
.ct-lb-btn svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}
.ct-lb-btn:hover{background:rgba(255,255,255,.2)}
.ct-lb-x{top:16px;right:16px}
.ct-lb-prev{left:16px;top:50%;margin-top:-22px}
.ct-lb-next{right:16px;top:50%;margin-top:-22px}
.ct-lb-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);
  font-family:var(--font-mono,monospace);font-size:12.5px;color:#A8ADB5}

/* ── responsive ──────────────────────────────────────────────────── */
@media(max-width:1024px){
  .ct-track{grid-auto-columns:calc((100% - 22px) / 2)}
  .ct-cards.three{grid-template-columns:repeat(2,1fr)}
  .ct-hero{grid-template-columns:1fr}
  .ct-hero-body{border-left:0;border-top:1px solid var(--hair)}
  .ct-hero-shot img{max-height:340px}
}
@media(max-width:860px){
  .ct-sec{padding:44px 0}
  .ct-intro-grid,.ct-scope-grid{grid-template-columns:1fr;gap:22px;align-items:start}
  .ct-scope h2{max-width:none}
  .ct-cards.two,.ct-cards.three{grid-template-columns:1fr}
  .ct-head h2{font-size:23px}
  .ct-hero-body{padding:26px 22px}
  .ct-hero-body h2{font-size:28px}
  .ct-cta-in{flex-direction:column;align-items:flex-start;gap:20px}
}
@media(max-width:620px){
  .ct-in,.ct-cta-in{padding:0 18px}
  .ct-track{grid-auto-columns:100%}
  .ct-intro h2{font-size:22px}
  .ct-hero-shot{padding:24px 18px}
  .ct-hero-shot img{max-height:300px}
  .ct-hero-body h2{font-size:25px}
  .ct-topline{flex-direction:column;align-items:flex-start;gap:8px}
  /* the label column can't hold its own line beside a long value */
  .ct-fact,.ct-card .ct-fact{grid-template-columns:1fr;gap:2px;padding:7px 0}
  .ct-fact dt{font-size:13px}
  .ct-acts{gap:14px}
  .ct-btn{width:100%;justify-content:center}
  .ct-card-shot{min-height:0;padding:22px 16px}
  .ct-card-shot img{max-height:200px}
  .ct-std{font-size:13.5px}
  .ct-std td{padding:12px 0}
  .ct-lb{padding:60px 12px 36px}
  .ct-lb img{max-height:66vh}
}
