/* ============================================================
   KINGZ DIGITALZ — extras.css
   Loaded on every page AFTER the page's main stylesheet, so your
   own edits in style.css / card.css stay exactly as they are.
     1. Brand lockup: crown emblem + gold "KINGZ DIGITALZ" wordmark
     2. Price guide table (Services page)
   ============================================================ */

/* ---------------- 1. brand lockup ---------------- */
.brand-lockup{display:flex;align-items:center;gap:11px;line-height:1;text-decoration:none}
/* the footer's link rule (.footer-col a) is more specific and set display:block, so match it */
.footer-col a.brand-lockup,a.brand-lockup{display:flex;align-items:center;margin:0;padding:0;font-size:inherit}
.footer-col a.brand-lockup:hover{color:inherit}
.brand-emblem{width:auto;height:42px;display:block;flex-shrink:0;
  filter:drop-shadow(0 0 10px rgba(198,255,0,.18));transition:transform .5s cubic-bezier(.22,.61,.36,1)}
.brand-lockup:hover .brand-emblem{transform:rotate(-6deg) scale(1.06)}

.brand-word{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.brand-word b{font-family:'Orbitron','Arial Black',sans-serif;font-weight:900;font-size:1.28rem;
  letter-spacing:.06em;line-height:1;
  background:linear-gradient(180deg,#fff4bf 0%,#f6d266 30%,#d69b1e 55%,#f3cf6a 76%,#9c6408 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.7)) drop-shadow(0 0 7px rgba(214,155,30,.28))}
/* the Z carries the green, like the printed logo */
.brand-word b i{font-style:normal;
  background:linear-gradient(180deg,#eaffa0 0%,#a6f000 42%,#3f9a00 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.brand-word small{font-family:'Orbitron','Arial',sans-serif;font-weight:600;font-size:.5rem;
  letter-spacing:.56em;margin-right:-.56em;color:#e2b855;text-transform:uppercase}
.brand-word em{display:none}

/* the header gets slightly less padding so the taller emblem keeps it the same height */
header.nav .nav-inner{padding-top:16px;padding-bottom:16px}

/* ---- footer: bigger, with the lines and tagline from the logo ---- */
.brand-lg{gap:14px}
.brand-lg .brand-emblem{height:64px}
.brand-lg .brand-word b{font-size:1.75rem}
.brand-lg .brand-word small{font-size:.62rem;display:flex;align-items:center;gap:10px}
.brand-lg .brand-word small::before,.brand-lg .brand-word small::after{content:"";width:18px;height:1px;
  background:linear-gradient(90deg,transparent,#e2b855)}
.brand-lg .brand-word small::after{transform:scaleX(-1);margin-left:-.56em}
.brand-lg .brand-word em{display:block;font-style:normal;font-family:'Orbitron','Arial',sans-serif;
  font-size:.5rem;font-weight:600;letter-spacing:.34em;color:#b8f000;margin-top:4px;text-transform:uppercase}

@media (max-width:420px){
  .brand-emblem{height:36px}
  .brand-word b{font-size:1.08rem}
  .brand-word small{font-size:.44rem;letter-spacing:.48em;margin-right:-.48em}
}

/* ---------------- 2. pricing ---------------- */
/* website-type switcher */
.pt-switch{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:6px 0 30px}
.pt-switch[hidden]{display:none}
.pt-label{font-family:var(--mono,'JetBrains Mono',monospace);font-size:.72rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--text-dim,#9AA089)}
.pt-chips{display:flex;flex-wrap:wrap;gap:6px;padding:5px;border:1px solid var(--line,#2a2e21);
  border-radius:100px;background:rgba(0,0,0,.25)}
.pt-chips button{font-family:var(--mono,'JetBrains Mono',monospace);font-size:.72rem;letter-spacing:.04em;
  padding:9px 16px;border-radius:100px;border:0;background:transparent;color:var(--text-dim,#9AA089);
  cursor:pointer;transition:background .25s,color .25s}
.pt-chips button:hover{color:var(--text,#F4F5EC)}
.pt-chips button.on{background:var(--lime,#C6FF00);color:#0a0b09;font-weight:600}
.pt-chips button:focus-visible{outline:2px solid var(--lime,#C6FF00);outline-offset:2px}

/* price inside each package card */
.price-amt{white-space:nowrap;transition:opacity .16s,transform .16s}
.price-amt span{color:var(--text-mute,#6f7564);font-weight:400;margin:0 .1em}
.price-amt.swap{opacity:0;transform:translateY(6px)}
.price-for{margin:-4px 0 18px;font-size:.84rem;color:var(--text-dim,#9AA089)}
.price-for b{color:var(--text,#F4F5EC);font-weight:500}
.home-prices b small{font-size:.5em;font-weight:500;letter-spacing:.06em;text-transform:uppercase;
  color:var(--text-dim,#9AA089);margin-right:4px}

/* the full comparison, folded away */
.price-guide{margin-top:30px;border:1px solid var(--line,#2a2e21);border-radius:18px;
  background:var(--surface,#131510);overflow:hidden}
.pg-head{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:22px 28px;transition:background .25s}
.pg-head::-webkit-details-marker{display:none}
.pg-head:hover{background:rgba(198,255,0,.03)}
.pg-head b{display:block;font-family:var(--display,'Space Grotesk',sans-serif);font-size:1.12rem;font-weight:600}
.pg-head em{display:block;font-style:normal;margin-top:4px;color:var(--text-dim,#9AA089);font-size:.88rem;line-height:1.55}
.pg-chev{width:36px;height:36px;flex-shrink:0;border-radius:50%;border:1px solid var(--line,#2a2e21);position:relative;
  transition:transform .35s cubic-bezier(.22,.61,.36,1),background .25s}
.pg-chev::after{content:"";position:absolute;left:50%;top:44%;width:8px;height:8px;
  border-right:1.6px solid var(--lime,#C6FF00);border-bottom:1.6px solid var(--lime,#C6FF00);
  transform:translate(-50%,-50%) rotate(45deg)}
.price-guide[open] .pg-chev{transform:rotate(180deg);background:rgba(198,255,0,.08)}
.pg-scroll{overflow-x:auto;border-top:1px solid var(--line,#2a2e21)}
.pg-table{width:100%;border-collapse:collapse;min-width:560px}
.pg-table th,.pg-table td{padding:14px 28px;text-align:left;white-space:nowrap}
.pg-table tbody tr{border-top:1px solid var(--line,#2a2e21);transition:background .25s}
.pg-table tbody tr:hover{background:rgba(198,255,0,.04)}
.pg-table thead th{font-family:var(--mono,'JetBrains Mono',monospace);font-size:.68rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--text-dim,#9AA089);font-weight:500;background:rgba(0,0,0,.2)}
.pg-table tbody th{font-family:var(--display,'Space Grotesk',sans-serif);font-weight:600;font-size:.95rem;color:var(--text,#F4F5EC)}
.pg-table td{font-family:var(--mono,'JetBrains Mono',monospace);font-size:.86rem;color:var(--text,#F4F5EC)}
.pg-table .pg-pop{background:rgba(198,255,0,.05)}
.pg-table thead .pg-pop,.pg-table td.pg-pop{color:var(--lime,#C6FF00)}
.pg-note{padding:14px 28px 18px;border-top:1px solid var(--line,#2a2e21);font-size:.78rem;
  color:var(--text-mute,#6f7564);font-family:var(--mono,'JetBrains Mono',monospace)}

@media (max-width:640px){
  .pt-switch{gap:12px}
  .pt-chips{border-radius:16px}
  .pg-head{padding:18px 20px}
  .pg-table{min-width:0}
  .pg-table thead{display:none}
  .pg-table,.pg-table tbody,.pg-table tr{display:block}
  .pg-table tr{padding:14px 20px 16px}
  .pg-table tbody th{display:block;padding:0 0 10px}
  .pg-table td{display:flex;justify-content:space-between;padding:6px 0;background:none!important}
  .pg-table td::before{content:attr(data-tier);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;
    color:var(--text-dim,#9AA089)}
  .pg-note{padding:14px 20px 18px}
}

/* ---------------- 3. contact page: highlight the quote form box ---------------- */
.contact-layout > .contact-panel:last-child{
  border:1px solid var(--lime,#C6FF00);
  box-shadow:0 0 0 1px rgba(198,255,0,.15),0 0 40px rgba(198,255,0,.12)}
.contact-layout > .contact-panel:last-child:focus-within{
  box-shadow:0 0 0 1px rgba(198,255,0,.35),0 0 60px rgba(198,255,0,.22)}

/* ---------------- 4. Digital Business Card page: the two-sided card in the hero ---------------- */
.card-pair-wrap{display:flex;justify-content:center;align-items:center}
/* the hero's picture side gets a little more room on this page, so the card pair can be
   the same size as on the home page; smaller than that and the QR stops scanning */
@media (min-width:941px){
  .hero-grid{grid-template-columns:.88fr 1.12fr}
  /* keeps "Your Business. / One Tap Away." on two lines in the narrower column */
  .hero-grid .h1{font-size:clamp(2.4rem,4vw,3.3rem)}
  .card-pair-wrap .dc-pair{--w:clamp(150px,13.8vw,200px)}
}
/* full size on anything 1200px and wider, so the QR stays big enough to scan */
@media (min-width:1200px){.card-pair-wrap .dc-pair{--w:198px}}
/* wherever the card appears, the QR side stands upright, stays still and gets more room,
   so it scans reliably; the logo side keeps its tilt and float */
.dc-qr{width:70%}
.dc-back{--r:0deg}
.dc-back .dc-contacts{gap:.5em}
.dc-back .dc-rule{margin:.7em 0 .8em}
.hero-visual:hover .dc-back{--x:-7%}
.hero-visual:hover .dc-front{--x:7%}
@media (max-width:940px){.card-pair-wrap .dc-pair{--w:clamp(140px,38vw,190px)}}
/* keep the QR above the moving light sweep, so the sweep never lowers its contrast */
.dc-qr{position:relative;z-index:6}
.dc-back{animation:none;transform:translateX(var(--x)) rotate(var(--r))}
/* QR standard: the white margin (quiet zone) should be at least 4 modules wide.
   Our code has 45 modules, which works out to ~.92em of padding at every card size. */
.dc-qr{padding:.92em}

/* ---------------- 5. "Get a Quote" lands on the form, not the top of the page ----------------
   scroll-margin keeps the form clear of the sticky header when it jumps there. */
#quote{scroll-margin-top:124px}
@media (max-width:860px){#quote{scroll-margin-top:116px}}


/* =========================================
   Floating WhatsApp Button
   ========================================= */

.wa-float {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;

  /* Outer circle */
  width: 44px !important;
  height: 44px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #a8ff00 !important;
  color: #000000 !important;

  border-radius: 50% !important;
  text-decoration: none !important;

  box-shadow:
    0 0 14px rgba(168, 255, 0, 0.45),
    0 0 28px rgba(168, 255, 0, 0.20) !important;

  z-index: 9999 !important;

  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;

  box-sizing: border-box !important;

  transition: transform 0.2s ease !important;
}


/* =========================================
   WhatsApp Phone Icon - Desktop
   ========================================= */

.wa-float svg {
  width: 24px !important;
  height: 24px !important;

  display: block !important;

  fill: #000000 !important;
  color: #000000 !important;

  padding: 0 !important;
  margin: 0 !important;

  /* Overall size */
  transform: scale(1.15) !important;

  flex-shrink: 0 !important;
}


/* =========================================
   Hover Effect
   ========================================= */

.wa-float:hover {
  transform: scale(1.08) !important;
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 700px) {

  .wa-float {
    width: 92px !important;
    height: 52px !important;

    right: 14px !important;
    bottom: 14px !important;
  }

  .wa-float svg {
    width: 33px !important;
    height: 33px !important;

    /*
      CHANGE THIS NUMBER to control
      ONLY the width of the phone icon.
    */
    transform: scaleX(1.5) scaleY(1.15) !important;
  }
}