/* Why ProTech — page presentation (redesign agent 12).
   Linked ONLY from why-protech.html. All rules are scoped under
   body.why-protech so nothing leaks to other pages.
   Tokens: --navy/--teal/--blue/--line come from main.css; the rest
   are defined here with the contract names.
   Motion: transform + opacity only, finite or user-triggered.
   Teal #20C9C0 is NEVER used for text on light backgrounds
   (2.06:1, fails AA); it appears as text only on navy (9.07:1). */
body.why-protech{
  --ink:#0B1220;
  --muted:#5B6472;
  --paper:#fff;
  --navy-2:#12203A;
  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:18px;
  --shadow-lg:0 24px 48px rgba(11,18,32,.16);
  --ease-out:cubic-bezier(.22,.61,.36,1);
  --dur-fast:150ms;
  --dur-normal:350ms;
  --dur-slow:650ms;
}

/* ---------- Shared reveal (JS adds .reveal, then .is-visible) ---------- */
.why-protech .reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity var(--dur-normal) var(--ease-out),
             transform var(--dur-normal) var(--ease-out);
}
.why-protech .reveal.is-visible{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){
  .why-protech .reveal{opacity:1;transform:none;transition:none;}
}

/* ---------- Hero: layered abstract art + CTA shine ---------- */
.why-protech .hero{position:relative;overflow:hidden;}
.why-protech .hero .wrap > :not(.wp-hero-art){position:relative;z-index:1;}
.wp-hero-art{
  position:absolute;top:50%;right:-60px;width:520px;height:520px;
  opacity:.55;pointer-events:none;
}
.wp-hero-art svg{width:100%;height:100%;display:block;}
/* The art is vertically centred, so its reveal state keeps that transform. */
.why-protech .wp-hero-art.reveal{transform:translateY(-50%) rotate(-6deg);opacity:0;}
.why-protech .wp-hero-art.reveal.is-visible{transform:translateY(-50%) rotate(0deg);opacity:.55;}
@media (max-width:1100px){
  .wp-hero-art{width:400px;height:400px;right:-120px;opacity:.35;}
  .why-protech .wp-hero-art.reveal.is-visible{opacity:.35;}
}
@media (max-width:640px){.wp-hero-art{display:none;}}
.why-protech .hero .hero-cta .btn{position:relative;overflow:hidden;}
.why-protech .hero .hero-cta .btn::after{
  content:"";position:absolute;top:0;left:-80%;width:50%;height:100%;
  background:rgba(255,255,255,.25);transform:skewX(-20deg);
  transition:transform var(--dur-slow) var(--ease-out);pointer-events:none;
}
.why-protech .hero .hero-cta .btn:hover::after{transform:translateX(320%) skewX(-20deg);}

/* ---------- Section openers: teal rule + stronger intro line ---------- */
.why-protech main section h2::before{
  content:"";display:block;width:44px;height:4px;border-radius:2px;
  background:var(--teal);margin-bottom:16px;
}
.why-protech main section > .wrap > h2 + p{
  font-size:18px;line-height:1.65;color:#374151;max-width:760px;
}

/* ---------- Cards, page-wide: depth on hover ---------- */
.why-protech .card{
  transition:box-shadow var(--dur-normal) var(--ease-out),
             transform var(--dur-normal) var(--ease-out),
             border-color var(--dur-normal) var(--ease-out),
             background-color var(--dur-normal) var(--ease-out);
}
.why-protech .card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:#CBD2DC;
}

/* ---------- "What you can check": teal top rule ---------- */
.why-protech .wp-check .card{border-top:4px solid var(--teal);}

/* ---------- Principle glyphs (abstract SVG, no text, no claims) ---------- */
.wp-glyph{
  display:flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:16px;background:#E6F7F6;margin-bottom:16px;
  transition:transform var(--dur-normal) var(--ease-out);
}
.wp-glyph svg{width:30px;height:30px;display:block;}
.why-protech .card:hover .wp-glyph{transform:rotate(-6deg) scale(1.05);}

/* ---------- Five commitments: gradient top bar + glyphs ---------- */
.why-protech .wp-commitments .card{position:relative;padding-top:28px;}
.why-protech .wp-commitments .card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:4px;
  border-radius:14px 14px 0 0;background:linear-gradient(90deg,var(--teal),var(--blue));
}

/* ---------- "What we are not": dark inverted interlude ---------- */
.why-protech .wp-not{background:var(--navy);color:#fff;}
.why-protech .wp-not h2{color:#fff;}
.why-protech .wp-not .wrap > h2 + p,
.why-protech .wp-not p{color:#D7DEE8;}
.why-protech .wp-not .card{
  position:relative;background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.16);box-shadow:none;
}
.why-protech .wp-not .card::before{
  content:"";position:absolute;left:0;top:24px;bottom:24px;width:3px;
  border-radius:2px;background:var(--teal);
}
.why-protech .wp-not .card h3{color:#fff;}
.why-protech .wp-not .card:hover{
  border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07);
  box-shadow:0 16px 32px rgba(0,0,0,.35);
}

/* ---------- Delivery: glowing active step ---------- */
.why-protech .wp-delivery .step-pill.active{box-shadow:0 0 0 3px rgba(32,201,192,.35);}

/* ---------- Week-by-week pilot: vertical timeline (desktop) ---------- */
@media (min-width:900px){
  .why-protech .wp-weeks .grid{grid-template-columns:1fr;position:relative;padding-left:40px;}
  .why-protech .wp-weeks .grid::before{
    content:"";position:absolute;left:13px;top:12px;bottom:12px;width:2px;background:var(--line);
  }
  .why-protech .wp-weeks .card{position:relative;}
  .why-protech .wp-weeks .card::before{
    content:"";position:absolute;left:-33px;top:30px;width:14px;height:14px;
    border-radius:50%;background:var(--teal);border:3px solid #fff;
    box-shadow:0 0 0 1px var(--line);
  }
}

/* ---------- Checklists (buyer + agreed): teal check discs ---------- */
.wp-checklist{list-style:none;padding-left:0;margin:20px 0;}
.wp-checklist li{position:relative;padding-left:36px;margin-bottom:12px;}
.wp-checklist li::before{
  content:"";position:absolute;left:0;top:3px;width:22px;height:22px;border-radius:50%;
  background-color:#E6F7F6;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4L19 6' fill='none' stroke='%230B1220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:12px 12px;
}

/* ---------- Honest limits: dashed boundary rule ---------- */
.why-protech .wp-limits .card{border-top:2px dashed #CBD2DC;}

/* ---------- Security: glyphs on a blue-soft disc ---------- */
.why-protech .wp-security .wp-glyph{background:#EEF4FF;}

/* ---------- FAQ: hover + open emphasis ---------- */
.why-protech .wp-faq .faq details{
  transition:border-color var(--dur-normal) var(--ease-out),
             box-shadow var(--dur-normal) var(--ease-out);
}
.why-protech .wp-faq .faq details:hover{border-color:var(--blue);}
.why-protech .wp-faq .faq details[open]{border-color:var(--blue);box-shadow:var(--shadow-md);}

/* ---------- Objections: editorial 2-column + teal spine ---------- */
@media (min-width:900px){
  .why-protech .wp-objections .grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
.why-protech .wp-objections .card{position:relative;padding:28px;}
.why-protech .wp-objections .card::before{
  content:"";position:absolute;left:0;top:24px;bottom:24px;width:4px;
  border-radius:2px;background:var(--teal);
}
.why-protech .wp-objections .card h3{font-size:22px;}
.why-protech .wp-objections .grid + p,
.why-protech .wp-objections .grid + p + p{text-align:center;}

/* ---------- "What we cannot show": hollow markers (openly empty) ---------- */
.wp-empty-ledger{list-style:none;padding-left:0;margin:20px 0;}
.wp-empty-ledger li{position:relative;padding-left:30px;margin-bottom:12px;}
.wp-empty-ledger li::before{
  content:"";position:absolute;left:0;top:5px;width:13px;height:13px;
  border-radius:50%;border:2px solid var(--teal);background:transparent;
}

/* ---------- Closing CTA: navy monumental panel + orbit art ---------- */
.why-protech .wp-close .wrap > .card{
  position:relative;overflow:hidden;background:var(--navy);color:#fff;
  border-color:var(--navy);padding:40px;box-shadow:var(--shadow-lg);
}
.why-protech .wp-close .wrap > .card > *{position:relative;z-index:1;}
.why-protech .wp-close .wrap > .card h2{color:#fff;}
.why-protech .wp-close .wrap > .card p{color:#D7DEE8;}
.why-protech .wp-close .wrap > .card p.small{color:#C7CDD6;}
.why-protech .wp-close .wrap > .card:hover{transform:none;border-color:var(--navy);}
.wp-close-art{
  position:absolute;top:-40px;right:-40px;width:340px;height:340px;
  opacity:.5;pointer-events:none;
}
.wp-close-art svg{width:100%;height:100%;display:block;}
@media (max-width:640px){
  .why-protech .wp-close .wrap > .card{padding:28px 24px;}
  .wp-close-art{width:240px;height:240px;opacity:.35;}
}
