:root{
  --bg:#F4F3F1; --surface:#FFFFFF; --ink:#222428; --body:#3A3D42; --muted:#4A4D53; --soft:#5F6168;
  --line:#D9D6D1; --red:#B3121F; --red-dark:#850D17; --red-on-dark:#FF6B76; --dark:#222428; --dark-line:#3A3D42; --dark-muted:#C9CAD0;
  --display:'Sora',system-ui,sans-serif; --text:'Source Sans 3',system-ui,sans-serif; --r:20px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--text);font-size:17px;line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--red);text-decoration:none}a:hover{color:var(--red-dark)}
h1,h2,h3,h4{font-family:var(--display);font-weight:600;margin:0;line-height:1.12;letter-spacing:-0.015em}
p{margin:0}
.wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.eyebrow{font-size:14px;font-weight:600;color:var(--red);letter-spacing:.04em;text-transform:uppercase}
.lead{font-size:19px;color:var(--muted)}
.muted{color:var(--muted)}
.btn{display:inline-block;padding:15px 26px;border-radius:6px;font-weight:600;line-height:1.2}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--red-dark);color:#fff}
.btn-dark{background:var(--ink);color:#fff}.btn-dark:hover{background:#000;color:#fff}
.btn-soft{background:var(--bg);color:var(--ink)}.btn-soft:hover{background:var(--line);color:var(--ink)}
.btn-line{border:1px solid var(--line);color:var(--red);padding:12px 20px}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.ph{background:#D9D6D1;border-radius:var(--r);display:flex;align-items:center;justify-content:center;color:var(--soft);font-size:14px;text-align:center;padding:16px}
.tile{background:var(--surface);border-radius:var(--r)}
.section{padding:96px 0}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:36px}
.section-head h2{font-size:42px;margin:8px 0}
.grid-auto{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}

/* header */
.site-header{background:var(--bg);position:relative;z-index:5}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:20px;padding-bottom:20px}
.logo img{height:52px;width:auto;mix-blend-mode:multiply}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:28px;font-weight:500;font-size:16px}
.nav a{color:var(--muted)}.nav a:hover{color:var(--ink)}
.nav a.active{color:var(--ink);border-bottom:2px solid var(--red);padding-bottom:2px}
.nav .btn{color:#fff}
.menu-toggle{display:none}
@media (max-width:900px){
  .menu{position:relative}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:8px;background:var(--surface);cursor:pointer;list-style:none}
  .menu-toggle::-webkit-details-marker{display:none}
  .nav{display:none}
  .menu[open] .nav{display:flex;flex-direction:column;align-items:stretch;gap:4px;position:absolute;right:0;top:56px;background:var(--surface);padding:12px;border-radius:12px;min-width:240px;box-shadow:0 12px 30px rgba(0,0,0,.12)}
  .menu[open] .nav a{padding:12px}
  .menu[open] .nav a.active{border-bottom:0;color:var(--red)}
}
@media (min-width:901px){.menu-toggle{display:none}.menu .nav{display:flex}}

/* page hero (inner pages) */
.page-hero{padding:40px 0 72px}
.page-hero .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px}
.page-hero .tile{padding:48px 56px;display:flex;flex-direction:column;gap:20px;justify-content:flex-end;min-height:340px}
.page-hero h1{font-size:56px;letter-spacing:-0.025em}
.crumbs{font-size:14px;color:var(--soft);display:flex;gap:8px;flex-wrap:wrap}
.crumbs a{color:var(--soft)}.crumbs a:hover{color:var(--red)}
.page-hero .ph{min-height:340px}
@media (max-width:900px){.page-hero .wrap{grid-template-columns:1fr}.page-hero .tile{padding:32px;min-height:0}.page-hero h1{font-size:40px}.page-hero .ph{min-height:220px}}

/* home hero */
.home-hero{padding:40px 0 72px}
.home-hero .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr));gap:24px}
.home-hero .main{padding:56px;display:flex;flex-direction:column;justify-content:space-between;gap:40px;min-height:520px}
.home-hero h1{font-size:58px;letter-spacing:-0.025em;margin-bottom:24px}
.hero-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.hero-side .ph{grid-column:span 2;min-height:260px}
.stat-tile{border-radius:var(--r);padding:28px;display:flex;flex-direction:column;justify-content:flex-end;min-height:160px;color:#fff}
.stat-tile .num{font-family:var(--display);font-size:44px;font-weight:600;line-height:1.1}
.stat-tile.red{background:var(--red)}.stat-tile.red .lbl{color:#FFE0E3}
.stat-tile.dark{background:var(--dark)}.stat-tile.dark .lbl{color:var(--dark-muted)}
@media (max-width:640px){.home-hero .main{padding:32px;min-height:0}.home-hero h1{font-size:40px}}

.stat-strip{background:var(--surface)}
.stat-strip .wrap{display:flex;flex-wrap:wrap;justify-content:space-around;gap:24px;padding-top:32px;padding-bottom:32px;text-align:center}
.stat-strip .num{font-family:var(--display);font-size:32px;font-weight:600}
.stat-strip .lbl{font-size:15px;color:var(--soft)}

/* two column text */
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:64px}
.split h2{font-size:42px;margin:12px 0 0}
.prose{display:flex;flex-direction:column;gap:18px;font-size:18px;line-height:1.7;color:var(--body)}
.prose .big{font-family:var(--display);font-size:24px;line-height:1.45;color:var(--ink)}
.prose ul{margin:0;padding-left:20px}.prose li{margin:4px 0}
.subblock{margin-top:24px;border-top:1px solid var(--line);padding-top:24px;display:flex;flex-direction:column;gap:10px}
.subblock h3{font-size:20px}

/* service rows */
.rows{display:flex;flex-direction:column;gap:16px}
.row{background:var(--surface);border-radius:16px;padding:16px;display:flex;flex-wrap:wrap;align-items:center;gap:28px}
.row .ph{flex:0 0 260px;height:160px;border-radius:10px}
.row .body{flex:999 1 360px;min-width:0;display:flex;flex-direction:column;gap:8px}
.row .num{font-family:var(--display);font-size:14px;color:#8A8C92}
.row h3{font-size:24px}
.row p{color:var(--muted)}
@media (max-width:640px){.row .ph{flex:1 1 100%}}

/* dark band + solution cells */
.dark-band{background:var(--dark);color:#fff}
.dark-band .muted{color:var(--dark-muted)}
.dark-band h2{font-size:42px}
.cells{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:1px;background:var(--dark-line);border:1px solid var(--dark-line);border-radius:16px;overflow:hidden}
.cell{background:var(--dark);padding:32px;display:flex;flex-direction:column;gap:12px}
.cell .cat{font-size:13px;font-weight:600;color:var(--red-on-dark)}
.cell h3{font-size:21px}
.cell ul,.cell p{margin:0;color:var(--dark-muted);font-size:16px;line-height:1.75}
.cell ul{padding-left:18px}
.cell a{color:#fff;font-weight:600;margin-top:auto}
.cells.light{background:var(--line);border-color:var(--line)}
.cells.light .cell{background:var(--surface);color:var(--ink)}
.cells.light .cell .cat{color:var(--red)}
.cells.light .cell ul,.cells.light .cell p{color:var(--muted)}
.cells.light .cell a{color:var(--red)}

/* cards */
.card{background:var(--surface);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:12px}
.card h3{font-size:20px}
.card p{color:var(--muted);font-size:16px}
.icon{width:48px;height:48px;border-radius:12px;background:#F8E3E5;color:var(--red);display:flex;align-items:center;justify-content:center}
.icon svg{width:24px;height:24px}

/* mission/vision */
.mv{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:24px}
.mv .tile{padding:48px;display:flex;flex-direction:column;gap:16px}
.mv .tile.red{background:var(--red);color:#fff}.mv .tile.red p{color:#FFE0E3}
.mv h3{font-size:28px}
.mv p{font-size:18px;line-height:1.7}

/* checklists */
.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.checks li{display:flex;gap:14px;align-items:flex-start}
.checks li::before{content:"";flex:0 0 22px;height:22px;margin-top:3px;border-radius:50%;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat}

/* detail layout */
.detail{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:start}
.detail .main{display:flex;flex-direction:column;gap:56px}
.detail h2{font-size:32px;margin-bottom:20px}
.aside{display:flex;flex-direction:column;gap:20px;position:sticky;top:24px}
.aside .tile{padding:28px;display:flex;flex-direction:column;gap:14px}
.aside h3{font-size:19px}
.aside .dark{background:var(--dark);color:#fff}.aside .dark p{color:var(--dark-muted)}
.aside nav{display:flex;flex-direction:column}
.aside nav a{padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink);display:flex;justify-content:space-between}
.aside nav a:last-child{border-bottom:0}
.aside nav a.active,.aside nav a:hover{color:var(--red)}
@media (max-width:980px){.detail{grid-template-columns:1fr}.aside{position:static}}
.benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.benefit{background:var(--surface);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:6px}
.benefit .num{font-family:var(--display);font-size:30px;font-weight:600;color:var(--red)}
.benefit .lbl{color:var(--muted);font-size:15px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{background:var(--surface);border-radius:999px;padding:10px 18px;font-weight:500}

/* contact */
.contact-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:start}
@media (max-width:980px){.contact-grid{grid-template-columns:1fr}}
.form{padding:48px;display:flex;flex-direction:column;gap:20px}
.form h2{font-size:32px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.fields .full{grid-column:1/-1}
@media (max-width:640px){.fields{grid-template-columns:1fr}.form{padding:28px}}
.field{display:flex;flex-direction:column;gap:6px}
.field label,.field legend{font-weight:600;font-size:15px}
.field input,.field select,.field textarea{font:inherit;font-size:16px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#FBFAF9;color:var(--ink);min-height:48px}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--red);outline-offset:1px;border-color:var(--red)}
.field textarea{min-height:140px;resize:vertical}
fieldset.field{border:0;padding:0;margin:0}
.radios{display:flex;flex-wrap:wrap;gap:12px}
.radios label{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:12px 16px;font-weight:500;cursor:pointer;min-height:48px}
.form button{border:0;cursor:pointer;font:inherit;font-weight:600;align-self:flex-start}
.info{display:flex;flex-direction:column;gap:20px}
.info .tile{padding:28px;display:flex;flex-direction:column;gap:12px}
.info h3{font-size:19px}
.info dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:16px}
.info dt{color:var(--soft)}.info dd{margin:0;text-align:right}
.dept{display:flex;flex-direction:column;gap:2px;padding:12px 0;border-bottom:1px solid var(--line)}
.dept:last-child{border-bottom:0}
.dept strong{font-family:var(--display);font-weight:600}
.dept span{color:var(--soft);font-size:15px}
.map{min-height:360px}

/* partners + cta + footer */
.partners{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.partners .intro{flex:1 1 320px;display:flex;flex-direction:column;gap:10px}
.partners .intro h2{font-size:34px}
.partners .logos{flex:2 1 560px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.partners .logos div{background:var(--surface);border-radius:12px;height:84px;display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--soft)}
.cta{padding:0 0 88px}
.cta .tile{padding:56px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:32px}
.cta .text{flex:1 1 520px;display:flex;flex-direction:column;gap:12px}
.cta h2{font-size:38px}
@media (max-width:640px){.cta .tile{padding:32px}.cta h2,.section-head h2,.split h2,.dark-band h2{font-size:32px}}
.site-footer{background:var(--surface);border-top:4px solid var(--red)}
.site-footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:40px;padding-top:64px;padding-bottom:32px;color:var(--muted);font-size:16px}
.site-footer .cols>div{display:flex;flex-direction:column;gap:10px}
.site-footer h4{font-size:16px;color:var(--ink);margin-bottom:6px}
.site-footer .cols a{color:var(--muted)}.site-footer .cols a:hover{color:var(--red)}
.site-footer .social{display:flex;gap:16px;font-size:15px}
.site-footer .social a{color:var(--red)}
.site-footer .logo img{height:48px}
.site-footer .bottom{border-top:1px solid #E6E4E0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding-top:24px;padding-bottom:24px;font-size:14px;color:var(--soft)}
.site-footer .bottom nav{display:flex;gap:20px}
.site-footer .bottom a{color:var(--soft)}

/* ---- CMS additions ---- */
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:#fff;padding:10px 16px;border-radius:6px;z-index:10}
.skip:focus{left:16px;color:#fff}
.media{border-radius:var(--r);overflow:hidden;background:#D9D6D1;position:relative}
.media img{width:100%;height:100%;object-fit:cover}
.media.empty{display:flex;align-items:center;justify-content:center;color:#8A8C92}
.media.empty svg{width:56px;height:56px;opacity:.6}
.page-hero .media{min-height:340px}
.hero-side .media{grid-column:span 2;min-height:260px}
.row .media{flex:0 0 260px;height:160px;border-radius:10px}
@media (max-width:900px){.page-hero .media{min-height:220px}}
@media (max-width:640px){.row .media{flex:1 1 100%}}
.partners .logos a,.partners .logos div{background:var(--surface);border-radius:12px;height:84px;display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--soft);padding:16px}
.partners .logos img{max-height:48px;width:auto;object-fit:contain}
.alert{border-radius:10px;padding:14px 18px;font-weight:500}
.alert-ok{background:#E5F3EA;color:#14532D}
.alert-err{background:#FBE7E9;color:#7F1D1D}
.field-error{color:#9B111E;font-size:14px;margin:0}
.field input[aria-invalid=true],.field select[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:#B3121F}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.map iframe{width:100%;height:100%;min-height:360px;border:0;border-radius:var(--r)}
.err-page{padding:120px 0;text-align:center;display:flex;flex-direction:column;gap:18px;align-items:center}
.err-page h1{font-size:72px;color:var(--red)}
.cells .cell.plain h3{font-size:19px}

/* ---- Motion (only when JS adds .anim and the visitor hasn't asked for reduced motion) ---- */
html{scroll-behavior:smooth}
.site-header{position:sticky;top:0;transition:box-shadow .25s ease,background-color .25s ease}
.site-header.scrolled{background:rgba(244,243,241,.92);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);box-shadow:0 1px 0 #E2DFDA,0 8px 24px rgba(34,36,40,.06)}
.site-header.scrolled .wrap{padding-top:12px;padding-bottom:12px}
.site-header .wrap{transition:padding .25s ease}

/* Hero entrance */
.anim .home-hero .main > *,.anim .hero-side > *,.anim .page-hero .tile > *,.anim .page-hero .media{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.anim .home-hero .main > :nth-child(2),.anim .page-hero .tile > :nth-child(2){animation-delay:.08s}
.anim .home-hero .main > :nth-child(3),.anim .page-hero .tile > :nth-child(3){animation-delay:.16s}
.anim .page-hero .tile > :nth-child(4){animation-delay:.24s}
.anim .hero-side > :nth-child(1),.anim .page-hero .media{animation-name:reveal-img;animation-delay:.1s;animation-duration:1s}
.anim .hero-side > :nth-child(2){animation-delay:.3s}
.anim .hero-side > :nth-child(3){animation-delay:.42s}
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes reveal-img{from{opacity:0;clip-path:inset(0 0 100% 0 round 20px)}to{opacity:1;clip-path:inset(0 0 0 0 round 20px)}}

/* Scroll reveal */
.anim [data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.anim [data-reveal].in{opacity:1;transform:none}

/* Hover details */
.media img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.row:hover .media img,.page-hero .media:hover img,.hero-side .media:hover img{transform:scale(1.05)}
.row{transition:box-shadow .3s ease,transform .3s ease}
.row:hover{box-shadow:0 14px 34px rgba(34,36,40,.08);transform:translateY(-2px)}
a.card{transition:transform .3s ease,box-shadow .3s ease}
a.card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(34,36,40,.09)}
a.card .icon{transition:background .3s ease,color .3s ease}
a.card:hover .icon{background:var(--red);color:#fff}
.cell{transition:background .3s ease}
.cells:not(.light) .cell:hover{background:#2A2D32}
.cells.light .cell:hover{background:#FBFAF9}
.cell a{display:inline-block;transition:transform .25s ease}
.cell:hover a{transform:translateX(4px)}
.btn{transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}
.btn-red:hover,.btn-dark:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(179,18,31,.22)}
.partners .logos > *{transition:transform .3s ease,box-shadow .3s ease}
.partners .logos img{filter:grayscale(1);opacity:.75;transition:filter .3s ease,opacity .3s ease}
.partners .logos > *:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(34,36,40,.07)}
.partners .logos > *:hover img{filter:none;opacity:1}
.nav a:not(.btn){position:relative}
.nav a:not(.btn):not(.active)::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.nav a:not(.btn):hover::after{transform:scaleX(1)}
.stat-tile{transition:transform .3s ease}
.stat-tile:hover{transform:translateY(-3px)}
.chip{transition:background .2s ease,color .2s ease}
.chip:hover{background:var(--ink);color:#fff}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .media img,.row,a.card,.partners .logos > *{transform:none!important}
}
@media (max-width:900px){.site-header.scrolled .wrap{padding-top:10px;padding-bottom:10px}}
