/*
 * ZoCo Deep-Water Glass — three homepage shortcut cards only.
 * Dark navy translucent glass, gentle gravity droplets confined to the edge,
 * subtle aqua rim highlights, touch/hover feedback, reduced-motion support.
 * This stylesheet REPLACES the prior water effects instead of stacking fixes.
 */

body.home-page .hero .zoco-hero-pathways {
  background:transparent!important;
  border-top:0!important;
  border-bottom:1px solid rgba(238,130,48,.43)!important;
  box-shadow:none!important;
  /* Match the mobile full-width stacked rows on desktop too. */
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  gap:0!important;
  padding:.35rem 0 0!important;
}
body.home-page .hero .zoco-hero-pathways__card {
  box-sizing:border-box;
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  overflow:hidden;
  min-width:0;
  width:100%!important;
  min-height:66px!important;
  gap:clamp(.58rem,1vw,.85rem)!important;
  padding:.34rem clamp(.95rem,2.3vw,2rem)!important;
  border-top:0!important;
  border-right:0!important;
  border-left:0!important;
  border-bottom:1px solid rgba(111,166,195,.45)!important;
  border-radius:0!important;
  /* Keep ZoCo's real industrial photo visible, like glass over dark water. */
  background:rgba(6,19,34,.43)!important;
  backdrop-filter:blur(9px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(9px) saturate(112%)!important;
  color:#f7fafc!important;
  box-shadow:inset 0 1px 0 rgba(202,237,250,.07)!important;
  transform:none;
  transition:transform .22s ease,background-color .22s ease,
    border-color .22s ease,box-shadow .22s ease;
  -webkit-tap-highlight-color:rgba(88,173,221,.21);
}
body.home-page .hero .zoco-hero-pathways__card:first-child{
  border-top:1px solid rgba(111,166,195,.45)!important;
}

/* Flowing reflected light along the narrow perimeter only. */
body.home-page .hero .zoco-hero-pathways__card::before,
body.home-page .hero .zoco-hero-pathways__card::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:0;
  pointer-events:none;
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
}
body.home-page .hero .zoco-hero-pathways__card::before {
  padding:1.8px;
  z-index:2;
  opacity:.83;
  background:
    linear-gradient(122deg,
      rgba(18,67,112,.24) 0%,
      rgba(41,111,165,.62) 13%,
      rgba(126,192,222,.54) 22%,
      rgba(35,107,164,.21) 38%,
      rgba(64,142,183,.57) 52%,
      rgba(179,220,234,.73) 61%,
      rgba(26,91,151,.26) 78%,
      rgba(111,178,210,.48) 91%,
      rgba(17,70,115,.32) 100%);
  background-size:240% 240%;
  animation:zoco-gravity-rim-flow 9.2s ease-in-out infinite alternate;
}

/* Beads form at the top corners, merge into short rivulets and run
   down the left/right edges. 8–10px rim mask means the center stays clear.
   Unlike the previous neon design, there are no free-floating particles. */
body.home-page .hero .zoco-hero-pathways__card::after {
  padding:9px;
  z-index:2;
  opacity:.63;
  background-image:
    radial-gradient(ellipse at center,rgba(215,244,252,.84) 0%,rgba(87,175,215,.75) 38%,transparent 78%),
    radial-gradient(ellipse at center,rgba(189,230,246,.85) 0%,rgba(38,139,197,.72) 40%,transparent 78%),
    radial-gradient(ellipse at center,rgba(222,244,251,.77) 0%,rgba(64,166,211,.72) 38%,transparent 79%),
    radial-gradient(ellipse at center,rgba(174,220,241,.8) 0%,rgba(46,139,198,.66) 39%,transparent 79%),
    radial-gradient(ellipse at center,rgba(199,230,248,.7) 0%,rgba(36,131,194,.57) 42%,transparent 76%),
    radial-gradient(ellipse at center,rgba(185,224,246,.69) 0%,rgba(38,137,193,.55) 40%,transparent 78%),
    linear-gradient(180deg,transparent 0%,rgba(56,150,204,.12) 32%,rgba(147,215,236,.47) 82%,transparent 100%),
    linear-gradient(180deg,transparent 0%,rgba(45,137,194,.12) 32%,rgba(133,204,233,.43) 82%,transparent 100%);
  background-size:
    8px 13px,7px 11px,7px 12px,8px 13px,6px 10px,6px 11px,2px 33px,2px 30px;
  background-position:
    1% -22px,99% -91px,2% -164px,98% -207px,1% -260px,100% -295px,1% -43px,99% -112px;
  background-repeat:no-repeat;
  animation:zoco-gravity-droplets 7.8s linear infinite;
}
body.home-page .hero .zoco-hero-pathways__card > * {
  position:relative;
  z-index:1;
}
body.home-page .hero .zoco-hero-pathways__icon {
  box-sizing:border-box;
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 49px;
  width:49px;
  height:49px;
  border:1px solid rgba(102,164,202,.48)!important;
  border-radius:12px!important;
  background:rgba(5,18,33,.3)!important;
  backdrop-filter:blur(6px)!important;
  -webkit-backdrop-filter:blur(6px)!important;
  color:#b3d9ec!important;
  box-shadow:inset 0 1px 0 rgba(213,239,249,.06),
    0 0 11px rgba(36,123,174,.12)!important;
  filter:none!important;
  animation:none!important;
}
body.home-page .hero .zoco-hero-pathways__icon::before{
  content:none!important;
  animation:none!important;
}
body.home-page .hero .zoco-hero-pathways__icon svg {
  width:23px;height:23px;
  color:#b5dcec!important;
  filter:drop-shadow(0 0 3px rgba(69,158,204,.19))!important;
}
body.home-page .hero .zoco-hero-pathways__content{
  gap:.21rem!important;
  min-width:0;
}
body.home-page .hero .zoco-hero-pathways__kicker{
  color:#98c6de!important;
  font-size:clamp(.61rem,.74vw,.71rem)!important;
  letter-spacing:.11em!important;
  text-shadow:none!important;
}
body.home-page .hero .zoco-hero-pathways__content strong{
  color:#f7fafc!important;
  font-size:clamp(.98rem,1.23vw,1.21rem)!important;
  line-height:1.2!important;
  text-shadow:0 2px 8px rgba(0,0,0,.58);
}
body.home-page .hero .zoco-hero-pathways__description{
  color:rgba(233,242,249,.9)!important;
  font-size:clamp(.76rem,.91vw,.86rem)!important;
  line-height:1.33;
  text-shadow:0 1px 5px rgba(0,0,0,.54);
}
body.home-page .hero .zoco-hero-pathways__arrow{
  flex:0 0 23px;
  width:23px;
  height:24px;
  color:#b6dae9!important;
  font-size:1.32rem!important;
  text-shadow:none!important;
  filter:none!important;
  transition:transform .2s ease,color .2s ease;
}

@keyframes zoco-gravity-rim-flow{
  from{background-position:0% 33%}
  to{background-position:100% 67%}
}
@keyframes zoco-gravity-droplets{
  0%{
    background-position:
      1% -22px,99% -91px,2% -164px,98% -207px,1% -260px,100% -295px,1% -43px,99% -112px;
    opacity:.25;
  }
  15%{opacity:.67}
  83%{opacity:.67}
  100%{
    background-position:
      1% 127%,99% 134%,2% 129%,98% 140%,1% 125%,100% 130%,1% 136%,99% 141%;
    opacity:.24;
  }
}
@media(hover:hover) and (pointer:fine){
  body.home-page .hero .zoco-hero-pathways__card:hover{
    transform:translateY(-2px)!important;
    border-color:rgba(138,205,232,.78)!important;
    background:rgba(6,19,34,.36)!important;
    box-shadow:
      inset 0 1px 0 rgba(219,239,250,.1),
      0 0 21px rgba(39,134,187,.18),
      0 14px 28px rgba(0,0,0,.37)!important;
  }
  body.home-page .hero .zoco-hero-pathways__card:hover::before{
    opacity:.98;
    animation-duration:6.4s;
  }
  body.home-page .hero .zoco-hero-pathways__card:hover::after{
    opacity:.81;
    animation-duration:5s;
  }
  body.home-page .hero .zoco-hero-pathways__card:hover .zoco-hero-pathways__icon {
    border-color:rgba(147,207,232,.75)!important;
    box-shadow:inset 0 1px 0 rgba(235,249,254,.1),0 0 17px rgba(69,160,211,.24)!important;
  }
  body.home-page .hero .zoco-hero-pathways__card:hover .zoco-hero-pathways__arrow{
    transform:translate(3px,-2px);
    color:#e4f5fa!important;
  }
}
body.home-page .hero .zoco-hero-pathways__card:active{
  transform:scale(.992)!important;
  background:rgba(6,24,44,.4)!important;
  border-color:rgba(174,224,240,.85)!important;
  box-shadow:inset 0 1px 0 rgba(216,242,250,.12),
    0 0 22px rgba(56,162,215,.24)!important;
}
body.home-page .hero .zoco-hero-pathways__card:focus-visible{
  outline:3px solid #badce9!important;
  outline-offset:3px!important;
}
body.home-page .hero .zoco-hero-pathways__card:focus-visible::before{
  opacity:1;
  animation-duration:6.4s;
}

/* Center the content GROUP on desktop/tablet while the liquid-glass
   rows and their separators continue spanning the full hero width.
   Do not center/alter the mobile layouts. */
/* Desktop: center the compact, individually rounded glass cards across
   the full hero width, without moving them vertically or changing mobile. */
@media(min-width:951px){
  body.home-page .hero .zoco-hero-pathways{
    width:min(500px,calc(100% - 2.5rem))!important;
    max-width:500px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    transform:none!important;
    gap:.38rem!important;
    padding:0 0 .08rem!important;
  }
  body.home-page .hero .zoco-hero-pathways__card{
    min-height:66px!important;
    padding:.35rem 1.05rem!important;
    border:1px solid rgba(112,176,205,.51)!important;
    border-radius:15px!important;
    justify-content:center!important;
    box-shadow:inset 0 1px 0 rgba(209,234,248,.08),
      0 7px 20px rgba(1,6,11,.24)!important;
  }
  body.home-page .hero .zoco-hero-pathways__card:first-child{
    border-top:1px solid rgba(112,176,205,.51)!important;
  }
  body.home-page .hero .zoco-hero-pathways__card::before,
  body.home-page .hero .zoco-hero-pathways__card::after{
    border-radius:inherit!important;
  }
  body.home-page .hero .zoco-hero-pathways__content{
    flex:0 1 307px!important;
    width:307px!important;
    max-width:307px!important;
    min-width:0!important;
    gap:.12rem!important;
  }
  body.home-page .hero .zoco-hero-pathways__icon{
    flex:0 0 40px!important;
    width:40px!important;height:40px!important;
    border-radius:10px!important;
  }
  body.home-page .hero .zoco-hero-pathways__icon svg{
    width:20px!important;height:20px!important;
  }
  body.home-page .hero .zoco-hero-pathways__content strong{
    font-size:clamp(.91rem,1.05vw,1.08rem)!important;
    line-height:1.14!important;
  }
  body.home-page .hero .zoco-hero-pathways__description{
    font-size:clamp(.7rem,.8vw,.8rem)!important;
    line-height:1.2!important;
  }
  body.home-page .hero .zoco-hero-pathways__arrow{
    flex-basis:20px!important;width:20px!important;
    font-size:1.15rem!important;
  }
}
/* Intermediate single-column hero: retain comfortable centered positioning. */
@media(min-width:661px) and (max-width:950px){
  body.home-page .hero .zoco-hero-pathways{
    width:min(500px,calc(100% - 2.5rem))!important;
    max-width:500px!important;
    margin-inline:auto!important;
    transform:none!important;
    gap:.38rem!important;
    padding:0 0 .08rem!important;
  }
  body.home-page .hero .zoco-hero-pathways__card{
    border:1px solid rgba(112,176,205,.51)!important;
    border-radius:15px!important;
    justify-content:center!important;
    min-height:66px!important;
    padding:.35rem 1.05rem!important;
  }
  body.home-page .hero .zoco-hero-pathways__card::before,
  body.home-page .hero .zoco-hero-pathways__card::after{
    border-radius:inherit!important;
  }
  body.home-page .hero .zoco-hero-pathways__content{
    flex:0 1 307px!important;
    width:307px!important;
    max-width:307px!important;
  }
}
@media(max-width:1020px) and (min-width:661px){
  body.home-page .hero .zoco-hero-pathways__card{
    min-height:66px!important;
    padding:.34rem 1.25rem!important;
    gap:.7rem!important;
  }
  body.home-page .hero .zoco-hero-pathways__icon{flex-basis:40px;width:40px;height:40px}
  body.home-page .hero .zoco-hero-pathways__icon svg{width:21px;height:21px}
  body.home-page .hero .zoco-hero-pathways__content strong{font-size:1.07rem!important}
}
@media(max-width:660px){
  /* Full-width phone rail, with slender gutters for 3 separate rounded glass cards.
     Preserve the copper section divider directly beneath the last card. */
  body.home-page .hero .zoco-hero-pathways{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    gap:.36rem!important;
    padding:.3rem .46rem 0!important;
    border-top:0!important;
    border-bottom:1px solid rgba(238,130,48,.43)!important;
  }
  body.home-page .hero .zoco-hero-pathways__card{
    width:100%!important;
    min-width:0!important;
    min-height:70px!important;
    margin:0!important;
    border:1px solid rgba(111,166,195,.5)!important;
    border-radius:16px!important;
    box-shadow:inset 0 1px 0 rgba(220,244,251,.055),0 4px 11px rgba(0,0,0,.19)!important;
    padding:.4rem 1rem!important;
    gap:.66rem!important;
    background:rgba(6,19,34,.40)!important;
    backdrop-filter:blur(7px) saturate(108%)!important;
    -webkit-backdrop-filter:blur(7px) saturate(108%)!important;
  }
  body.home-page .hero .zoco-hero-pathways__card:first-child{
    border-top:1px solid rgba(111,166,195,.5)!important;
  }
  body.home-page .hero .zoco-hero-pathways__card::before {
    border-radius:inherit!important;
    padding:1px;
    opacity:.58;
  }
  body.home-page .hero .zoco-hero-pathways__card::after {
    border-radius:inherit!important;
    padding:5px;
    opacity:.36;
    animation-duration:9.6s;
  }
  body.home-page .hero .zoco-hero-pathways__icon{
    flex:0 0 36px!important;
    width:36px!important;
    height:36px!important;
    border-radius:11px!important;
    border-color:rgba(100,157,188,.4)!important;
  }
  body.home-page .hero .zoco-hero-pathways__icon svg{width:19px!important;height:19px!important}
  body.home-page .hero .zoco-hero-pathways__content{gap:.09rem!important;min-width:0!important}
  body.home-page .hero .zoco-hero-pathways__content strong{
    font-size:clamp(.94rem,3.98vw,1.05rem)!important;
    line-height:1.13!important;
  }
  body.home-page .hero .zoco-hero-pathways__description{
    font-size:clamp(.69rem,2.9vw,.77rem)!important;
    line-height:1.22!important;
  }
  body.home-page .hero .zoco-hero-pathways__kicker{
    font-size:.56rem!important;
    line-height:1.13!important;
    letter-spacing:.11em!important;
  }
  body.home-page .hero .zoco-hero-pathways__arrow{
    flex:0 0 20px!important;
    width:20px!important;
    height:20px!important;
    font-size:1.17rem!important;
  }
  body.home-page .hero .zoco-hero-pathways__card:active{
    transform:none!important;
    background:rgba(15,46,67,.47)!important;
  }
  /* Keep the floating star/contact shortcuts from covering these rows. */
  body.home-page.zoco-shortcuts-onscreen .floating-quick-actions{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
@media(max-width:365px){
  body.home-page .hero .zoco-hero-pathways__card{
    min-height:68px!important;
    padding:.37rem .75rem!important;
    gap:.56rem!important;
  }
  body.home-page .hero .zoco-hero-pathways__icon{
    flex-basis:35px!important;
    width:35px!important;
    height:35px!important;
  }
  body.home-page .hero .zoco-hero-pathways__content strong{font-size:.94rem!important}
  body.home-page .hero .zoco-hero-pathways__description{font-size:.69rem!important}
}
@media(prefers-reduced-motion:reduce){
  body.home-page .hero .zoco-hero-pathways__card,
  body.home-page .hero .zoco-hero-pathways__arrow{transition:none!important}
  body.home-page .hero .zoco-hero-pathways__card::before,
  body.home-page .hero .zoco-hero-pathways__card::after{animation:none!important}
  body.home-page .hero .zoco-hero-pathways__card::after{
    opacity:.38;
    background-position:
      1% 80%,99% 35%,2% 54%,98% 18%,1% 70%,100% 42%,1% 75%,99% 45%;
  }
  body.home-page .hero .zoco-hero-pathways__card:hover,
  body.home-page .hero .zoco-hero-pathways__card:hover .zoco-hero-pathways__arrow{
    transform:none!important;
  }
}


/* Volumetric water UNDER the labels, not just on the outer edges.
   Droplets are created only on the three cards, are pointer-transparent,
   and run at staggered rates; a water ripple appears on interaction. */
body.home-page .hero .zoco-hero-pathways__card>.zoco-water-glass-surface{
  position:absolute!important;
  z-index:0!important;
  inset:0;
  display:block;
  overflow:hidden;
  border-radius:inherit;
  pointer-events:none!important;
  background:
    radial-gradient(circle at var(--water-x,80%) var(--water-y,50%),
      rgba(91,173,207,.13),transparent 30%),
    linear-gradient(110deg,transparent 15%,rgba(146,210,230,.045) 48%,transparent 79%);
}
body.home-page .hero .zoco-water-glass-surface::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,
    transparent 24%,rgba(169,218,235,.065) 48%,transparent 68%);
  background-size:220% 100%;
  animation:zoco-glass-caustic 11s ease-in-out infinite alternate;
}
body.home-page .hero .zoco-water-bead{
  --water-size:7px;
  position:absolute;
  display:block;
  left:var(--water-left,55%);
  top:var(--water-top,12%);
  width:var(--water-size);
  height:calc(var(--water-size) * 1.24);
  border-radius:48% 52% 53% 47% / 39% 39% 61% 61%;
  background:linear-gradient(130deg,rgba(222,247,252,.8),
    rgba(96,184,222,.55) 38%,rgba(29,98,154,.07) 90%);
  box-shadow:inset 1px 1px 1px rgba(233,250,255,.54),
    inset -1px -2px 2px rgba(11,56,93,.16),
    0 0 4px rgba(96,189,225,.13);
  transform:translate3d(0,-16px,0) scale(.7);
  opacity:0;
  animation:zoco-glass-bead-fall var(--water-duration,7s) linear
    var(--water-delay,0s) infinite;
  pointer-events:none;
}
body.home-page .hero .zoco-water-bead::after{
  content:"";
  position:absolute;bottom:76%;left:50%;width:1px;
  height:calc(var(--water-size) * 1.7);
  transform:translateX(-50%);
  background:linear-gradient(180deg,transparent,rgba(146,219,243,.23),transparent);
}
body.home-page .hero .zoco-water-bead[data-direction="up"]{
  border-radius:50%;
  animation-name:zoco-glass-bead-rise;
}
body.home-page .hero .zoco-water-impact{
  position:absolute;
  pointer-events:none;
  z-index:0;
  left:var(--water-touch-x);
  top:var(--water-touch-y);
  width:22px;height:22px;
  border:1px solid rgba(177,226,242,.55);
  border-radius:50%;
  box-shadow:0 0 12px rgba(80,169,206,.15);
  transform:translate(-50%,-50%) scale(.4);
  opacity:0;
  animation:zoco-glass-tap-ripple .74s ease-out forwards;
}
body.home-page .hero .zoco-water-impact::after{
  content:"";position:absolute;inset:5px;
  border:1px solid rgba(148,207,228,.28);border-radius:50%;
}
body.home-page .hero .zoco-hero-pathways__card.zoco-water-interacted
  >.zoco-water-glass-surface{
  background:
    radial-gradient(circle at var(--water-x,80%) var(--water-y,50%),
      rgba(94,182,220,.21),transparent 35%),
    linear-gradient(110deg,transparent 15%,rgba(151,211,230,.065) 48%,transparent 79%);
}
@keyframes zoco-glass-caustic{
  from{background-position:0% 50%;opacity:.48}
  to{background-position:100% 50%;opacity:.85}
}
@keyframes zoco-glass-bead-fall{
  0%{opacity:0;transform:translate3d(0,-20px,0) scale(.58)}
  22%{opacity:.48}
  72%{opacity:.51;transform:translate3d(var(--water-drift,4px),27px,0) scale(.96)}
  100%{opacity:0;transform:translate3d(var(--water-drift,4px),61px,0) scale(1.08)}
}
@keyframes zoco-glass-bead-rise{
  0%{opacity:0;transform:translate3d(0,35px,0) scale(.6)}
  23%{opacity:.34}
  75%{opacity:.4;transform:translate3d(var(--water-drift,-3px),-9px,0) scale(.92)}
  100%{opacity:0;transform:translate3d(var(--water-drift,-3px),-31px,0) scale(.67)}
}
@keyframes zoco-glass-tap-ripple{
  0%{opacity:.66;transform:translate(-50%,-50%) scale(.45)}
  70%{opacity:.26}
  100%{opacity:0;transform:translate(-50%,-50%) scale(5.6)}
}
@media(max-width:660px){
  body.home-page .hero .zoco-water-bead{
    opacity:0;
  }
  body.home-page .hero .zoco-water-glass-surface::before{
    animation-duration:12.5s;
  }
}
@media(prefers-reduced-motion:reduce){
  body.home-page .hero .zoco-water-glass-surface::before,
  body.home-page .hero .zoco-water-bead,
  body.home-page .hero .zoco-water-impact{
    animation:none!important;
  }
  body.home-page .hero .zoco-water-bead{opacity:.15!important;transform:none!important}
  body.home-page .hero .zoco-water-impact{display:none!important}
}
