/* ==========================================================================
   SAP Global — main.css
   Base rules below are carried over unchanged from the approved V5.2 Master
   (index.html). Do not alter selectors/values here without checking against
   the Master reference first — see project handoff Section 3 (Design Principle).
   ========================================================================== */

:root{--red:#c80d1c;--red2:#a80713;--char:#343b3d;--ink:#182024;--muted:#596166;--cream:#f8f6ef;--line:#d6d2c9;--max:1420px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}
.wrap{width:min(var(--max),calc(100% - 9vw));margin:auto}
.top{height:46px;background:var(--char);color:#f6f7f7;font-size:15px}
.top .wrap{height:100%;display:flex;justify-content:flex-end;align-items:center;gap:22px}
.top .sep{opacity:.45}
.icons{display:flex;gap:18px;align-items:center}
.icon{width:22px;height:22px;border:1px solid #eee;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}
.nav{height:96px;display:flex;align-items:center;justify-content:space-between}
.nav img{width:390px;max-width:36vw;height:70px;object-fit:contain;object-position:left center}
.navlinks{display:flex;align-items:center;gap:40px;font-size:16px;color:#2e3436}
.navlinks a{padding:35px 0;position:relative}
.navlinks a.active:after{content:"";position:absolute;height:3px;background:var(--red);left:0;right:0;bottom:22px}
.navcta,.btn{background:var(--red);color:#fff!important;border-radius:12px;padding:13px 22px!important;font-weight:700}
.navcta:after{display:none!important}
.hero{background:#f7f5ed}
.hero-grid{min-height:545px;display:grid;grid-template-columns:52% 48%;align-items:stretch}
.hero-copy{padding:62px 38px 55px 0;position:relative;z-index:2}
.section-label{display:flex;align-items:center;gap:22px;color:#b3101b;font-weight:800;letter-spacing:3px;font-size:18px;text-transform:uppercase}
.section-label:after{content:"";width:150px;height:1px;background:#aaa}
.eyebrow{margin-top:30px;color:#b3101b;text-transform:uppercase;letter-spacing:3px;font-weight:800;font-size:15px}
.hero h1{font-size:64px;line-height:.98;letter-spacing:-2.2px;margin:18px 0 22px;max-width:720px}
.hero .strap{font-size:29px;font-weight:700;color:#3e4649;margin-bottom:18px}
.dot{color:var(--red)}
.hero p{font-size:21px;line-height:1.55;color:#3e474b;max-width:720px;margin:0 0 28px}
.actions{display:flex;gap:18px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:28px;padding:15px 28px!important;font-size:16px}
.btn.outline{background:transparent;color:var(--red)!important;border:2px solid var(--red)}
.hero-visual{background-image:url('../img/hero-compass.jpg');background-size:cover;background-position:center;min-height:545px}
.section{position:relative;padding:52px 0 70px;overflow:hidden}
.section:nth-of-type(even){background:#fbfbf8}
.need{background:#f5f4ee}
.need-grid{display:grid;grid-template-columns:46% 54%;min-height:440px}
.need-copy{padding:20px 60px 40px 0}
.need h2,.section h2{font-size:43px;line-height:1.08;letter-spacing:-1px;margin:22px 0 18px}
.need p,.section .lead{font-size:20px;line-height:1.55;color:#586166;max-width:700px}
.need-visual{background:url('../img/need-mountain.jpg') center/cover no-repeat;min-height:360px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:35px}
.card{border:1px solid var(--line);padding:26px;min-height:245px;background:#fff}
.card:nth-child(2),.card:nth-child(3){background:#3b4143;color:#fff;border-color:#3b4143}
.tag{font-size:12px;letter-spacing:2px;color:var(--red);font-weight:800}
.card:nth-child(2) .tag,.card:nth-child(3) .tag{color:#fff}
.card h3{font-size:22px;line-height:1.2;margin:16px 0}
.card p{color:#61696d;line-height:1.5}
.card:nth-child(2) p,.card:nth-child(3) p{color:#e5e8e8}
.arrow{color:var(--red);font-weight:700}
.darkband{background:var(--char);color:#fff}
.darkband .lead{color:#dce0e0}
.cap-grid,.service-grid,.product-grid,.method-grid,.resource-grid{display:grid;gap:18px}
.cap-grid{grid-template-columns:repeat(4,1fr);margin-top:35px}
.cap{padding:28px;background:#fff;border-top:5px solid var(--red)}
.cap h3{font-size:24px;margin:4px 0 12px}
.cap p{color:#60686c;line-height:1.5}
.service-grid{grid-template-columns:repeat(2,1fr);margin-top:35px}
.service{padding:34px;min-height:330px;border:1px solid #ddd;background:#fff}
.service.dark{background:var(--char);color:#fff}
.service:nth-child(2){background:var(--char);color:#fff}
.service:nth-child(3){background:#fff;color:var(--ink)}
.service h3{font-size:31px;margin:0 0 10px}
.service p{font-size:17px;line-height:1.5}
.service ul{line-height:1.8;color:#626a6d;padding-left:20px}
.service.dark ul,.service:nth-child(2) ul{color:#e6e8e8}
.product-grid{grid-template-columns:1fr 1fr;margin-top:35px}
.product{padding:38px;background:#fff;border:1px solid var(--line);min-height:390px}
.product.dark{background:var(--char);color:#fff}
.badge{font-size:12px;letter-spacing:2px;font-weight:800;color:var(--red)}
.product.dark .badge{color:#fff}
.product h3,.product h2{font-size:32px;margin:18px 0}
.product p{font-size:18px;line-height:1.55}
.flow{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}
.flow span{border:1px solid #cfd2d2;padding:8px 12px;border-radius:20px;font-size:13px}
.method-grid{grid-template-columns:repeat(4,1fr);margin-top:35px}
.step{padding:28px;border-top:1px solid #bbb}
.big{font-size:45px;color:var(--red);font-weight:800}
.step h3{font-size:22px}
.step p{color:#626b6e;line-height:1.5}
.about-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:50px;align-items:start}
.about-box{background:var(--char);color:#fff;padding:35px;border-radius:3px}
.about-box h3{font-size:26px;margin-top:0}
.about-box p{line-height:1.55;color:#e6e8e8}
.resource-grid{grid-template-columns:repeat(3,1fr);margin-top:35px}
.resource{padding:28px;background:#f5f4ee;border:1px solid #ddd}
.resource small{letter-spacing:2px;color:var(--red);font-weight:800}
.resource h3{font-size:24px;line-height:1.2}
.resource p{color:#646c70;line-height:1.5}
.engage{background:var(--char);color:#fff;padding:68px 0}
.engage-grid{display:grid;grid-template-columns:1fr auto;gap:45px;align-items:center}
.engage h2{font-size:48px;max-width:900px;margin:18px 0}
.engage .section-label{color:#fff}
.form{margin-top:35px;background:#fff;color:var(--ink);padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form label{font-size:13px;font-weight:700}
.form input,.form textarea,.form select{width:100%;margin-top:7px;border:1px solid #c8cdce;padding:13px;font:inherit}
.form textarea{min-height:130px}
.full{grid-column:1/-1}
.submit{border:0;cursor:pointer;font:inherit}
.footer{background:#262c2e;color:#dce0e1;padding:45px 0}
.footergrid{display:flex;justify-content:space-between;gap:40px}
.footer img{width:250px;filter:brightness(0) invert(1);opacity:.9}
.footer p{color:#bfc5c7}
.copyright{margin-top:30px;padding-top:20px;border-top:1px solid #4a5052;font-size:13px;color:#aeb4b6}
.float{position:fixed;right:24px;bottom:24px;width:58px;height:58px;border-radius:50%;background:#159447;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;box-shadow:0 5px 20px #0002;z-index:10}

@media(max-width:1050px){.navlinks{gap:20px}.navlinks a:nth-child(3){display:none}.hero h1{font-size:52px}.cards,.cap-grid,.method-grid{grid-template-columns:repeat(2,1fr)}.hero-grid,.need-grid{grid-template-columns:1fr}.hero-visual,.need-visual{min-height:360px}.service-grid,.product-grid,.resource-grid{grid-template-columns:1fr}.about-grid{grid-template-columns:1fr}.nav img{width:300px}}
@media(max-width:700px){.top{height:42px}.top .wrap{font-size:12px}.top .tagline{display:none}.nav{height:auto;min-height:82px;gap:10px}.nav img{width:200px;height:60px;max-width:50vw}.navlinks{gap:10px;font-size:13px}.navlinks a:nth-child(2),.navlinks a:nth-child(3),.navlinks a:nth-child(4){display:none}.navlinks a{padding:20px 0}.navcta{padding:10px 14px!important}.wrap{width:min(var(--max),calc(100% - 36px))}.hero-copy{padding:42px 0}.hero h1{font-size:43px}.hero .strap{font-size:23px}.hero p{font-size:18px}.section-label{font-size:14px;gap:12px}.section-label:after{width:70px}.need h2,.section h2{font-size:35px}.cards,.cap-grid,.method-grid{grid-template-columns:1fr}.engage-grid{grid-template-columns:1fr}.engage h2{font-size:37px}.form{grid-template-columns:1fr}.full{grid-column:auto}.footergrid{flex-direction:column}}

/* ==========================================================================
   Additions for WordPress — not present in the original static index.html.
   These make block-editor content (headlines/paragraphs typed into the WP
   editor) inherit the Master's typography instead of default WP styles.
   ========================================================================== */

.entry-content{font-family:inherit}
.entry-content p{font-size:20px;line-height:1.55;color:#586166;max-width:700px;margin:0 0 18px}
.entry-content h2{font-size:43px;line-height:1.08;letter-spacing:-1px;margin:22px 0 18px;font-family:inherit}
.entry-content a{color:var(--red);font-weight:700}
.skip-link{position:absolute;left:-9999px;top:0;background:#fff;color:var(--ink);padding:12px 18px;z-index:100}
.skip-link:focus{left:12px;top:12px}

.footer-nav{display:flex;flex-wrap:wrap;gap:18px 26px;margin-top:24px;padding-top:24px;border-top:1px solid #4a5052}
.footer-nav a{color:#dce0e1;font-size:14px;opacity:.85}
.footer-nav a:hover,.footer-nav a.active{opacity:1;color:#fff}