/* LinkCo preview v2 additions — loaded after styles.css, uses v1 tokens */

/* --- certificate trust strip (home) --- */
.v2-certs{background:#fff;border-bottom:1px solid var(--line);padding:26px 0}
.v2-certs .row{display:grid;grid-template-columns:200px repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.v2-certs .intro{display:flex;flex-direction:column;justify-content:center}
.v2-certs .intro strong{color:var(--navy);font-size:16px;font-weight:600}
.v2-certs .intro span{font-size:12.5px;color:var(--muted);line-height:1.5;margin-top:4px}
.v2-cert-mini{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);background:#fff;color:inherit;text-decoration:none;cursor:zoom-in;text-align:left;font:inherit;width:100%}
.v2-cert-mini:hover{border-color:var(--navy);box-shadow:0 6px 18px rgba(11,37,69,.07)}
.v2-cert-mini img{width:50px;height:70px;object-fit:cover;object-position:top;border:1px solid var(--line);flex:none}
.v2-cert-mini b{display:block;color:var(--navy);font-size:15px;font-weight:600;line-height:1.3}
.v2-cert-mini small{display:block;font-size:12px;color:var(--muted);line-height:1.45;font-family:var(--mono)}
.v2-certs .held{grid-column:1/-1;font-size:12.5px;color:var(--muted-2);margin:2px 0 0}

/* --- certificate cards (quality page) --- */
.v2-cert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:8px 0 18px}
.v2-cert-card{display:grid;grid-template-columns:150px 1fr;gap:18px;border:1px solid var(--line);background:#fff;padding:18px}
.v2-cert-card .thumb{padding:0;border:1px solid var(--line);background:#fff;cursor:zoom-in;display:block}
.v2-cert-card .thumb img{width:148px;height:209px;object-fit:cover;object-position:top}
.v2-cert-card h3{margin:0 0 4px;color:var(--navy);font-size:18px;font-weight:600}
.v2-cert-card .scope{font-size:14px;color:var(--text);margin:0 0 8px}
.v2-cert-card dl{display:grid;grid-template-columns:78px 1fr;gap:3px 10px;margin:0;font-size:13.5px}
.v2-cert-card dt{color:var(--muted)}
.v2-cert-card dd{margin:0;font-family:var(--mono);color:var(--ink);word-break:break-all}
.v2-badge{display:inline-block;font-size:12px;padding:1px 8px;background:var(--ok-bg);color:var(--ok);font-weight:600;margin-left:6px;vertical-align:middle}
.v2-lightbox{position:fixed;inset:0;z-index:300;background:rgba(5,15,30,.88);display:none;align-items:center;justify-content:center;padding:24px;cursor:zoom-out}
.v2-lightbox.open{display:flex}
.v2-lightbox img{max-width:94vw;max-height:92vh;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.5)}

/* --- product grid --- */
.v2-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.v2-product{border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;color:inherit;text-decoration:none}
a.v2-product:hover{border-color:var(--navy);box-shadow:0 8px 24px rgba(11,37,69,.06);text-decoration:none;color:inherit}
.v2-product figure{margin:0;position:relative;aspect-ratio:4/3;overflow:hidden;background:#eef1f4}
.v2-product figure img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.v2-product:hover figure img{transform:scale(1.03)}
.v2-product .body{padding:18px 20px 20px}
.v2-product h3{margin:0 0 6px;color:var(--navy);font-size:18px;font-weight:600}
.v2-product p{margin:0;font-size:14.5px;color:var(--text);line-height:1.55}
.v2-product .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.v2-product .tags span{font-size:12px;border:1px solid var(--line);padding:1px 8px;color:var(--steel)}

/* --- gallery --- */
.v2-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:220px;gap:12px}
.v2-gallery figure{margin:0;position:relative;overflow:hidden;background:#dfe6ee}
.v2-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.v2-gallery figure:hover img{transform:scale(1.04)}
.v2-gallery .w2{grid-column:span 2}
.v2-gallery .h2{grid-row:span 2}
.v2-gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:30px 14px 10px;background:linear-gradient(transparent,rgba(7,24,44,.85));color:#fff;font-size:14.5px;font-weight:600}
.v2-gallery figcaption small{display:block;font-weight:400;font-size:12.5px;opacity:.82}
.v2-gallery figcaption em{font-style:normal;font-size:11px;opacity:.7;margin-left:6px;font-weight:400}

/* --- wide image band with overlay text --- */
.v2-band-img{position:relative;min-height:420px;display:flex;align-items:flex-end;background:#0b2545 center/cover no-repeat;color:#fff}
.v2-band-img::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,24,44,.9),rgba(7,24,44,.55) 50%,rgba(7,24,44,.1))}
.v2-band-img .wrap{position:relative;padding:56px 0}
.v2-band-img h2{color:#fff;margin:0 0 10px;font-size:clamp(26px,3vw,36px);font-weight:600}
.v2-band-img p{color:rgba(255,255,255,.82);max-width:56ch;margin:0 0 20px}
.v2-band-img .v2-cap{right:14px;bottom:12px}
.v2-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:28px;border-top:1px solid rgba(255,255,255,.22);max-width:860px}
.v2-stats div{padding:16px 18px 0 0}
.v2-stats b{display:block;font-size:28px;font-weight:600;color:#fff;font-family:var(--mono);letter-spacing:-.02em}
.v2-stats span{font-size:13.5px;color:rgba(255,255,255,.7)}

/* --- hero image variant --- */
.home-hero.v2-hero{background:#07182c center right/cover no-repeat;color:#fff;padding:110px 0 96px;border-bottom:0}
.home-hero.v2-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,24,44,.96) 0%,rgba(7,24,44,.82) 42%,rgba(7,24,44,.12) 100%)}
.home-hero.v2-hero .wrap{position:relative}
.home-hero.v2-hero h1{color:#fff;max-width:14em}
.home-hero.v2-hero .lede{color:rgba(255,255,255,.84)}
.home-hero.v2-hero .kicker{color:var(--copper-soft)}
.home-hero.v2-hero .btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.home-hero.v2-hero .btn-secondary:hover{background:rgba(255,255,255,.1)}
.home-hero.v2-hero .v2-cap{right:16px;bottom:14px}

/* --- floor plans (v3: 3D factory styles removed) --- */
.v2-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.v2-plan{border:1px solid var(--line);background:#fff;padding:12px;margin:0}
.v2-plan figcaption{font-size:14px;font-weight:600;color:var(--navy);margin-bottom:8px}
.v2-plan svg{width:100%;height:auto;display:block;background:#f6f8fb}
.v2-plan svg text{font-family:var(--font)}
.v2-legend-inline{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--muted);margin:12px 0 0}
.v2-legend-inline span{display:inline-flex;align-items:center;gap:6px}
.v2-legend-inline i{width:11px;height:11px;display:inline-block}

/* --- timeline --- */
.v2-timeline{border-left:2px solid var(--line);margin:10px 0 0 6px;padding-left:22px}
.v2-timeline div{position:relative;margin-bottom:12px;font-size:15px}
.v2-timeline div::before{content:"";position:absolute;left:-29px;top:8px;width:10px;height:10px;background:#fff;border:2px solid var(--navy);border-radius:50%}
.v2-timeline b{font-family:var(--mono);color:var(--navy);margin-right:10px;font-weight:600}

.v2-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.v2-split figure{margin:0;position:relative;border:1px solid var(--line)}
.v2-split figure img{width:100%;display:block}
.v2-notice{border-left:3px solid var(--copper);background:var(--paper-2);padding:12px 16px;font-size:14px;color:var(--text);margin:16px 0}
.v2-wa-inline{display:inline-flex;align-items:center;gap:8px}
.v2-wa-inline svg{width:18px;height:18px}

@media (max-width:1100px){
  .v2-certs .row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v2-certs .intro{grid-column:1/-1}
  .v2-plans{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .v2-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v2-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v2-split{grid-template-columns:1fr;gap:28px}
  .v2-cert-grid{grid-template-columns:1fr}
  .v2-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .v2-certs .row{grid-template-columns:1fr 1fr;gap:10px}
  .v2-cert-mini{flex-direction:column;align-items:flex-start;gap:8px}
  .v2-products{grid-template-columns:1fr}
  .v2-gallery{grid-template-columns:1fr;grid-auto-rows:200px}
  .v2-gallery .w2{grid-column:auto}.v2-gallery .h2{grid-row:auto}
  .v2-cert-card{grid-template-columns:104px 1fr;gap:12px;padding:12px}
  .v2-cert-card .thumb img{width:102px;height:144px}
  .v2-plans{grid-template-columns:1fr}
  .home-hero.v2-hero{padding:64px 0 56px;background-position:70% center}
  .home-hero.v2-hero::before{background:linear-gradient(180deg,rgba(7,24,44,.92),rgba(7,24,44,.78))}
  .v2-band-img{min-height:360px}
}
.v2-cert-mini > span{min-width:0}
.v2-cert-mini small{white-space:normal;word-break:break-word;font-size:11.5px}
.v2-plans{grid-template-columns:repeat(2,minmax(0,1fr))}
.v2-split figure img{aspect-ratio:4/3;object-fit:cover;height:auto}
@media (max-width:600px){.v2-plans{grid-template-columns:1fr}}
@media (max-width:600px){
}
