/* AGNOS V8.5.2: Public-site consistency and layout repair.
   Intentionally scoped to inner public pages; does not modify admin or homepage sections. */
body.agnos-shell{overflow-x:clip;background:#fff;color:#14223f}
.agnos-shell *, .agnos-shell *::before,.agnos-shell *::after{box-sizing:border-box}
.agnos-shell img{max-width:100%}
.agnos-shell .container{width:min(1200px,calc(100% - 48px));margin-inline:auto}
.agnos-shell .site-header,.agnos-shell .site-header.scrolled{position:sticky;top:0;z-index:1000;height:82px;background:#fff;border-bottom:1px solid #e8eaf4;box-shadow:0 7px 25px rgba(12,24,56,.06);backdrop-filter:blur(14px)}
.agnos-shell .site-header .header-inner{height:100%;display:flex;justify-content:space-between;align-items:center;gap:28px;min-width:0}
.agnos-shell .site-header .brand{flex:0 0 auto;min-width:0}
.agnos-shell .site-header .brand img{display:block;width:auto;height:52px;max-width:185px;object-fit:contain;filter:none;opacity:1}
.agnos-shell .nav{display:flex;flex-wrap:nowrap;gap:clamp(11px,1.6vw,24px);align-items:center;min-width:0}
.agnos-shell .nav a{white-space:nowrap;color:#263154;font-size:13px;font-weight:700;transition:color .2s ease}
.agnos-shell .nav a:hover,.agnos-shell .nav a[aria-current="page"]{color:#6f35b5}
.agnos-shell .nav .primary{padding:12px 17px;background:linear-gradient(110deg,#6240bf,#9d29bc);color:#fff;border-radius:999px;white-space:nowrap;box-shadow:0 8px 24px rgba(98,64,191,.17)}
.agnos-shell .nav .primary:hover{color:#fff;filter:brightness(1.07)}
.agnos-shell .menu-btn{border:0;background:transparent;color:#152644;cursor:pointer;font-size:28px}
.agnos-shell .mobile-nav{z-index:999}
.agnos-shell .mobile-nav.open{background:#fff;box-shadow:0 18px 35px rgba(7,18,45,.12);border-bottom:1px solid #e9ebf2}
.agnos-shell .mobile-nav a{color:#17294c;border-bottom:1px solid #eff0f6;padding-block:12px;font-weight:700}
.agnos-shell .mobile-nav a:hover{color:#6e2dba}
/* Better typography and contained grids for the existing original sections */
.agnos-shell .hero{overflow:hidden;padding:clamp(85px,10vw,130px) 0;min-height:0!important;background:linear-gradient(118deg,#08132f,#14163f 70%,#35145c);color:white}
.agnos-shell .hero .container{position:relative;z-index:1}
.agnos-shell .hero h1{max-width:950px;font:700 clamp(40px,5.5vw,76px)/1.06 Georgia,serif;letter-spacing:-.04em;margin:22px 0}
.agnos-shell .hero h1 span{color:#dda4ff;background:none;-webkit-text-fill-color:initial}
.agnos-shell .hero .hero-copy{max-width:720px;color:#d8ddf1;font-size:clamp(15px,1.55vw,19px);line-height:1.8}
.agnos-shell .section{padding-block:clamp(62px,7vw,100px)}
.agnos-shell .section .container{min-width:0}
.agnos-shell .section h2{overflow-wrap:break-word}
.agnos-shell .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.agnos-shell .cards>.card{min-width:0;overflow-wrap:anywhere}
.agnos-shell .team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.agnos-shell .team-grid > *{min-width:0}
.agnos-shell .team-grid img{width:100%;max-width:100%}
.agnos-shell .form-grid,.agnos-shell .contact-layout,.agnos-shell .intro{min-width:0}
.agnos-shell .section .cta{border-radius:24px}
/* Use a single, predictable four-column footer across public pages. */
.agnos-shell .agnos-global-footer{background:#09142f;color:#f5f5ff;padding:64px 0 0;border-top:1px solid rgba(167,128,228,.26)}
.agnos-shell .agnos-global-footer .agnos-global-footer-grid{display:grid;grid-template-columns:1.25fr .75fr .85fr 1.25fr;gap:clamp(22px,3.2vw,55px)}
.agnos-shell .agnos-global-footer-grid>div{min-width:0}
.agnos-shell .agnos-global-footer-brand img{height:68px;max-width:210px;width:auto;object-fit:contain;background:#fff;padding:10px;border-radius:12px}
.agnos-shell .agnos-global-footer-brand p{color:#bdc8e0;font-size:14px;line-height:1.7;margin:18px 0 0}
.agnos-shell .agnos-global-footer h4{color:#fff;font-size:13px;letter-spacing:.09em;text-transform:uppercase;margin:10px 0 22px}
.agnos-shell .agnos-global-footer-grid a:not(.agnos-global-footer-brand a){display:block;margin:0 0 12px;color:#c6cfe4;font-size:14px;line-height:1.65;overflow-wrap:anywhere;text-decoration:none}
.agnos-shell .agnos-global-footer-grid a:hover{color:#e1b7ff}
.agnos-shell .agnos-global-footer address{font-style:normal;color:#c6cfe4;font-size:14px;line-height:1.85;margin-bottom:14px}
.agnos-shell .agnos-global-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid rgba(255,255,255,.13);margin-top:56px;padding:22px 0;color:#a9b9d6;font-size:12px}
.agnos-shell .agnos-global-footer-bottom a{color:#d4bef5}
/* Keep CSS rules in page-specific stylesheets authoritative for detailed layouts. */
@media(max-width:1120px){.agnos-shell .nav{gap:12px}.agnos-shell .nav a{font-size:12px}.agnos-shell .site-header .brand img{height:47px;max-width:165px}}
@media(max-width:960px){.agnos-shell .site-header{height:74px}.agnos-shell .nav{display:none}.agnos-shell .menu-btn{display:block}.agnos-shell .mobile-nav.open{top:74px;max-height:calc(100vh - 74px);overflow-y:auto}.agnos-shell .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.agnos-shell .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agnos-shell .agnos-global-footer .agnos-global-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.agnos-shell .container{width:calc(100% - 36px)}.agnos-shell .hero{padding:85px 0}.agnos-shell .hero h1{font-size:clamp(38px,10vw,55px)}.agnos-shell .section{padding:55px 0}.agnos-shell .cards{grid-template-columns:1fr}.agnos-shell .team-grid{grid-template-columns:1fr}.agnos-shell .agnos-global-footer .agnos-global-footer-grid{grid-template-columns:1fr;gap:24px}.agnos-shell .agnos-global-footer{padding-top:45px}.agnos-shell .agnos-global-footer-bottom{display:flex;align-items:flex-start;flex-direction:column;margin-top:36px}.agnos-shell .contact-layout,.agnos-shell .form-grid,.agnos-shell .intro{grid-template-columns:1fr!important}.agnos-shell .process{grid-template-columns:1fr 1fr!important}}
@media(max-width:370px){.agnos-shell .process{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.agnos-shell *{scroll-behavior:auto!important;transition-duration:0.01ms!important}}
