/* Glass-and-depth treatment for the Grupo Jurídico Norte home page. */
.header{height:82px;inset:14px 3.4% auto;padding:0 25px;border:1px solid #ffffff26;border-radius:22px;background:linear-gradient(130deg,#182024bd,#0d1114b8);backdrop-filter:blur(22px);box-shadow:0 12px 50px #0005}
.header nav a{font-size:11px;letter-spacing:.04em}
.header .button,.hero .button,.hero-secondary{border-radius:999px}
.header .button{border-color:#c5a87566;background:#e6d7b714;color:#f4e6cd;backdrop-filter:blur(16px)}
.hero{min-height:760px;max-height:none;height:100svh;padding:118px 5% 90px;background:#0b1013}
.hero-atmosphere{background:radial-gradient(ellipse at 80% 24%,#36617635,transparent 42%),radial-gradient(ellipse at 48% 82%,#8a6b3c1f,transparent 49%),linear-gradient(100deg,#080b0d 23%,#172229 77%,#0c1113)}
.hero-atmosphere:after{background-size:96px 96px;opacity:.6}
.hero-copy{width:48%;max-width:650px}
.hero h1{font-size:clamp(52px,5.2vw,86px);margin-top:24px;letter-spacing:-.052em;text-wrap:balance}
.hero h1 em{font-size:1.12em;letter-spacing:-.045em}
.hero-description{max-width:450px;color:#c3c8c5;font-size:14px}
.hero-actions{gap:18px;flex-wrap:wrap}
.hero .button.gold{box-shadow:inset 0 1px #fff9,0 8px 35px #c5a87525}
.hero-secondary{display:inline-flex;align-items:center;gap:14px;padding:15px 21px;border:1px solid #e8e4d046;color:#f2eee6;font-size:11px;letter-spacing:.03em;background:#f2eee60d;backdrop-filter:blur(16px);transition:background .25s,transform .25s}
.hero-secondary:hover{background:#f2eee622;transform:translateY(-2px)}
.hero-secondary span{font-size:17px;color:var(--gold)}
.hero-signature{margin-top:45px}
.hero-stage{top:16%;right:4.7%;width:49%;height:68%;min-height:470px;perspective:1300px}
.hero-stage:after{inset:auto 7% -4% 7%;width:auto;height:75px;background:#000b;filter:blur(32px)}
.hero-team-photo{position:absolute;inset:0 0 5% 0;overflow:hidden;border:1px solid #e8dcb363;border-radius:21px;background:#131a1c;box-shadow:0 38px 100px #0009,0 0 65px #8ac2e31c;transform:rotateY(-4deg) rotateX(1deg);transform-style:preserve-3d;animation:team-enter 1.1s cubic-bezier(.19,1,.22,1) both}
.hero-team-photo:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#0a0e1100 54%,#080c11b3 100%);pointer-events:none}
.hero-team-photo img{width:100%;height:100%;object-fit:cover;object-position:51% 40%;filter:saturate(.9) contrast(1.04)}
.hero-team-photo figcaption{position:absolute;bottom:21px;left:24px;right:24px;z-index:2;display:flex;align-items:end;justify-content:space-between;gap:18px;letter-spacing:.15em;color:#fff}
.hero-team-photo figcaption span{font-size:8px;color:#e2d9c5}
.hero-team-photo figcaption strong{font-size:8px;font-weight:500;white-space:nowrap}
#justice-scene{inset:auto -7% -11% auto;width:41%;height:52%;z-index:3;filter:drop-shadow(0 15px 22px #000b)}
#justice-scene .scene-fallback{inset:20%}
.scene-label{bottom:0;left:3%;padding:12px 15px;border:1px solid #ffffff2b;border-radius:999px;background:#121b1bbd;backdrop-filter:blur(18px);color:#e5c88e;font-size:7px}
.motion-toggle{bottom:-7%;right:0;border-color:#ffffff31;background:#111a1bc7;backdrop-filter:blur(15px);color:#d9dbd6}
.hero-bottom{left:5%;right:5%;height:70px}
.ambient-reel{padding:21px 0 25px;background:#11191d;border-block:1px solid #ffffff20;overflow:hidden}
.ambient-reel-label{padding:0 5% 18px;display:flex;align-items:center;gap:12px;font-size:8px;letter-spacing:1.7px;color:#dec89d;white-space:nowrap}
.ambient-reel-label .status-dot{flex:none}
.ambient-reel-rule{width:35px;height:1px;background:#dec89d66}
.ambient-reel-window{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.ambient-reel-track{--reel-gap:14px;display:flex;align-items:center;gap:var(--reel-gap);width:max-content;animation:reel-circulate 42s linear infinite;will-change:transform}
.ambient-clip{width:clamp(200px,20vw,300px);height:clamp(158px,16vw,225px);position:relative;flex:none;overflow:hidden;border:1px solid #f0e2c73d;border-radius:13px;background:#111;box-shadow:inset 0 1px #ffffff1c;pointer-events:none;user-select:none}
.ambient-clip:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,#000b);pointer-events:none}
.ambient-clip video{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%;filter:saturate(.72) brightness(.82);pointer-events:none}
.ambient-clip>span{position:absolute;left:15px;bottom:13px;z-index:1;font-size:8px;letter-spacing:1.35px;color:#fff;white-space:nowrap}
.motion-paused .ambient-reel-track{animation-play-state:paused}
@keyframes reel-circulate{to{transform:translateX(calc(-50% - var(--reel-gap)/2))}}
@keyframes team-enter{from{opacity:0;transform:translateY(35px) rotateY(-7deg) rotateX(2deg)}to{opacity:1;transform:translateY(0) rotateY(-4deg) rotateX(1deg)}}
.team-section{padding-top:90px}
.team-profiles{margin-top:0;border-top:1px solid var(--line)}
@media(min-width:1800px){.hero{padding-inline:calc((100% - 1584px)/2)}.hero-stage{right:calc((100% - 1584px)/2);width:770px}.hero-copy{width:720px}.hero-bottom{left:calc((100% - 1584px)/2);right:calc((100% - 1584px)/2)}}
@media(max-width:1150px){.header{gap:16px}.header nav{gap:15px}.hero-copy{width:50%}.hero-stage{right:3%;width:48%}.hero h1{font-size:clamp(51px,5vw,68px)}}
@media(max-width:850px){.header{height:76px;inset:10px 4% auto;padding-inline:17px}.header nav{top:82px;left:-1px;right:-1px;border:1px solid #ffffff30;border-radius:18px;background:#10191af2}.hero{height:auto;min-height:930px;padding-top:120px;align-items:flex-start}.hero-copy{width:100%;max-width:none}.hero h1{font-size:clamp(51px,7vw,68px)}.hero-stage{top:47%;right:8%;width:84%;height:42%;min-height:0}.hero-team-photo{inset:0 0 8% 0}.scene-label{bottom:0}.motion-toggle{bottom:-3%}.hero-bottom{left:5%;right:5%}}
@media(max-width:560px){.header{height:67px;inset:8px 3% auto;padding-inline:10px;border-radius:16px}.header nav{top:71px}.header .brand img{width:34px;height:34px}.header .brand strong{font-size:17px}.header-cta{font-size:8px;padding:10px 11px}.hero{min-height:845px;padding:111px 5% 70px}.hero h1{font-size:clamp(43px,10.4vw,58px);margin:20px 0 18px}.hero h1 em{font-size:1.1em}.hero-description{font-size:12px;line-height:1.7}.hero-actions{flex-direction:row;align-items:center;gap:9px;margin-top:24px}.hero-actions .button,.hero-secondary{font-size:9px;padding:11px 13px;min-height:44px}.hero-secondary{gap:6px}.hero-signature{display:none}.hero-stage{top:47%;right:4%;width:92%;height:42%}.hero-team-photo{inset:0 0 7%;border-radius:15px;transform:none}.hero-team-photo img{object-position:50% 50%}.hero-team-photo figcaption{bottom:12px;left:13px;right:13px}.hero-team-photo figcaption span{font-size:6px;letter-spacing:.08em}.hero-team-photo figcaption strong{display:none}#justice-scene{right:-7%;bottom:-9%;width:41%;height:48%}.scene-label{left:0;bottom:-1%;padding:7px 10px;font-size:5px}.motion-toggle{bottom:-7%;right:0;font-size:9px;padding:7px 9px}.motion-toggle span{font-size:7px}.hero-bottom{height:48px}.ambient-reel{padding-top:17px}.ambient-reel-label{font-size:7px;padding-bottom:15px}.ambient-reel-label .ambient-reel-rule,.ambient-reel-label .ambient-reel-rule+*{display:none}.ambient-clip{width:190px;height:155px}.team-section{padding-top:55px}}
@media(prefers-reduced-motion:reduce){.hero-team-photo{animation:none;transform:none}.ambient-reel-track{animation:none}}
