/* Huichol (Wixárika)-inspired accent layer, warm "family colors" palette (creams, beiges, warm grays, browns) (~25% of the design).
   Original geometric beadwork / yarn-art patterns, not copied from any artist.
   Base look (navy -> blue speed lines, #FFE600 accents) lives in styles.css. */
:root{--hx-cream:#F3E6CC;--hx-beige:#D9C3A0;--hx-gray:#A89A8A;--hx-brown:#8A5A3B;--hx-dbrown:#4A2F22;--hx-orange:#E8862E;--hx-teal:#2BA59B;--hx-purple:#7A4FA3;
  --hx-band:url("assets/hx-band.svg");--hx-band-v:url("assets/hx-band-v.svg");--hx-yarn:url("assets/hx-yarn.svg")}

/* header: multicolor yarn line */
.hx .site-header::after{height:3px;background:linear-gradient(90deg,var(--hx-brown) 0 18%,var(--hx-beige) 18% 34%,var(--yellow) 34% 50%,var(--hx-cream) 50% 64%,var(--blue-hi) 64% 86%,var(--hx-brown) 86%)}

/* hero frame: beaded top band + left beaded strip */
.hx-frame{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hx-frame::before{content:"";position:absolute;left:0;right:0;top:0;height:12px;background:var(--hx-band) left top/auto 12px repeat-x}
.hx-frame::after{content:"";position:absolute;left:0;top:12px;bottom:60px;width:10px;background:var(--hx-band-v) left top/10px auto repeat-y}
.hx .hero-inner{padding-left:32px}
@media (min-width:1220px){.hx .hero-inner{padding-left:20px}}
/* dot rosette, generic geometric flower */
.hx-rosette{position:absolute;z-index:-1;pointer-events:none;width:300px;height:300px;right:-160px;top:-195px;opacity:.4;
  background:url("assets/hx-rosette.svg") center/contain no-repeat;animation:hxspin 80s linear infinite}
@media (min-width:900px){.hx-rosette{width:480px;height:480px;right:4%;top:50%;margin-top:-240px;opacity:.9}}
@keyframes hxspin{to{transform:rotate(360deg)}}

/* section dividers: beaded band with yarn rails */
.hx-div{position:relative;z-index:2;height:22px;background:
  linear-gradient(var(--hx-beige),var(--hx-beige)) top/100% 3px no-repeat,
  linear-gradient(var(--hx-brown),var(--hx-brown)) bottom/100% 3px no-repeat,
  var(--hx-band) left center/auto 16px repeat-x;
  background-color:#2a1d16}
/* the How section uses a slanted clip; keep it flat next to dividers */
.hx .how{clip-path:none;padding:90px 0}

/* buttons: beaded bottom edge, yellow speed tab stays */
.hx .btn-push{background:var(--hx-band) left bottom/auto 6px repeat-x,linear-gradient(180deg,var(--blue-hi) 0%,var(--blue) 45%,var(--blue-lo) 100%)}
.hx .btn-dark{background:var(--hx-band) left bottom/auto 6px repeat-x,linear-gradient(180deg,#0f2160 0%,#06123a 55%,#030817 100%)}
.hx .btn-ghost{box-shadow:inset 0 0 0 2px rgba(159,208,255,.45),inset 5px 0 0 var(--hx-beige),0 5px 0 rgba(0,0,0,.45)}
.hx .btn-ghost:hover{box-shadow:inset 0 0 0 2px var(--hx-cream),inset 5px 0 0 var(--hx-beige),0 5px 0 rgba(0,0,0,.45)}

/* kicker dash: yarn colors */
.hx .kicker::before{width:40px;background:linear-gradient(90deg,var(--yellow) 0 25%,var(--hx-beige) 25% 50%,var(--hx-brown) 50% 75%,var(--blue-hi) 75%)}

/* why cards: beaded top edge, rotating accent colors */
.hx .card{background:var(--hx-band) left top/auto 8px repeat-x,linear-gradient(160deg,var(--navy-4) 0%,var(--navy-3) 50%,var(--navy-2) 100%);padding-top:28px}
.hx .card:nth-child(2){border-left-color:var(--hx-beige)}
.hx .card:nth-child(3){border-left-color:var(--hx-cream)}
.hx .card:nth-child(4){border-left-color:var(--hx-brown)}
.hx .card::before{top:8px}

/* steps: colored bead shadows */
.hx .step:nth-child(2) .step-num{box-shadow:4px 4px 0 var(--hx-beige)}
.hx .step:nth-child(3) .step-num{box-shadow:4px 4px 0 var(--hx-brown)}
.hx .step{border-left:4px solid transparent;border-image:linear-gradient(180deg,var(--hx-cream),var(--hx-beige),var(--yellow),var(--hx-brown),var(--hx-dbrown)) 1}

/* services: icon colors cycle */
.hx .svc:nth-child(2) .svc-ico{color:var(--hx-cream);box-shadow:inset 0 0 0 1px rgba(243,230,204,.55)}
.hx .svc:nth-child(3) .svc-ico{color:var(--hx-beige);box-shadow:inset 0 0 0 1px rgba(217,195,160,.55)}
.hx .svc:nth-child(4) .svc-ico{color:var(--hx-orange);box-shadow:inset 0 0 0 1px rgba(232,134,46,.55)}

/* mission: yarn-art side panel */
.hx-panel{position:absolute;left:0;right:0;bottom:0;height:70px;background:var(--hx-yarn) left top/48px 48px repeat;
  clip-path:polygon(0 30%,100% 0,100% 100%,0 100%);pointer-events:none}
.hx .mission{padding-bottom:140px}
@media (min-width:900px){
  .hx-panel{left:auto;top:0;height:auto;width:32%;clip-path:polygon(18% 0,100% 0,100% 100%,0 100%)}
  .hx .mission{padding-bottom:96px}
}
.hx .mission::before{display:none}
.hx .mission blockquote{border-image:linear-gradient(180deg,var(--yellow) 0 30%,var(--hx-beige) 30% 55%,var(--hx-brown) 55% 80%,var(--blue-hi) 80%) 1;border-left-width:6px;border-left-style:solid}
.hx .mission blockquote::before{display:none}

/* service area: beaded left edge on the city panel, colorful town chips */
.hx .city-panel{border-left:0;padding-left:34px}
.hx .city-panel::before{content:"";position:absolute;left:0;top:0;width:12px;height:100%;background:var(--hx-band-v) left top/12px auto repeat-y;transform:none}
.hx .cities li:nth-child(2)::before{background:var(--hx-beige)}
.hx .cities li:nth-child(3)::before{background:var(--hx-cream)}
.hx .towns li:nth-child(4n+1){border-color:rgba(217,195,160,.5)}
.hx .towns li:nth-child(4n+2){border-color:rgba(168,154,138,.5)}
.hx .towns li:nth-child(4n+3){border-color:rgba(138,90,59,.8)}

/* CTA band: beaded stripe inside the blue band (no colored text on blue) */
.hx .cta-band{padding:86px 0}
.hx .cta-band::after{display:none;content:"";position:absolute;left:0;right:0;bottom:30px;height:12px;background:var(--hx-band) left center/auto 12px repeat-x;transform:skewY(-1.2deg);transform-origin:left}

/* contact: beaded top on the quote card, colored icons */
.hx .quote{border-top:0;padding-top:34px;background:var(--hx-band) left top/auto 10px repeat-x,var(--navy-1)}
.hx .quote::before{top:10px}
.hx .contact-facts li:nth-child(2) .ico{color:var(--hx-beige)}
.hx .contact-facts li:nth-child(3) .ico{color:var(--hx-cream)}

/* footer: beaded top band */
.hx .site-footer{border-top:0;position:relative;padding-top:60px}
.hx .site-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:14px;background:var(--hx-band) left center/auto 14px repeat-x}

@media (min-width:900px){
  .hx-frame::before{height:16px;background-size:auto 16px}
  .hx-frame::after{top:16px;width:14px;background-size:14px auto}
  .hx-div{height:28px;background-size:100% 3px,100% 3px,auto 22px}
  .hx .site-footer::before{height:18px;background-size:auto 18px}
}
@media (prefers-reduced-motion:reduce){.hx-rosette{animation:none}}

/* ---------- Round 3: bold racing stripes + speed lines (original), Huichol ~35% ---------- */
/* electric base for beaded buttons */
.hx .btn-push{background:var(--hx-band) left bottom/auto 6px repeat-x,linear-gradient(180deg,#4CC3FF 0%,var(--electric) 48%,#0A6FE6 100%)}
.hx .btn-push.btn-dark{background:var(--hx-band) left bottom/auto 6px repeat-x,linear-gradient(180deg,#0f2160 0%,#06123a 55%,#030817 100%)}
/* hero racing stripes: two bold electric-blue bars + one yellow, skewed */
.hx-race{position:absolute;z-index:-1;pointer-events:none;left:-10%;right:-10%;bottom:70px;height:70px;transform:rotate(-6deg)}
.hx-race i{position:absolute;left:0;right:0;transform:skewX(-35deg);display:block}
.hx-race i:nth-child(1){top:0;height:18px;background:linear-gradient(90deg,transparent 0,var(--electric) 30%,var(--electric-hi) 100%);box-shadow:0 0 18px rgba(0,180,255,.5)}
.hx-race i:nth-child(2){top:26px;height:10px;background:linear-gradient(90deg,transparent 10%,var(--yellow) 45%,var(--yellow) 100%);box-shadow:0 0 14px var(--yellow-glow)}
.hx-race i:nth-child(3){top:44px;height:6px;background:linear-gradient(90deg,transparent 20%,var(--electric-hi) 60%)}
@media (min-width:900px){.hx-race{left:30%;bottom:90px;height:90px}.hx-race i:nth-child(1){height:24px}.hx-race i:nth-child(2){top:34px;height:12px}.hx-race i:nth-child(3){top:56px;height:8px}}
/* section transitions: angled racing stripe block over each beaded divider */
.hx-div::before,.hx-div::after{content:"";position:absolute;top:-10px;bottom:-10px;transform:skewX(-35deg);z-index:3}
.hx-div::before{right:14%;width:46px;background:var(--electric-hi);box-shadow:0 0 14px rgba(0,180,255,.55)}
.hx-div::after{right:calc(14% + 58px);width:20px;background:var(--yellow);box-shadow:0 0 12px var(--yellow-glow)}
.hx-div:nth-of-type(even)::before{right:auto;left:12%}
.hx-div:nth-of-type(even)::after{right:auto;left:calc(12% + 58px)}
/* background streaks in sections (blue + yellow, low opacity so text stays clear) */
.hx .why,.hx .services,.hx .contact{background:
  repeating-linear-gradient(115deg,transparent 0 160px,rgba(0,180,255,.10) 160px 163px,transparent 163px 250px,rgba(255,230,0,.07) 250px 252px,transparent 252px 340px),var(--navy-2)}
.hx .area{background:repeating-linear-gradient(115deg,transparent 0 180px,rgba(0,180,255,.09) 180px 183px,transparent 183px 300px,rgba(255,230,0,.06) 300px 302px,transparent 302px 380px),var(--navy-1)}
/* Huichol: service cards with beaded left edge; featured card beaded top */
.hx .svc{background:var(--hx-band-v) left top/10px auto repeat-y,linear-gradient(90deg,var(--navy-3),var(--navy-2));padding-left:28px}
.hx .svc-feature{background:var(--hx-band) left top/auto 10px repeat-x,radial-gradient(120% 140% at 100% 0%,rgba(0,180,255,.28),transparent 55%),linear-gradient(120deg,#0d2a6e,#071640 70%);padding-left:22px;padding-top:34px}
@media (max-width:560px){.hx .svc-feature{padding-top:46px}.hx .svc-tag{top:12px}}
.hx .svc-tag{top:10px}
/* Why section: yarn strip at bottom edge */
.hx .why{padding-bottom:110px}
.hx .why::after{content:"";position:absolute;left:0;right:0;bottom:0;height:26px;background:var(--hx-yarn) left top/36px 36px repeat;clip-path:polygon(0 40%,100% 0,100% 100%,0 100%);opacity:.9}
/* Footer: beaded band + yarn strip */
.hx .site-footer{padding-top:76px}
.hx .site-footer::after{content:"";position:absolute;left:0;right:0;top:14px;height:20px;background:var(--hx-yarn) left top/36px 36px repeat;opacity:.85}
@media (min-width:900px){.hx .site-footer::after{top:18px}}
/* Call buttons stay dominant: extra electric glow */
.hx .btn-push:not(.btn-dark){box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 5px 0 #0850b8,0 10px 24px rgba(0,0,0,.5),0 0 26px rgba(0,180,255,.6)}
/* review fixes */
@media (max-width:899px){.hx-race{bottom:34px;height:48px}.hx-race i:nth-child(1){height:14px}.hx-race i:nth-child(2){top:20px;height:8px}.hx-race i:nth-child(3){top:34px;height:5px}}
@media (min-width:900px){.hx-rosette{width:380px;height:380px;top:auto;margin-top:0;bottom:120px;right:2%}}
