/* Aperito consultancy site. Plain CSS, no build step, no external requests.
   Colours (brand tokens, from the Aperito logo and HCM-STYLE-1):
   --blue #2F5597 (logo panel)   --tint #8FAADC (accent on dark)
   --navy #1F3355                --gold #C9A227 / --gold-dark #8F7415 (text on light)
   --ice #EEF2F7                 --muted #5A6472   --label #C9D4E8   --footer #9FB0CC */

@font-face{font-family:'Carlito';font-weight:400;font-style:normal;font-display:swap;src:url('fonts/Carlito-Regular.woff2') format('woff2')}
@font-face{font-family:'Carlito';font-weight:700;font-style:normal;font-display:swap;src:url('fonts/Carlito-Bold.woff2') format('woff2')}

:root{--blue:#2F5597;--tint:#8FAADC;--navy:#1F3355;--gold:#C9A227;--gold-dark:#8F7415;--ink:#2A2A2A;--ice:#EEF2F7;--muted:#5A6472;--label:#C9D4E8;--footer:#9FB0CC;--rule:#DDE3EC}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Carlito',Calibri,'Segoe UI',sans-serif;color:var(--ink);background:#fff;font-size:18px;line-height:1.5}
img{max-width:100%}
a{color:var(--blue)}a:hover{color:var(--navy)}
a:focus-visible{outline:3px solid var(--blue);outline-offset:3px;box-shadow:0 0 0 3px #fff}
.skip{position:absolute;left:-999px;top:8px;background:#fff;color:var(--navy);padding:10px 16px;font-weight:700;z-index:10}
.skip:focus{left:8px}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px}
h1,h2,h3{color:var(--navy);margin:0}

/* logo lockup */
.logo{display:inline-flex;flex-direction:column;align-items:center;background:var(--blue);border-radius:4px;padding:10px 20px 8px;text-decoration:none;text-align:center}
.logo b{font-size:30px;color:#E7E6E6;text-decoration:underline;line-height:1.1}
.logo span{font-size:12px;font-weight:700;color:#E7E6E6;margin-top:6px;letter-spacing:.3px}
.logo:hover b,.logo:hover span{color:#fff}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--rule)}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;padding-top:18px;padding-bottom:18px}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;font-size:17px}
.nav a{color:var(--navy);text-decoration:none;font-weight:700;padding-bottom:3px;border-bottom:3px solid transparent}
.nav a[aria-current=page]{border-bottom-color:var(--gold)}
.nav a.pill{border:2px solid var(--blue);border-radius:6px;padding:8px 16px}

/* shared type bits */
.eyebrow{font-size:14px;letter-spacing:3px;text-transform:uppercase;font-weight:700;color:var(--gold-dark)}
.on-dark .eyebrow,.eyebrow.light{color:var(--label)}
.rule{width:72px;height:4px;background:var(--gold);margin:22px 0}
.btn{display:inline-block;font-weight:700;font-size:18px;padding:15px 28px;border-radius:6px;text-decoration:none}
.btn-tint{background:var(--tint);color:var(--navy)}
.btn-tint:hover{background:#fff;color:var(--navy)}
.btn-ghost{color:#fff;border:2px solid var(--footer);padding:13px 26px}
.btn-ghost:hover{color:#fff;border-color:#fff}
.more{font-weight:700}

/* hero */
.hero{background:var(--navy);color:#fff}
.hero .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:56px;padding-top:88px;padding-bottom:88px}
.hero-text{flex:1 1 520px;min-width:0}
.hero h1{color:#fff;font-size:58px;line-height:1.08;letter-spacing:-.5px;margin-top:18px}
.hero p.lead{font-size:21px;line-height:1.55;color:var(--label);max-width:560px;margin:0}
.hero .actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:36px}
.hero-side{flex:1 1 380px;min-width:0}
.hero-side img{display:block;width:100%;height:260px;object-fit:cover;border-radius:10px 10px 0 0}
.portal-card{background:#fff;color:var(--ink);border-radius:0 0 10px 10px;padding:32px 36px;border-top:6px solid var(--tint)}
.portal-card h2{font-size:28px;line-height:1.2;margin-top:8px}
.portal-card p{margin:14px 0 0;font-size:17px;line-height:1.6}
.portal-card .more{display:inline-block;margin-top:22px;font-size:18px}
.portal-card .eyebrow{font-size:13px;letter-spacing:2.4px;margin-top:22px;color:var(--gold-dark)}

/* sections */
.section{padding:88px 0}
.section.ice{background:var(--ice)}
.section.bordered{border-top:1px solid var(--rule)}
.section h2.title{font-size:38px;line-height:1.15}
.cards{display:flex;flex-wrap:wrap;gap:28px;margin-top:44px}
.card{flex:1 1 320px;min-width:0;background:var(--ice);border-radius:10px;padding:34px}
.card .icon{width:52px;height:52px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center}
.card h3{font-size:24px;margin:22px 0 10px}
.card p{margin:0;font-size:17px;line-height:1.6}
.card .more{display:inline-block;margin-top:18px;font-size:17px}

.approach{display:flex;flex-wrap:wrap;gap:40px;padding:80px 0}
.approach div{flex:1 1 280px;min-width:0;padding-top:20px;border-top:5px solid var(--tint)}
.approach div:nth-child(2){border-top-color:var(--blue)}
.approach div:nth-child(3){border-top-color:var(--gold)}
.approach h3{font-size:24px;margin-bottom:10px}
.approach p{margin:0;font-size:17px;line-height:1.6}

.split{display:flex;flex-wrap:wrap;align-items:center;gap:56px}
.split img{flex:1 1 420px;min-width:0;height:440px;object-fit:cover;border-radius:10px}
.split .body{flex:1 1 480px;min-width:0}
.gains{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:19px;line-height:1.5}
.gains li{display:flex;gap:14px}
.gains li:before{content:"";flex:none;width:12px;height:12px;border-radius:50%;background:var(--blue);margin-top:9px}
.gains strong{color:var(--navy)}

.about-photo{flex:0 1 320px;min-width:240px;height:360px;background:var(--label);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:18px}
.about h2{font-size:38px;line-height:1.15;margin-top:12px}
.about p{margin:0;font-size:19px;line-height:1.65}

.cta{background:var(--blue);color:#fff}
.cta .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px 48px;padding-top:72px;padding-bottom:72px}
.cta h2{flex:1 1 480px;min-width:0;color:#fff;font-size:36px;line-height:1.2}
.cta .btn{font-size:19px;padding:16px 32px}

/* footer */
.site-footer{background:var(--navy);color:var(--label)}
.site-footer .wrap{padding-top:56px;padding-bottom:32px}
.footer-cols{display:flex;flex-wrap:wrap;gap:36px 64px;justify-content:space-between}
.footer-cols>div{flex:1 1 220px;min-width:0;font-size:16px;line-height:1.9}
.footer-cols>div:first-child{flex-basis:280px}
.footer-cols h2{color:#fff;font-size:13px;letter-spacing:2px;text-transform:uppercase;margin-bottom:8px}
.footer-cols a{color:var(--label)}
.footer-cols a:hover{color:#fff}
.legal{border-top:1px solid #3A4E73;margin-top:40px;padding-top:20px;font-size:14px;color:var(--footer)}

/* services page */
.page-hero{background:var(--ice)}
.page-hero .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:40px 56px;padding-top:72px;padding-bottom:72px}
.page-hero .text{flex:1 1 480px;min-width:0}
.page-hero h1{font-size:50px;line-height:1.1;letter-spacing:-.4px;margin-top:12px}
.page-hero p{margin:0;font-size:20px;line-height:1.6;max-width:700px}
.page-hero img{flex:1 1 360px;min-width:0;height:320px;object-fit:cover;border-radius:10px}
.service{display:flex;flex-wrap:wrap;gap:32px 64px;padding:48px 0;border-bottom:1px solid var(--rule)}
.service:last-child{border-bottom:0}
.service .label{flex:1 1 320px;min-width:0}
.service .num{font-size:14px;letter-spacing:3px;color:var(--gold-dark);font-weight:700}
.service h2{font-size:34px;line-height:1.15;margin-top:8px}
.service .detail{flex:2 1 520px;min-width:0}
.service .detail>p{margin:0;font-size:19px;line-height:1.65}
.service ul{margin:18px 0 0;padding-left:22px;font-size:18px;line-height:1.8}
.service .detail img{display:block;width:100%;max-width:520px;height:200px;object-fit:cover;border-radius:10px;margin-top:24px}
.service .more{display:inline-block;margin-top:20px;font-size:18px}
.banner{background:var(--navy);color:#fff}
.banner .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:40px 64px;padding-top:72px;padding-bottom:72px}
.banner .text{flex:2 1 480px;min-width:0}
.banner h2{color:#fff;font-size:36px;line-height:1.2;margin-top:12px}
.banner p{margin:16px 0 0;font-size:19px;line-height:1.6;color:var(--label);max-width:620px}
.banner .act{flex:1 1 240px;min-width:0}

/* placeholders stay visible while the content is still to be supplied */
.todo{background:#FFF4CC;color:#5C4A00;padding:0 4px;border-radius:3px}

@media (max-width:640px){
  body{font-size:17px}
  .wrap{padding:0 20px}
  .hero .wrap{padding-top:56px;padding-bottom:56px}
  .hero h1{font-size:40px}
  .page-hero h1{font-size:38px}
  .section{padding:56px 0}
  .split img{height:280px}
  .cta h2,.banner h2,.section h2.title,.about h2{font-size:30px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
