
:root { --ink:#10243e; --blue:#0a69a7; --blue-deep:#064c7c; --cyan:#23aeb8; --mist:#eef7f8; --line:#d9e5e8; --muted:#587086; --white:#fff; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--white); color:var(--ink); font-family:Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
.shell { width:min(1180px,calc(100% - 48px)); margin:0 auto; }

.siteHeader { position:absolute; z-index:20; top:0; left:0; width:100%; border-bottom:1px solid rgba(255,255,255,.22); color:#fff; }
.headerInner { min-height:92px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.brand { display:inline-flex; align-items:center; gap:11px; flex:0 0 auto; }
.brandMark { width:40px; height:40px; display:grid; place-items:center; border:2px solid rgba(255,255,255,.9); border-radius:50%; font-size:20px; font-weight:800; position:relative; }
.brandMark i { position:absolute; width:12px; height:4px; background:var(--cyan); border-radius:10px; right:-4px; top:4px; transform:rotate(-25deg); }
.brandWords { display:flex; flex-direction:column; line-height:.95; letter-spacing:.08em; }
.brandWords strong { font-size:20px; }
.brandWords small { margin-top:6px; font-size:9px; letter-spacing:.48em; }
.desktopNav { display:flex; align-items:center; gap:23px; margin-left:auto; }
.desktopNav a { font-size:13px; font-weight:700; color:rgba(255,255,255,.88); }
.desktopNav a:hover { color:#fff; }
.headerActions { display:flex; align-items:center; }
.reservedLink { border:1px solid rgba(255,255,255,.65); border-radius:999px; padding:12px 17px; font-size:12px; font-weight:800; }
.reservedLink:hover { background:#fff; color:var(--blue-deep); }
.mobileMenu { display:none; position:relative; }
.mobileMenu summary { width:42px; height:42px; display:grid; place-content:center; gap:5px; cursor:pointer; list-style:none; }
.mobileMenu summary::-webkit-details-marker { display:none; }
.mobileMenu summary span { width:23px; height:2px; background:#fff; display:block; }
.mobileMenu nav { position:absolute; right:0; top:54px; width:min(310px,calc(100vw - 32px)); padding:18px; background:#fff; color:var(--ink); box-shadow:0 20px 60px rgba(0,0,0,.2); border-radius:16px; display:grid; }
.mobileMenu nav a { padding:12px 8px; border-bottom:1px solid var(--line); font-size:14px; font-weight:700; }

.hero { min-height:760px; position:relative; overflow:hidden; color:#fff; background:var(--blue-deep); }
.heroImage { position:absolute; inset:0; background:url('../../images/hero-bg.jpg') center 20% / cover no-repeat; transform:scale(1.02); }
.heroWash { position:absolute; inset:0; background:linear-gradient(90deg,rgba(4,54,89,.97) 0%,rgba(5,75,116,.88) 47%,rgba(5,67,103,.33) 75%,rgba(5,67,103,.14) 100%); }
.heroInner { position:relative; z-index:2; padding-top:185px; padding-bottom:72px; min-height:760px; display:flex; flex-direction:column; justify-content:space-between; }
.heroCopy { max-width:760px; }
.eyebrow { margin:0 0 18px; color:var(--blue); font-size:12px; font-weight:800; letter-spacing:.22em; text-transform:uppercase; }
.eyebrow.light { color:#8de2e3; }
.hero h1 { margin:0; max-width:810px; font-family:Georgia,'Times New Roman',serif; font-size:clamp(52px,6.3vw,88px); line-height:.98; font-weight:500; letter-spacing:-.045em; }
.heroLead { max-width:650px; margin:30px 0 0; font-size:19px; line-height:1.62; color:rgba(255,255,255,.86); }
.heroActions { margin-top:35px; display:flex; gap:12px; flex-wrap:wrap; }
.button { min-height:52px; display:inline-flex; align-items:center; justify-content:center; padding:0 24px; border-radius:999px; font-size:13px; font-weight:800; transition:.2s ease; }
.buttonPrimary { background:var(--cyan); color:#052d43; }
.buttonPrimary:hover { background:#79d7d8; transform:translateY(-2px); }
.buttonGhost { border:1px solid rgba(255,255,255,.6); color:#fff; }
.buttonGhost:hover { background:#fff; color:var(--blue-deep); }
.heroProof { margin-top:52px; width:min(780px,100%); display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.25); padding-top:23px; }
.heroProof div { display:flex; flex-direction:column; gap:5px; border-right:1px solid rgba(255,255,255,.2); padding-right:24px; margin-right:24px; }
.heroProof div:last-child { border:0; }
.heroProof strong { font-family:Georgia,'Times New Roman',serif; font-size:27px; font-weight:500; }
.heroProof span { font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.66); }

.section { padding:120px 0; }
.sectionHeading h2,.previewCopy h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-weight:500; letter-spacing:-.035em; }
.sectionHeading h2 { font-size:clamp(40px,5vw,64px); line-height:1.03; }
.splitHeading { display:grid; grid-template-columns:1.15fr .85fr; gap:80px; align-items:end; }
.splitHeading>p { margin:0 0 7px; color:var(--muted); font-size:17px; line-height:1.75; }
.serviceGrid { margin-top:65px; display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.serviceCard { min-height:330px; padding:32px 34px 35px; border-right:1px solid var(--line); display:flex; flex-direction:column; transition:.25s ease; }
.serviceCard:first-child { border-left:1px solid var(--line); }
.serviceCard:hover { background:var(--mist); transform:translateY(-5px); box-shadow:0 18px 45px rgba(29,89,113,.09); }
.serviceNumber { color:var(--cyan); font-size:12px; font-weight:800; letter-spacing:.12em; }
.serviceCard h3 { max-width:260px; margin:55px 0 18px; font-family:Georgia,'Times New Roman',serif; font-size:28px; line-height:1.12; font-weight:500; }
.serviceCard p { margin:0; color:var(--muted); font-size:14px; line-height:1.65; }
.cardLink { margin-top:auto; padding-top:24px; color:var(--blue); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.quickBand { margin-top:36px; background:var(--ink); color:#fff; border-radius:22px; padding:33px 38px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.quickLabel { display:block; color:#7fd6da; font-size:10px; text-transform:uppercase; letter-spacing:.2em; font-weight:800; margin-bottom:9px; }
.quickBand h3 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:22px; font-weight:500; }
.quickLinks { display:flex; gap:28px; flex-wrap:wrap; }
.quickLinks a { font-size:12px; font-weight:800; color:rgba(255,255,255,.85); }
.quickLinks a:hover { color:#7fd6da; }

.previewSection { background:var(--blue-deep); color:#fff; overflow:hidden; }
.previewGrid { min-height:580px; display:grid; grid-template-columns:1.06fr .94fr; }
.previewImage { min-height:580px; background:url('../../images/about.jpg') center / cover no-repeat; margin-left:calc((100vw - min(1180px,calc(100vw - 48px))) / -2); }
.previewCopy { padding:100px 0 80px 82px; display:flex; flex-direction:column; justify-content:center; }
.previewCopy h2 { max-width:480px; font-size:clamp(39px,4.3vw,59px); line-height:1.04; }
.previewCopy>p:not(.eyebrow) { max-width:500px; margin:28px 0 33px; color:rgba(255,255,255,.76); font-size:17px; line-height:1.7; }
.textLink { font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }
.lightLink { color:#8de2e3; }

.buttonDark { background:var(--ink); color:#fff; }
.buttonDark:hover { background:var(--blue); transform:translateY(-2px); }
.healthSection { background:#f7faf9; }
.healthGrid { display:grid; grid-template-columns:.85fr 1.15fr; gap:100px; align-items:start; }
.healthIntro { position:sticky; top:35px; }
.healthIntro h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(40px,4vw,58px); line-height:1.06; font-weight:500; letter-spacing:-.035em; }
.healthIntro>p:not(.eyebrow) { margin:26px 0 32px; color:var(--muted); font-size:16px; line-height:1.75; }
.healthList { border-top:1px solid var(--line); }
.healthItem { display:grid; grid-template-columns:50px 1fr; gap:20px; padding:27px 0; border-bottom:1px solid var(--line); }
.healthItem>span { color:var(--cyan); font-size:11px; font-weight:800; letter-spacing:.12em; }
.healthItem h3 { margin:0 0 8px; font-family:Georgia,'Times New Roman',serif; font-size:24px; font-weight:500; }
.healthItem p { margin:0; color:var(--muted); font-size:14px; line-height:1.65; }

.trainingSection { background:var(--ink); color:#fff; }
.trainingHeading { display:grid; grid-template-columns:1.1fr .6fr; gap:80px; align-items:end; }
.trainingHeading h2 { font-size:clamp(40px,5vw,64px); line-height:1.03; }
.trainingHeading>p { margin:0 0 7px; color:rgba(255,255,255,.66); font-size:17px; line-height:1.7; }
.trainingGrid { display:grid; grid-template-columns:repeat(4,1fr); margin-top:60px; border-top:1px solid rgba(255,255,255,.18); border-bottom:1px solid rgba(255,255,255,.18); }
.trainingGrid article { min-height:310px; padding:29px 25px; border-right:1px solid rgba(255,255,255,.18); }
.trainingGrid article:first-child { border-left:1px solid rgba(255,255,255,.18); }
.trainingGrid span { color:#7fd6da; font-size:10px; font-weight:800; letter-spacing:.15em; }
.trainingGrid h3 { margin:70px 0 17px; font-family:Georgia,'Times New Roman',serif; font-size:25px; font-weight:500; }
.trainingGrid p { margin:0; color:rgba(255,255,255,.65); font-size:14px; line-height:1.65; }
.trainingCta { margin-top:38px; }

.solutionsHeading { max-width:720px; }
.solutionGrid { display:grid; grid-template-columns:1fr 1fr; gap:25px; margin-top:60px; }
.solutionCard { min-height:520px; position:relative; overflow:hidden; border-radius:24px; padding:34px; color:#fff; display:flex; flex-direction:column; justify-content:space-between; background:#0a5f91; }
.solutionCard:before { content:""; position:absolute; inset:0; transition:.35s ease; }
.solutionEsd:before { background:linear-gradient(180deg,rgba(9,56,84,.12),rgba(5,42,68,.95)),url('../../images/esd-wrist-strap-public-domain.jpg') center/cover; }
.solutionShoe:before { background:linear-gradient(180deg,rgba(9,56,84,.05),rgba(5,42,68,.94)),url('../../images/dguv-112-191.jpg') center/cover; }
.solutionCard:hover:before { transform:scale(1.035); }
.solutionCard>* { position:relative; z-index:1; }
.solutionTag { align-self:flex-start; padding:9px 12px; border-radius:999px; background:rgba(255,255,255,.9); color:var(--ink); font-size:10px; font-weight:800; letter-spacing:.1em; }
.solutionCard h3 { max-width:480px; margin:0 0 14px; font-family:Georgia,'Times New Roman',serif; font-size:38px; line-height:1.05; font-weight:500; }
.solutionCard p { max-width:500px; margin:0; color:rgba(255,255,255,.76); font-size:15px; line-height:1.65; }
.solutionCard .cardLink { display:block; color:#8de2e3; }

.experienceSection { background:var(--blue-deep); color:#fff; }
.experienceGrid { display:grid; grid-template-columns:.55fr 1.45fr; gap:60px; align-items:center; }
.experienceGrid h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(38px,4vw,56px); line-height:1.05; font-weight:500; }
.photoGrid { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:240px 240px; gap:12px; }
.photoGrid img { width:100%; height:100%; object-fit:cover; border-radius:16px; }
.photoGrid img:first-child { grid-row:1/3; }

.contactSection { padding:120px 0; background:var(--mist); }
.contactGrid { display:grid; grid-template-columns:.85fr 1.15fr; gap:100px; }
.contactIntro h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(42px,4.5vw,64px); line-height:1.03; font-weight:500; }
.contactIntro>p:not(.eyebrow) { margin:25px 0 32px; color:var(--muted); font-size:16px; line-height:1.7; }
.contactCards { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #c8dde1; border-left:1px solid #c8dde1; }
.contactCards a { min-height:180px; padding:28px; border-right:1px solid #c8dde1; border-bottom:1px solid #c8dde1; display:flex; flex-direction:column; justify-content:space-between; transition:.2s ease; }
.contactCards a:hover { background:#fff; }
.contactCards span { color:var(--blue); font-size:10px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.contactCards strong { font-family:Georgia,'Times New Roman',serif; font-size:20px; line-height:1.35; font-weight:500; overflow-wrap:anywhere; }

.siteFooter { background:#081a2c; color:#fff; padding:75px 0 24px; }
.footerMain { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:55px; }
.footerBrand .brandMark { border-color:rgba(255,255,255,.9); }
.footerMain>div:first-child>p { color:rgba(255,255,255,.55); font-size:14px; line-height:1.7; margin-top:22px; }
.footerColumn { display:flex; flex-direction:column; gap:13px; }
.footerColumn h3 { margin:0 0 8px; color:#78d3d7; font-size:10px; text-transform:uppercase; letter-spacing:.18em; }
.footerColumn a,.footerColumn span { color:rgba(255,255,255,.67); font-size:13px; line-height:1.45; }
.footerColumn a:hover { color:#fff; }
.footerBottom { margin-top:65px; padding-top:23px; border-top:1px solid rgba(255,255,255,.13); display:flex; justify-content:space-between; gap:20px; color:rgba(255,255,255,.42); font-size:11px; }

.detailHero { min-height:690px; padding:190px 0 90px; color:#fff; display:flex; align-items:center; position:relative; overflow:hidden; }
.detailHero:before { content:""; position:absolute; inset:0; }
.detailHero>.shell { position:relative; z-index:1; }
.esdHero:before { background:linear-gradient(90deg,rgba(5,52,82,.98),rgba(4,83,112,.77)),url('../../images/gallery-3.jpg') center/cover; }
.shoeHero:before { background:linear-gradient(110deg,#063e65 0%,#075b86 68%,#088d99 100%); }
.detailHero h1 { max-width:920px; margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(55px,7vw,90px); line-height:.98; font-weight:500; letter-spacing:-.045em; }
.detailHero p:not(.eyebrow) { max-width:680px; margin:30px 0 34px; color:rgba(255,255,255,.78); font-size:18px; line-height:1.7; }
.detailHeroSplit { display:grid; grid-template-columns:1fr 360px; align-items:center; gap:60px; }
.detailHeroSplit img { width:100%; border-radius:50%; background:#fff; box-shadow:0 30px 70px rgba(0,0,0,.2); }
.detailIntroGrid { display:grid; grid-template-columns:1fr 1fr; gap:90px; }
.detailIntro h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(40px,4.7vw,64px); line-height:1.04; font-weight:500; }
.detailIntroGrid>div:last-child p { margin:0 0 24px; color:var(--muted); font-size:17px; line-height:1.8; }
.detailIntroGrid>div:last-child strong { color:var(--ink); }
.detailSoft { background:#f3f8f8; }
.detailCardGrid { display:grid; grid-template-columns:repeat(4,1fr); margin-top:60px; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.detailCardGrid article { min-height:300px; padding:28px 25px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:rgba(255,255,255,.55); }
.detailCardGrid article>span { color:var(--cyan); font-size:11px; font-weight:800; }
.detailCardGrid h3 { margin:62px 0 15px; font-family:Georgia,'Times New Roman',serif; font-size:25px; line-height:1.12; font-weight:500; }
.detailCardGrid p { margin:0; color:var(--muted); font-size:14px; line-height:1.65; }
.noteBand { margin-top:35px; padding:28px 32px; border-left:5px solid var(--cyan); background:#fff; display:grid; grid-template-columns:.7fr 1.3fr; gap:45px; align-items:center; }
.noteBand strong { font-family:Georgia,'Times New Roman',serif; font-size:23px; font-weight:500; }
.noteBand p { margin:0; color:var(--muted); font-size:14px; line-height:1.65; }
.epaSection { background:var(--blue-deep); color:#fff; }
.epaGrid { display:grid; grid-template-columns:1fr 1fr; gap:90px; }
.epaGrid h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(42px,4.8vw,64px); line-height:1.03; font-weight:500; }
.epaGrid>div>p:not(.eyebrow) { margin:25px 0 32px; color:rgba(255,255,255,.7); font-size:16px; line-height:1.7; }
.epaGrid ol { margin:0; padding:0; list-style:none; counter-reset:epa; border-top:1px solid rgba(255,255,255,.22); }
.epaGrid li { counter-increment:epa; border-bottom:1px solid rgba(255,255,255,.22); padding:22px 0 22px 54px; position:relative; font-family:Georgia,'Times New Roman',serif; font-size:21px; }
.epaGrid li:before { content:"0" counter(epa); position:absolute; left:0; top:25px; color:#82dade; font:800 10px Arial,sans-serif; }
.warningSection { padding:90px 0; background:#f06f22; color:#fff; }
.warningGrid { display:grid; grid-template-columns:200px 1fr; gap:70px; align-items:center; }
.warningGrid img { width:100%; background:#fff; border-radius:50%; padding:8px; }
.warningGrid h2 { margin:0; max-width:850px; font-family:Georgia,'Times New Roman',serif; font-size:clamp(40px,4.8vw,64px); line-height:1.03; font-weight:500; }
.warningGrid p:not(.eyebrow) { max-width:800px; margin:24px 0 0; font-size:16px; line-height:1.7; color:rgba(255,255,255,.85); }
.detailCta { padding:100px 0; text-align:center; background:#fff; }
.detailCta h2 { max-width:900px; margin:0 auto 35px; font-family:Georgia,'Times New Roman',serif; font-size:clamp(40px,4.8vw,64px); line-height:1.04; font-weight:500; }
.detailCta>div>div { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.outlineDark { border:1px solid var(--ink); color:var(--ink); }
.outlineDark:hover { background:var(--ink); color:#fff; }

@media (max-width:1040px) {
  .desktopNav { display:none; }
  .mobileMenu { display:block; }
  .reservedLink { display:none; }
  .heroWash { background:linear-gradient(90deg,rgba(4,54,89,.95),rgba(5,75,116,.69)); }
  .splitHeading { grid-template-columns:1fr; gap:28px; }
  .serviceCard { padding-left:25px; padding-right:25px; }
  .quickBand { align-items:flex-start; flex-direction:column; }
  .healthGrid,.contactGrid { gap:55px; }
  .trainingGrid { grid-template-columns:1fr 1fr; }
  .trainingGrid article:nth-child(3) { border-left:1px solid rgba(255,255,255,.18); border-top:1px solid rgba(255,255,255,.18); }
  .trainingGrid article:nth-child(4) { border-top:1px solid rgba(255,255,255,.18); }
  .experienceGrid { grid-template-columns:1fr; }
  .footerMain { grid-template-columns:1.3fr 1fr 1fr; }
  .footerMain .footerColumn:last-child { grid-column:2/4; }
  .detailCardGrid { grid-template-columns:1fr 1fr; }
  .detailHeroSplit { grid-template-columns:1fr 260px; }
}

/* Area riservata */
.portalMain { min-height:70vh; background:#f3f8f8; }
.portalHero,.dashboardHero { min-height:660px; padding:170px 0 80px; color:#fff; background:linear-gradient(125deg,#052f50 0%,#075c86 62%,#0b8b96 100%); }
.portalHero.compact,.dashboardHero.compact { min-height:460px; }
.portalSplit { display:grid; grid-template-columns:1.05fr .75fr; gap:90px; align-items:center; }
.portalSplit h1,.dashboardTop h1,.portalSingle h1 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(46px,5.5vw,76px); line-height:1; font-weight:500; letter-spacing:-.04em; }
.portalSplit>div:first-child>p:not(.eyebrow),.dashboardTop>div>p:not(.eyebrow) { max-width:600px; margin:25px 0 0; color:rgba(255,255,255,.76); font-size:17px; line-height:1.7; }
.authCard { padding:38px; border-radius:24px; background:#fff; color:var(--ink); box-shadow:0 28px 70px rgba(3,33,54,.28); }
.authCard.wide { width:min(650px,100%); }
.authCard h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:38px; font-weight:500; }
.authCard>p:not(.eyebrow) { margin:12px 0 24px; color:var(--muted); line-height:1.6; }
.authCard small { display:block; margin-top:22px; color:var(--muted); line-height:1.5; }
.authForm { display:grid; gap:17px; }
.authForm label { display:grid; gap:8px; font-size:12px; font-weight:800; color:var(--ink); }
.authForm input,.authForm select,.authForm textarea,.resetForm input { width:100%; min-height:48px; padding:0 14px; border:1px solid #b9cdd2; border-radius:10px; background:#fff; color:var(--ink); font:15px Arial,sans-serif; }
.authForm textarea { padding-top:12px; resize:vertical; }
.authForm input[type="file"] { padding:11px 12px; }
.authForm input:focus,.authForm select:focus,.authForm textarea:focus,.resetForm input:focus { outline:3px solid rgba(35,174,184,.2); border-color:var(--cyan); }
.authForm .button { border:0; cursor:pointer; margin-top:4px; }
.authForm .button:disabled { opacity:.5; cursor:not-allowed; }
.fieldHelp { margin:-4px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.setupLink { display:inline-block; margin-top:22px; color:var(--blue); font-size:12px; font-weight:800; }
.formMessage { margin:0 0 20px; padding:13px 15px; border-radius:10px; font-size:13px; line-height:1.5; }
.formMessage.error { color:#7c1820; background:#fff0f1; border:1px solid #f1c3c7; }
.formMessage.success { color:#185f42; background:#eaf8f1; border:1px solid #b9dfcc; }
.formMessage.warning { color:#735112; background:#fff8e7; border:1px solid #ead59f; }
.portalSingle { min-height:430px; display:grid; place-items:center; }
.portalSingle .authCard h1 { margin-bottom:25px; font-size:48px; }
.dashboardTop { display:flex; justify-content:space-between; align-items:flex-end; gap:50px; }
.portalActions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.portalActions form { margin:0; }
.portalActions button { background:transparent; cursor:pointer; }
.portalContent { background:#f4f8f8; }
.portalHeading { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:42px; }
.portalHeading h2,.adminPanel h2,.userList h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:42px; font-weight:500; }
.portalHeading>span { color:var(--muted); font-size:12px; }
.resourceGrid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.resourceCard { min-height:300px; padding:30px; border:1px solid var(--line); border-radius:20px; background:#fff; display:flex; flex-direction:column; transition:.2s ease; }
.resourceCard:hover { transform:translateY(-4px); box-shadow:0 20px 45px rgba(25,78,99,.12); }
.resourceCard>span { color:var(--cyan); font-size:10px; text-transform:uppercase; letter-spacing:.15em; font-weight:800; }
.resourceCard h3 { margin:55px 0 14px; font-family:Georgia,'Times New Roman',serif; font-size:28px; font-weight:500; }
.resourceCard p { margin:0; color:var(--muted); font-size:14px; line-height:1.6; }
.resourceCard strong { margin-top:auto; color:var(--blue); font-size:12px; text-transform:uppercase; }
.emptyState { padding:35px; border:1px dashed #aac5cb; border-radius:18px; color:var(--muted); background:#fff; }
.adminGrid { display:grid; grid-template-columns:360px 1fr; gap:60px; align-items:start; }
.adminPanel { padding:30px; border-radius:20px; background:#fff; box-shadow:0 16px 45px rgba(25,78,99,.08); }
.adminPanel h2,.userList h2 { font-size:32px; margin-bottom:25px; }
.userList { display:grid; gap:13px; }
.userRow { padding:20px; border:1px solid var(--line); border-radius:15px; background:#fff; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.userRow>div:first-child { min-width:190px; }
.userRow small { display:block; margin:6px 0 0 16px; color:var(--muted); }
.statusDot { width:9px; height:9px; display:inline-block; border-radius:50%; background:#c7464e; }
.statusDot.active { background:#2a9d6d; }
.userControls { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.userControls form { margin:0; }
.userControls button { min-height:39px; padding:0 14px; border:1px solid #b8cbd0; border-radius:9px; background:#fff; color:var(--ink); font-weight:800; cursor:pointer; }
.resetForm { display:flex; gap:8px; }
.resetForm input { min-height:39px; width:230px; }
.documentAdminGrid { display:grid; grid-template-columns:390px 1fr; gap:55px; align-items:start; }
.documentUploadPanel { position:sticky; top:24px; }
.documentListPanel { min-width:0; }
.listHeading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:25px; }
.listHeading h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:40px; font-weight:500; }
.listHeading>span { color:var(--muted); font-size:12px; }
.documentAdminList,.personalDocumentList { display:grid; gap:13px; }
.documentAdminRow,.personalDocument { display:flex; align-items:center; gap:18px; padding:20px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.documentIcon { width:48px; height:58px; flex:0 0 auto; display:grid; place-items:center; border-radius:8px; background:var(--mist); color:var(--blue); font-size:10px; font-weight:900; letter-spacing:.08em; }
.documentAdminInfo { min-width:0; flex:1; }
.documentAdminInfo strong { display:block; font-family:Georgia,'Times New Roman',serif; font-size:20px; font-weight:500; }
.documentAdminInfo span,.documentAdminInfo small,.personalDocument span { display:block; margin-top:5px; color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.documentAdminInfo p { margin:9px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.documentAdminActions { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.documentAdminActions>a,.deleteDocument summary,.editDocument summary { min-height:38px; padding:0 13px; border:1px solid #b8cbd0; border-radius:9px; display:inline-flex; align-items:center; background:#fff; font-size:12px; font-weight:800; cursor:pointer; list-style:none; }
.deleteDocument,.editDocument { position:relative; }
.deleteDocument summary::-webkit-details-marker,.editDocument summary::-webkit-details-marker { display:none; }
.deleteDocument form { position:absolute; z-index:3; right:0; top:45px; width:210px; padding:14px; border:1px solid #efc4c6; border-radius:11px; background:#fff; box-shadow:0 14px 35px rgba(40,30,30,.16); }
.deleteDocument button { width:100%; min-height:39px; border:0; border-radius:8px; background:#a92f38; color:#fff; font-weight:800; cursor:pointer; }
.editDocument form { position:absolute; z-index:4; right:0; top:45px; width:min(390px,calc(100vw - 40px)); padding:18px; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 14px 35px rgba(40,30,30,.16); }
.editDocument form button { min-height:42px; border:0; border-radius:9px; background:var(--cyan); color:var(--ink); font-weight:900; cursor:pointer; }
.personalDocumentList { margin-bottom:75px; }
.personalDocument>div:nth-child(2) { min-width:0; flex:1; }
.personalDocument h3 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:23px; font-weight:500; }
.personalDocument p { margin:8px 0 0; color:var(--muted); font-size:14px; line-height:1.5; }
.personalDocument .button { min-height:44px; }
.personalDocumentActions { display:flex; align-items:center; gap:9px; flex:0 0 auto; }
.buttonPreview { padding:0 18px; border:1px solid #9bbac1; border-radius:999px; background:#fff; color:var(--blue); }
.secondaryHeading { margin-top:15px; }
.arubaUpload { margin-top:24px; }
.arubaDocs { margin-top:36px; }
.arubaDocs>h2 { margin:0 0 20px; font-family:Georgia,'Times New Roman',serif; font-size:32px; font-weight:500; }
.userRow>form button { min-height:39px; padding:0 14px; border:1px solid #b8cbd0; border-radius:9px; background:#fff; color:var(--ink); font-weight:800; cursor:pointer; }
code { padding:2px 6px; border-radius:5px; background:#edf3f4; font-size:.9em; }
.formattedText { white-space:pre-wrap; overflow-wrap:anywhere; }

@media (max-width:1040px) {
  .portalSplit { grid-template-columns:1fr 430px; gap:45px; }
  .resourceGrid { grid-template-columns:1fr 1fr; }
  .adminGrid { grid-template-columns:1fr; }
  .documentAdminGrid { grid-template-columns:1fr; }
  .documentUploadPanel { position:static; }
}
@media (max-width:760px) {
  .portalHero,.dashboardHero { padding-top:125px; }
  .portalSplit { grid-template-columns:1fr; gap:38px; }
  .authCard { padding:28px 22px; }
  .dashboardTop { align-items:flex-start; flex-direction:column; }
  .portalActions { justify-content:flex-start; }
  .resourceGrid { grid-template-columns:1fr; }
  .portalHeading { align-items:flex-start; flex-direction:column; }
  .userRow { align-items:flex-start; flex-direction:column; }
  .userControls { justify-content:flex-start; width:100%; }
  .resetForm { width:100%; flex-direction:column; }
  .resetForm input { width:100%; }
  .documentAdminRow,.personalDocument { align-items:flex-start; flex-wrap:wrap; }
  .documentAdminInfo { width:calc(100% - 70px); }
  .documentAdminActions { width:100%; padding-left:66px; }
  .personalDocumentActions { width:100%; }
  .personalDocumentActions .button { width:100%; }
}
@media (max-width:760px) {
  .shell { width:min(100% - 30px,1180px); }
  .headerInner { min-height:76px; }
  .hero,.heroInner { min-height:720px; }
  .heroInner { padding-top:145px; }
  .hero h1 { font-size:clamp(47px,14vw,68px); }
  .heroLead { font-size:17px; }
  .heroProof { grid-template-columns:1fr; gap:14px; }
  .heroProof div { border-right:0; border-bottom:1px solid rgba(255,255,255,.18); padding:0 0 13px; margin:0; flex-direction:row; align-items:baseline; gap:13px; }
  .heroProof div:last-child { border-bottom:0; }
  .heroProof strong { font-size:20px; }
  .section { padding:82px 0; }
  .serviceGrid { grid-template-columns:1fr; }
  .serviceCard,.serviceCard:first-child { border-left:1px solid var(--line); border-bottom:1px solid var(--line); }
  .serviceCard { min-height:285px; }
  .serviceCard h3 { margin-top:35px; }
  .quickBand { padding:28px 24px; }
  .quickLinks { flex-direction:column; gap:18px; }
  .previewGrid { grid-template-columns:1fr; }
  .previewImage { min-height:380px; margin:0 -15px; }
  .previewCopy { padding:68px 0 76px; }
  .healthGrid,.trainingHeading,.contactGrid { grid-template-columns:1fr; gap:44px; }
  .healthIntro { position:static; }
  .trainingGrid { grid-template-columns:1fr; }
  .trainingGrid article,.trainingGrid article:first-child,.trainingGrid article:nth-child(3) { min-height:auto; border-left:1px solid rgba(255,255,255,.18); border-top:0; border-bottom:1px solid rgba(255,255,255,.18); }
  .trainingGrid h3 { margin-top:38px; }
  .solutionGrid { grid-template-columns:1fr; }
  .solutionCard { min-height:450px; padding:26px; }
  .solutionCard h3 { font-size:32px; }
  .photoGrid { grid-template-columns:1fr; grid-template-rows:310px 230px 230px; }
  .photoGrid img:first-child { grid-row:auto; }
  .contactSection { padding:82px 0; }
  .contactCards { grid-template-columns:1fr; }
  .contactCards a { min-height:145px; }
  .footerMain { grid-template-columns:1fr 1fr; }
  .footerMain>div:first-child { grid-column:1/3; }
  .footerMain .footerColumn:last-child { grid-column:1/3; }
  .footerBottom { flex-direction:column; }
  .detailHero { min-height:650px; padding-top:145px; }
  .detailHero h1 { font-size:clamp(47px,13vw,66px); }
  .detailHeroSplit,.detailIntroGrid,.epaGrid { grid-template-columns:1fr; gap:42px; }
  .detailHeroSplit img { width:190px; order:-1; }
  .detailCardGrid { grid-template-columns:1fr; }
  .detailCardGrid article { min-height:260px; }
  .detailCardGrid h3 { margin-top:38px; }
  .noteBand { grid-template-columns:1fr; gap:16px; }
  .warningGrid { grid-template-columns:1fr; gap:35px; }
  .warningGrid img { width:130px; }
}

.macroAreaGrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-bottom:75px; }
.macroAreaGrid>.emptyState { grid-column:1/-1; }
.macroAreaCard { min-height:190px; display:grid; grid-template-columns:58px 1fr auto; gap:20px; align-items:center; padding:28px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 12px 35px rgba(25,78,99,.05); transition:transform .2s,border-color .2s; }
.macroAreaCard:hover { transform:translateY(-3px); border-color:#7fb4bf; }
.macroAreaIcon { width:58px; height:58px; display:grid; place-items:center; border-radius:14px; background:var(--mist); color:var(--blue); font-size:10px; font-weight:900; letter-spacing:.08em; }
.macroAreaCard h3 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:27px; font-weight:500; color:var(--ink); }
.macroAreaCard p { margin:8px 0; color:var(--muted); line-height:1.5; }
.macroAreaCard small { color:var(--blue); font-weight:800; }
.macroAreaCard>strong { color:var(--blue); font-size:13px; }
.adminThreeColumns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:start; }
.adminThreeColumns .arubaUpload { margin-top:0; }
.adminSection { margin-top:65px; }
.areaAdminGrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.areaAdminCard { padding:22px; border:1px solid var(--line); border-radius:16px; background:#fff; display:flex; justify-content:space-between; gap:18px; align-items:flex-start; }
.areaAdminContent { min-width:0; flex:1; }
.areaAdminCard h3 { display:inline; margin:0 0 0 8px; font-family:Georgia,'Times New Roman',serif; font-size:22px; font-weight:500; }
.areaAdminCard p { margin:12px 0; color:var(--muted); line-height:1.5; }
.areaAdminCard small { color:var(--blue); }
.areaAdminCard button,.userAreaHead button,.assignAreaForm button { min-height:39px; padding:0 13px; border:1px solid #b8cbd0; border-radius:9px; background:#fff; color:var(--ink); font-weight:800; cursor:pointer; }
.editArea { margin-top:16px; }
.editArea summary { color:var(--blue); font-size:12px; font-weight:800; cursor:pointer; }
.editArea form { margin-top:14px; }
.userAreaList { display:grid; gap:14px; }
.userAreaCard { padding:22px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.userAreaHead { display:flex; justify-content:space-between; gap:20px; align-items:center; }
.userAreaHead strong { margin-left:8px; }
.userAreaHead small { display:block; margin:5px 0 0 18px; color:var(--muted); }
.assignedAreas { min-height:34px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:18px 0 12px; }
.areaChip { display:inline-flex; align-items:center; gap:7px; padding:7px 8px 7px 11px; border-radius:999px; background:var(--mist); color:var(--blue); font-size:12px; font-weight:800; }
.areaChip button { width:22px; height:22px; padding:0; border:0; border-radius:50%; background:#fff; color:#9b3138; cursor:pointer; }
.assignAreaForm { display:flex; gap:9px; }
.assignAreaForm select { min-height:39px; flex:1; }

@media (max-width:1040px) {
  .adminThreeColumns { grid-template-columns:1fr 1fr; }
  .adminThreeColumns .arubaUpload { grid-column:1/-1; }
}
@media (max-width:760px) {
  .macroAreaGrid,.areaAdminGrid,.adminThreeColumns { grid-template-columns:1fr; }
  .adminThreeColumns .arubaUpload { grid-column:auto; }
  .macroAreaCard { grid-template-columns:48px 1fr; }
  .macroAreaCard>strong { grid-column:2; }
  .userAreaHead,.areaAdminCard,.assignAreaForm { align-items:flex-start; flex-direction:column; }
  .assignAreaForm select,.assignAreaForm button { width:100%; }
}
