/* SGTM V337 | Compact online file-service cards | V335 baseline */
/* All selectors are V337-scoped to avoid disturbing live portal and legacy site components. */
.v337-services-section{position:relative;margin:clamp(28px,4vw,56px) auto;max-width:1370px;padding:clamp(22px,3vw,36px);border:1px solid rgba(121,171,207,.24);border-radius:8px;background:linear-gradient(140deg,#081b2c 0%,#081b2c 58%,#081b2c 100%);box-shadow:0 22px 60px rgba(0,0,0,.13)}
.v337-services-section *,.v337-portal-section *{box-sizing:border-box}
.v337-services-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin-bottom:26px}
.v337-services-heading-copy{max-width:800px}
.v337-eyebrow{display:inline-block;font-size:12px;letter-spacing:.17em;font-weight:800;line-height:1.5;text-transform:uppercase;color:#35c5f4}
.v337-services-heading h2,.v337-portal-section h2{margin:10px 0 12px;font-size:clamp(26px,2.8vw,38px);line-height:1.18;letter-spacing:-.03em;color:#fff}
.v337-services-heading p,.v337-portal-intro p{margin:0;font-size:16px;line-height:1.7;color:#c5d7e5;max-width:820px}
.v337-heading-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;border:1px solid #4b819f;color:#ffffff!important;border-radius:5px;padding:12px 17px;font-size:14px;font-weight:700;text-decoration:none!important;transition:background .2s,border-color .2s}
.v337-heading-link:hover,.v337-heading-link:focus-visible{background:#102d43;border-color:#35c5f4}
.v337-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.v337-service-card{min-width:0;min-height:228px;margin:0!important;padding:21px 20px 19px;display:flex;flex-direction:column;position:relative;overflow:hidden;border:1px solid #304c62;border-radius:6px;background:linear-gradient(160deg,#102d43,#081b2c 90%);box-shadow:0 2px 8px rgba(0,0,0,.11);transition:border-color .2s,transform .2s,box-shadow .2s}
.v337-service-card:hover{transform:translateY(-3px);border-color:#35c5f4;box-shadow:0 14px 25px rgba(0,0,0,.22)}
.v337-service-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#35c5f4,#7cd9ff);opacity:.9}
.v337-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.v337-card-count{display:inline-grid;place-items:center;min-width:31px;height:31px;border-radius:5px;border:1px solid #087AC7;background:#102d43;color:#83d4ff;font-size:13px;font-weight:800}
.v337-card-kind{font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#94c1db;text-align:right;line-height:1.4}
.v337-service-card h3{margin:0 0 10px!important;font-size:clamp(17px,1.35vw,20px)!important;line-height:1.26!important;letter-spacing:-.015em;font-weight:780;color:#fff!important;overflow-wrap:break-word}
.v337-service-card p{margin:0 0 18px!important;font-size:13px!important;line-height:1.65!important;color:#c5d7e5!important;flex:1}
.v337-card-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px;border-top:1px solid #304c62}
.v337-card-tag{font-size:11px;line-height:1.4;color:#83bbd8;font-weight:700}
.v337-card-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:35px;padding:9px 11px;background:#087AC7;border:1px solid #087AC7;border-radius:5px;font-size:12px;line-height:1.1;font-weight:800;text-decoration:none!important;color:#fff!important;white-space:nowrap;transition:background .2s,border-color .2s}
.v337-card-link:hover,.v337-card-link:focus-visible{background:#087AC7;border-color:#72cfff;color:#fff!important}
.v337-card-link span{font-size:17px;line-height:0}
.v337-service-footnote{display:flex;align-items:flex-start;gap:10px;margin-top:20px;padding:13px 15px;border:1px solid #304c62;border-radius:5px;background:#081b2c;color:#a9c8da;font-size:12px;line-height:1.65}
.v337-service-footnote>span:first-child{font-size:16px;color:#35c5f4}
.v337-portal-section{max-width:1370px;margin:36px auto 48px;padding:clamp(24px,3vw,38px);border-radius:8px;background:linear-gradient(135deg,#102d43,#081b2c 70%);border:1px solid #304c62}
.v337-portal-inner{display:grid;grid-template-columns:1.22fr 1fr;gap:38px;align-items:center}
.v337-portal-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.v337-portal-primary,.v337-portal-secondary{display:inline-flex;justify-content:center;align-items:center;gap:13px;border-radius:5px;padding:13px 19px;font-size:14px;font-weight:800;text-decoration:none!important}
.v337-portal-primary{background:#087AC7;color:#fff!important;border:1px solid #35c5f4}
.v337-portal-primary:hover{background:#35c5f4;color:#fff!important}
.v337-portal-secondary{border:1px solid #57839b;color:#c5d7e5!important;background:transparent}
.v337-portal-secondary:hover{background:#102d43;color:#fff!important}
.v337-portal-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.v337-portal-step{display:flex;align-items:flex-start;gap:11px;border:1px solid #304c62;background:#102d43;border-radius:5px;padding:15px}
.v337-portal-step>b{display:grid;place-items:center;background:#174a68;border:1px solid #087AC7;color:#a9e9ff;border-radius:4px;width:34px;height:34px;flex-shrink:0;font-size:12px}
.v337-portal-step span{display:flex;flex-direction:column;gap:5px}
.v337-portal-step strong{font-size:13px;line-height:1.35;color:#fff}
.v337-portal-step small{font-size:12px;line-height:1.55;color:#adc8db}
@media (max-width:1200px){.v337-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:950px){.v337-portal-inner{grid-template-columns:1fr;gap:26px}.v337-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:650px){.v337-services-section,.v337-portal-section{padding:19px 15px;border-radius:6px}.v337-services-heading{flex-direction:column;align-items:flex-start;gap:14px}.v337-service-grid{grid-template-columns:1fr;gap:12px}.v337-service-card{min-height:0;padding:18px}.v337-service-card h3{font-size:19px!important}.v337-card-bottom{gap:8px}.v337-portal-steps{grid-template-columns:1fr}.v337-heading-link{width:100%}.v337-portal-primary,.v337-portal-secondary{width:100%}}
@media (prefers-reduced-motion:reduce){.v337-service-card,.v337-card-link,.v337-heading-link{transition:none}.v337-service-card:hover{transform:none}}

/* V338 — researched introductory pricing, positioned in top-right of every card */
.v337-service-card .v337-card-top{position:relative;min-height:34px;padding-right:106px;align-items:flex-start;gap:8px;margin-bottom:15px}
.v337-service-card .v337-card-kind{position:absolute;left:42px;top:2px;right:108px;width:auto;text-align:left;font-size:9px;line-height:1.48;letter-spacing:.075em;overflow-wrap:anywhere}
.v337-service-card .v338-card-price{position:absolute;right:0;top:-5px;min-width:96px;display:inline-flex;justify-content:center;align-items:baseline;gap:5px;white-space:nowrap;border-radius:5px;border:1px solid #087AC7;background:linear-gradient(145deg,#153f5c,#102d43);box-shadow:0 2px 8px rgba(0,0,0,.13);padding:8px 9px;color:#c5d7e5;font-size:10px;font-weight:700;line-height:1.15;letter-spacing:0}
.v337-service-card .v338-card-price strong{font-size:17px;line-height:1;color:#fff;font-weight:850;letter-spacing:-.015em}
.v337-service-card:hover .v338-card-price{border-color:#8be1ff;background:linear-gradient(145deg,#165677,#102d43)}
@media(max-width:650px){
 .v337-service-card .v337-card-top{padding-right:112px;min-height:33px}
 .v337-service-card .v337-card-kind{right:111px;font-size:10px}
 .v337-service-card .v338-card-price{right:0}
}
