/* Segura Automation V13 — sector visuals + full founder portrait
   Visual-only changes requested by the user. No marketing copy is changed. */
:root{
  --v13-sector-shadow:0 20px 44px rgba(0,0,0,.18);
  --v13-sector-shadow-hover:0 30px 68px rgba(0,14,38,.34),0 0 0 1px rgba(151,218,255,.14);
}

/* --- Founder photo: never crop the head or hair --- */
.v11-founder{
  grid-template-columns:minmax(236px,280px) 1fr;
  align-items:center;
}
.v11-founder-img{
  aspect-ratio:4 / 5;
  border-radius:24px;
  overflow:hidden;
  padding:0;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#102c4a,#081a30);
  border:1px solid rgba(148,215,255,.18);
  box-shadow:0 20px 46px rgba(2,16,34,.28),inset 0 1px rgba(255,255,255,.06);
}
.v11-founder-img img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center center;
}
/* Founder detail page uses the same complete portrait. */
.v10-founder-portrait{
  background:linear-gradient(180deg,#102c4a,#081a30);
}
.v10-founder-portrait img{
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center top;
}

/* --- Business sector cards ---
   Keep the premium dark identity, but let the artwork be visible at rest.
   On hover/focus the selected example becomes markedly brighter, like a lit display. */
.v11-sector{
  background:#091627;
  border-color:rgba(151,207,247,.18);
  box-shadow:var(--v13-sector-shadow);
  transition:transform .34s cubic-bezier(.2,.72,.2,1),box-shadow .34s ease,border-color .34s ease;
}
.v11-sector::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(circle at 24% 16%,rgba(255,255,255,.11),transparent 31%),
    linear-gradient(125deg,rgba(109,188,255,.09),transparent 52%);
  opacity:.72;
  transition:opacity .35s ease;
}
.v11-sector>img{
  opacity:.93;
  filter:saturate(.96) brightness(.94) contrast(1.03);
  transform:scale(1.005);
  transition:transform .48s cubic-bezier(.2,.72,.2,1),opacity .42s ease,filter .42s ease;
}
/* Preserve readability only where the text sits; do not veil the whole illustration. */
.v11-sector:after{
  z-index:1;
  background:linear-gradient(
    180deg,
    rgba(4,11,21,.01) 0%,
    rgba(4,11,21,.02) 34%,
    rgba(5,13,24,.22) 55%,
    rgba(5,12,22,.68) 77%,
    rgba(4,10,19,.90) 100%
  );
  transition:background .36s ease;
}
.v11-sector-copy{
  z-index:3;
  inset:auto 18px 18px;
  text-shadow:0 2px 12px rgba(0,0,0,.46);
}
.v11-sector-copy h3{
  text-shadow:0 2px 14px rgba(0,0,0,.62);
}
.v11-mini-chat span{
  background:rgba(8,27,48,.88);
  border-color:rgba(174,222,255,.22);
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.v11-sector-enter{
  z-index:4;
  background:rgba(5,18,32,.82);
  border-color:rgba(255,255,255,.20);
  box-shadow:0 8px 20px rgba(0,0,0,.14);
  transition:background .3s ease,color .3s ease,border-color .3s ease,transform .3s ease,box-shadow .3s ease;
}

@media (hover:hover) and (pointer:fine){
  .v11-sector:hover,
  .v11-sector:focus-visible{
    transform:translateY(-7px);
    border-color:rgba(173,226,255,.42);
    box-shadow:var(--v13-sector-shadow-hover);
    outline:none;
  }
  .v11-sector:hover::before,
  .v11-sector:focus-visible::before{
    opacity:.24;
  }
  .v11-sector:hover>img,
  .v11-sector:focus-visible>img{
    opacity:1;
    filter:saturate(1.08) brightness(1.09) contrast(1.025);
    transform:scale(1.045);
  }
  .v11-sector:hover:after,
  .v11-sector:focus-visible:after{
    background:linear-gradient(
      180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 44%,
      rgba(5,13,24,.10) 58%,
      rgba(5,12,22,.48) 78%,
      rgba(4,10,19,.82) 100%
    );
  }
  .v11-sector:hover .v11-sector-enter,
  .v11-sector:focus-visible .v11-sector-enter{
    color:#071326;
    background:rgba(250,253,255,.96);
    border-color:rgba(255,255,255,.9);
    box-shadow:0 10px 26px rgba(0,0,0,.18),0 0 0 1px rgba(151,218,255,.14);
    transform:translateY(-1px);
  }
}

/* Phones/tablets have no hover. Their artwork should already look bright and inviting. */
@media (hover:none), (pointer:coarse){
  .v11-sector>img{
    opacity:1;
    filter:saturate(1.02) brightness(1.02) contrast(1.02);
  }
  .v11-sector::before{opacity:.36}
  .v11-sector:after{
    background:linear-gradient(
      180deg,
      rgba(4,11,21,0) 0%,
      rgba(4,11,21,.01) 38%,
      rgba(5,13,24,.16) 56%,
      rgba(5,12,22,.58) 80%,
      rgba(4,10,19,.86) 100%
    );
  }
}

@media(max-width:780px){
  .v11-founder{grid-template-columns:200px 1fr;gap:28px}
}
@media(max-width:560px){
  .v11-founder{grid-template-columns:1fr;text-align:center}
  .v11-founder-img{
    width:min(100%,230px);
    margin:auto;
  }
  .v11-sector::before{opacity:.32}
}

@media(prefers-reduced-motion:reduce){
  .v11-sector,.v11-sector>img,.v11-sector::before,.v11-sector:after,.v11-sector-enter{transition:none!important}
  .v11-sector:hover,.v11-sector:focus-visible{transform:none!important}
}
