:root{
 --navy:#00295B;--orange:#CD630D;--beige:#F8F6F0;--gray:#6F7782;--navy-dark:#001D42;--ink:#253247;--white:#fff;--border:#E4E8EE;--shadow:0 14px 38px rgba(0,41,91,.10);--max:1220px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:"DIN Next LT Arabic",Tahoma,Arial,sans-serif;line-height:1.72;direction:rtl}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}.container{width:min(var(--max),calc(100% - 44px));margin-inline:auto}.ar,.ar-text{font-family:"DIN Next LT Arabic",Tahoma,Arial,sans-serif;direction:rtl}.en,.en-text{font-family:Montserrat,Arial,Helvetica,sans-serif;direction:ltr;unicode-bidi:embed}.en{display:block}.topbar{background:var(--navy-dark);color:#dce7f3;font-size:12px}.topbar .container{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:24px}.identity{display:flex;gap:10px;align-items:center}.identity .ar,.identity .en{display:inline;font-size:12px}.identity .en:before{content:" | ";opacity:.55}.topbar-links{display:flex;gap:18px;direction:ltr}
.site-header{background:var(--navy);position:sticky;top:0;z-index:30;box-shadow:0 5px 18px rgba(0,0,0,.13)}.nav{min-height:92px;display:flex;align-items:center;gap:24px}.brand{display:flex;min-width:285px;align-items:center}.brand img{height:80px;width:auto;object-fit:contain}.nav-links{display:flex;align-items:stretch;margin-inline-start:auto;gap:17px;color:#fff}.nav-links a{display:flex;min-width:max-content;flex-direction:column;justify-content:center;line-height:1.15;opacity:.9}.nav-links a.active,.nav-links a:hover{color:#ffc18d;opacity:1}.nav-links .ar{font-size:14px;font-weight:700}.nav-links .en{font-size:13px;margin-top:5px;color:#c5d3e3;font-weight:600}.nav-links a.active .en,.nav-links a:hover .en{color:#ffc18d}.menu-btn{display:none;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;border-radius:10px;padding:7px 11px;font-size:22px}
.home-hero{height:510px;position:relative;background:url('../img/hero-cover.webp') center 42%/cover no-repeat;color:#fff;overflow:hidden}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,27,62,.94),rgba(0,41,91,.76) 52%,rgba(0,41,91,.25))}.home-hero-inner{position:relative;height:100%;display:flex;align-items:center}.home-copy{max-width:790px;padding:45px 0}.kicker{display:inline-flex;color:#F3A160;font:700 14px/1 Montserrat,Arial,sans-serif;border-inline-start:3px solid var(--orange);padding-inline-start:11px;direction:ltr}.home-copy h1{font-size:clamp(40px,5vw,62px);line-height:1.12;margin:17px 0 8px;color:#fff}.home-copy h2{font-size:clamp(28px,3.5vw,43px);line-height:1.14;margin:0;color:#F3A160;font-weight:700;max-width:760px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}.btn{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;border-radius:999px;padding:11px 22px;font-weight:800;line-height:1.12;border:1px solid transparent;min-width:150px}.btn .ar{font-size:15px}.btn .en{font-size:14px;margin-top:3px}.btn.primary{background:var(--orange);color:#fff}.btn.outline{border-color:rgba(255,255,255,.68);color:#fff;background:rgba(0,41,91,.15)}.btn.light{background:#fff;color:var(--navy)}
.page-hero{position:relative;min-height:300px;background:linear-gradient(90deg,rgba(0,29,65,.95),rgba(0,41,91,.86)),var(--hero-img,linear-gradient(135deg,#001c40,#00376f));background-size:cover;background-position:center;color:#fff;overflow:hidden}.page-hero:after{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(205,99,13,.5);border-radius:50%;inset:auto -90px -120px auto}.hero-inner{min-height:300px;display:flex;align-items:center;position:relative;z-index:1}.hero-copy{max-width:920px;padding:38px 0}.page-hero h1{margin:0;line-height:1.08}.page-hero h1 .ar{font-size:clamp(34px,4.2vw,52px);color:#fff}.page-hero h1 .en{font-size:clamp(29px,3.5vw,44px);color:#F3A160;margin-top:8px;font-weight:700}.hero-desc{margin-top:16px;max-width:900px}.hero-desc p{margin:4px 0}.hero-desc .ar{font-size:19px;color:#ecf2f8}.hero-desc .en{font-size:18px;color:#cedbea;line-height:1.5}
.section,.source-section{padding:68px 0}.beige,.source-section:nth-of-type(even){background:var(--beige)}.source-section.dark{background:var(--navy);color:#fff}.source-grid{display:grid;grid-template-columns:1fr;gap:42px;align-items:center}.source-grid.has-media{grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr)}.source-grid.has-media.reverse{grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr)}.source-grid.has-media.reverse .source-media{order:2}.source-grid.has-media.reverse .source-copy{order:1}.source-media{border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#e9edf1;align-self:stretch;min-height:340px}.source-media img{width:100%;height:100%;max-height:540px;min-height:340px;object-fit:cover}.source-media.multi{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:transparent;box-shadow:none;border-radius:0}.source-media.multi img{border-radius:20px;box-shadow:var(--shadow);min-height:260px;max-height:360px}.source-media.multi img:nth-child(3){grid-column:1/-1}.source-copy{max-width:820px}.source-page{display:inline-flex;font-family:Montserrat,Arial,sans-serif;color:var(--orange);font-size:12px;font-weight:800;letter-spacing:.05em;margin-bottom:8px;border-inline-start:2px solid var(--orange);padding-inline-start:9px}.src{margin:5px 0}.src.title{font-weight:800;line-height:1.25}.src.subtitle{font-weight:700;line-height:1.4}.src.body{font-weight:400}.src.ar-text.title{color:var(--navy);font-size:clamp(27px,3vw,39px);margin-top:6px}.src.en-text.title{color:var(--orange);font-size:clamp(24px,2.6vw,34px);margin:4px 0 12px}.src.mixed.title{color:var(--navy);font-size:clamp(25px,2.8vw,36px)}.src.ar-text.subtitle{color:var(--navy);font-size:21px}.src.en-text.subtitle{color:var(--orange);font-size:20px}.src.mixed.subtitle{color:var(--navy);font-size:20px}.src.ar-text.body{color:#354158;font-size:18px}.src.en-text.body{color:var(--gray);font-size:17.5px;line-height:1.58;margin-top:5px}.src.mixed.body{color:#435168;font-size:17.5px}.dark .src.ar-text.title,.dark .src.ar-text.subtitle,.dark .src.mixed.title,.dark .src.mixed.subtitle{color:#fff}.dark .src.en-text.title,.dark .src.en-text.subtitle{color:#F3A160}.dark .src.ar-text.body,.dark .src.mixed.body{color:#eef3f8}.dark .src.en-text.body{color:#cbd8e6}.dark .source-page{color:#F3A160}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.service-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:25px;box-shadow:0 8px 24px rgba(0,41,91,.06);min-height:190px;display:flex;flex-direction:column}.service-card .number{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(205,99,13,.1);color:var(--orange);font:bold 15px Montserrat,Arial,sans-serif}.service-card h3{color:var(--navy);font-size:21px;margin:20px 0 5px;line-height:1.35}.service-card h4{color:var(--orange);font-size:19px;margin:0;line-height:1.3;font-weight:700}.cta-section{padding:55px 0;background:#fff}.cta{border-radius:26px;background:linear-gradient(120deg,var(--navy),#004083);padding:35px 40px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.cta h2{font-size:30px;margin:0;color:#fff}.cta h3{font-size:27px;margin:6px 0 0;color:#F3A160}.cta p{margin:7px 0 0}.cta p.ar{font-size:17px}.cta p.en{font-size:16.5px;color:#cfdaE7}
.contact-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:28px}.contact-box,.qr-box{background:#fff;border:1px solid var(--border);border-radius:24px;padding:32px;box-shadow:0 7px 24px rgba(0,41,91,.05)}.contact-box h2{color:var(--navy);font-size:30px;margin:0}.contact-box h3{color:var(--orange);font-size:27px;margin:5px 0 20px}.contact-box>p.ar{font-size:18px;color:#354158}.contact-box>p.en{font-size:17.5px;color:var(--gray)}.contact-lines{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px;padding-top:22px;border-top:1px solid var(--border)}.contact-lines b.ar{color:var(--navy);font-size:17px}.contact-lines b.en{color:var(--orange);font-size:16.5px}.contact-lines p{margin:6px 0;color:#445066}.qr-box{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.qr-box img{width:180px;height:180px;image-rendering:auto;border:12px solid #fff;box-shadow:var(--shadow);border-radius:20px}.qr-box h3{font-size:22px;color:var(--navy);margin:20px 0 2px}.qr-box h4{font-size:20px;color:var(--orange);margin:0}.qr-box p{margin:6px 0}.qr-box p.en{color:var(--gray)}
.footer{background:var(--navy-dark);color:#c8d6e5;padding:48px 0 22px}.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:46px}.footer-logo{height:92px;width:auto;margin-bottom:12px}.footer-brand .closing.ar{font-size:17px;color:#fff}.footer-brand .closing.en{font-size:16.5px;color:#F3A160;margin-top:6px}.footer h4{margin:0 0 12px}.footer h4 .ar{font-size:18px;color:#fff}.footer h4 .en{font-size:17px;color:#F3A160;margin-top:4px}.footer p{font-size:15px;margin:8px 0}.footer p.en{color:#9fb1c6;font-size:15px}.footer a .ar{color:#fff;font-size:15px}.footer a .en{color:#F3A160;font-size:14.5px;margin-top:3px}.footer-note{border-top:1px solid rgba(255,255,255,.12);margin-top:32px;padding-top:16px;display:flex;gap:28px;flex-wrap:wrap;font:12px Montserrat,Arial,sans-serif;color:#8fa4bc;direction:ltr}
@media(max-width:1100px){.brand{min-width:220px}.brand img{height:72px}.nav-links{gap:11px}.nav-links .ar{font-size:12px}.nav-links .en{font-size:11.5px}.source-grid.has-media,.source-grid.has-media.reverse{grid-template-columns:.85fr 1.15fr}.service-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.nav{min-height:80px}.brand{min-width:0}.brand img{height:66px}.menu-btn{display:block;margin-inline-start:auto}.nav-links{display:none;position:fixed;top:110px;left:0;right:0;background:var(--navy);padding:20px 24px;flex-direction:column;align-items:center;box-shadow:0 12px 25px rgba(0,0,0,.2)}.nav-links.open{display:flex}.home-hero{height:470px}.source-grid.has-media,.source-grid.has-media.reverse{grid-template-columns:1fr}.source-grid.has-media.reverse .source-media,.source-grid.has-media.reverse .source-copy{order:initial}.source-media{min-height:300px}.contact-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:640px){.container{width:min(var(--max),calc(100% - 26px))}.topbar{display:none}.nav{min-height:74px}.brand img{height:60px}.nav-links{top:74px}.home-hero{height:440px;background-position:56% center}.home-copy h1{font-size:37px}.home-copy h2{font-size:27px}.page-hero,.hero-inner{min-height:260px}.hero-copy{padding:30px 0}.page-hero h1 .ar{font-size:34px}.page-hero h1 .en{font-size:29px}.hero-desc .ar{font-size:17px}.hero-desc .en{font-size:16.5px}.section,.source-section{padding:52px 0}.source-media,.source-media img{min-height:240px}.source-media.multi{grid-template-columns:1fr}.source-media.multi img:nth-child(3){grid-column:auto}.src.ar-text.title{font-size:29px}.src.en-text.title{font-size:25px}.src.ar-text.subtitle{font-size:19px}.src.en-text.subtitle{font-size:18.5px}.src.ar-text.body{font-size:17px}.src.en-text.body{font-size:16.5px}.service-grid{grid-template-columns:1fr}.cta{flex-direction:column;align-items:flex-start;padding:28px}.cta h2{font-size:26px}.cta h3{font-size:23px}.contact-lines{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.footer-logo{height:82px}}
/* v3.1 exact-content composition refinements */
.brand img{height:82px}.footer-logo{height:96px}.home-hero{height:470px}.page-hero,.hero-inner{min-height:270px}.source-media{align-self:center;min-height:0;background:transparent}.source-media img{height:auto;min-height:0;max-height:520px;object-fit:contain}.source-media.multi{align-self:center}.source-media.multi img{height:auto;min-height:0;max-height:360px;object-fit:contain}.section-title{max-width:900px;margin-bottom:30px}.section-title h2{font-size:38px;line-height:1.15;color:var(--navy);margin:0}.section-title h3{font-size:32px;line-height:1.15;color:var(--orange);margin:6px 0 16px}.section-title p{margin:5px 0}.section-title p.ar{font-size:18px;color:#354158}.section-title p.en{font-size:17.5px;color:var(--gray);line-height:1.55}.section-title.light h2{color:#fff}.section-title.light p.ar{color:#edf3f9}.section-title.light p.en{color:#cbd8e6}.two-col{display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;align-items:center}.image-panel{border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.image-panel img{width:100%;height:auto}.value-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.value-card{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);border-radius:16px;padding:15px}.value-card h4{font-size:18px;color:#fff;margin:0}.value-card h5{font-size:16.5px;color:#F3A160;margin:3px 0 8px}.value-card p{margin:2px 0}.value-card p.ar{font-size:16.5px;color:#eef3f8}.value-card p.en{font-size:16px;color:#cbd8e6}.source-tagline{margin-top:22px;border-inline-start:4px solid var(--orange);padding-inline-start:16px}.source-tagline p{margin:2px 0;font-weight:800}.source-tagline p.ar{font-size:19px;color:#fff}.source-tagline p.en{font-size:18px;color:#F3A160}.source-tagline.light-bg p.ar{color:var(--navy)}.portfolio-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.portfolio{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;box-shadow:0 7px 22px rgba(0,41,91,.05)}.portfolio img{width:100%;height:230px;object-fit:cover;border-radius:16px}.portfolio h3{font-size:24px;color:var(--navy);margin:18px 0 3px}.portfolio h4{font-size:21px;color:var(--orange);margin:0 0 14px}.portfolio ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.portfolio li{border-top:1px solid #edf0f3;padding-top:7px}.portfolio li .ar{font-size:16.5px;color:#354158}.portfolio li .en{font-size:16px;color:var(--gray);margin-top:2px}
@media(max-width:900px){.two-col{grid-template-columns:1fr}.value-grid{grid-template-columns:1fr 1fr}.portfolio-grid{grid-template-columns:1fr}.brand img{height:68px}}
@media(max-width:640px){.home-hero{height:420px}.page-hero,.hero-inner{min-height:245px}.section-title h2{font-size:31px}.section-title h3{font-size:27px}.value-grid{grid-template-columns:1fr}.portfolio img{height:auto}.brand img{height:62px}.footer-logo{height:84px}}
.section.dark{background:var(--navy);color:#fff}.source-grid.wide-media{grid-template-columns:1fr!important;gap:24px}.source-grid.wide-media .source-media,.source-grid.wide-media.reverse .source-media{order:initial;width:100%;max-width:none}.source-grid.wide-media .source-copy,.source-grid.wide-media.reverse .source-copy{order:initial;max-width:100%}.source-grid.wide-media .source-media img{width:100%;height:auto;max-height:none;object-fit:contain}.source-grid.wide-media .source-media{border-radius:18px}


/* =============================================================
   NIRVI WEBSITE V4 — NCP VISUAL BALANCE & STRICT SOURCE IMAGERY
   ============================================================= */
:root{--navy:#00295B;--orange:#CD630D;--beige:#F8F6F0;--gray:#6F7782;--navy-dark:#00295B;--ink:#00295B;--border:rgba(111,119,130,.24)}
body{color:var(--gray)}
.topbar,.site-header,.footer{background:var(--navy)}
.nav{min-height:102px}.brand{min-width:310px}.brand img{height:94px}.footer-logo{height:112px}
.nav-links a.active,.nav-links a:hover,.nav-links a.active .en,.nav-links a:hover .en{color:var(--orange)}
.nav-links .ar{font-size:14px}.nav-links .en{font-size:13.5px;color:#fff;opacity:.84}
.home-hero{height:440px;background-image:var(--home-hero-img);background-position:center 43%;background-size:cover}
.home-copy h1{font-size:clamp(38px,4.7vw,58px)}.home-copy h2{font-size:clamp(31px,3.6vw,45px);color:var(--orange)}
.kicker{color:var(--orange)}
.page-hero,.hero-inner{min-height:225px}.hero-copy{padding:28px 0}.page-hero h1 .ar{font-size:clamp(34px,4vw,49px)}.page-hero h1 .en{font-size:clamp(32px,3.7vw,46px);color:var(--orange)}.hero-desc .ar{font-size:19px}.hero-desc .en{font-size:18.5px;color:#fff;opacity:.9}
.src.ar-text.title{font-size:clamp(28px,3vw,39px)}.src.en-text.title{font-size:clamp(27px,2.9vw,37px);color:var(--orange)}
.src.ar-text.subtitle{font-size:21px}.src.en-text.subtitle{font-size:20.5px;color:var(--orange)}
.src.ar-text.body{font-size:18px;color:var(--navy)}.src.en-text.body{font-size:17.7px;color:var(--gray)}.src.mixed.body{font-size:17.8px;color:var(--navy)}
.section-title h3,.service-card h4,.contact-box h3,.footer h4 .en,.footer-brand .closing.en,.footer a .en{color:var(--orange)}
.section,.source-section{padding:56px 0}
.source-section:nth-of-type(even){background:var(--beige)}
.ncp-section-grid{display:grid;grid-template-columns:1fr;gap:26px;align-items:start}
.ncp-section-grid .source-copy{max-width:none;width:100%}
.ncp-media-gallery{width:100%;display:grid;gap:14px;margin:0 0 2px;align-items:start}
.ncp-media-item{margin:0;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(0,41,91,.08);line-height:0}
.ncp-media-item img{display:block;width:100%;height:auto;object-fit:contain}
.ncp-media-gallery.count-1{grid-template-columns:1fr}.ncp-media-gallery.count-1 .ncp-media-item{max-width:100%}
.ncp-media-gallery.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ncp-media-gallery.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ncp-media-gallery.count-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.ncp-media-gallery.count-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.ncp-media-gallery.count-6,.ncp-media-gallery.count-7{grid-template-columns:repeat(3,minmax(0,1fr))}
.ncp-media-gallery.count-7 .ncp-media-item:first-child{grid-column:span 2;grid-row:span 2}
.ncp-media-gallery.portrait-gallery{justify-items:center}.ncp-media-gallery.portrait-gallery .ncp-media-item{max-width:440px}
.ncp-section-grid.portrait-split{grid-template-columns:minmax(280px,.38fr) minmax(0,.62fr);gap:38px;align-items:center}.ncp-section-grid.portrait-split .ncp-media-gallery{margin:0}.ncp-section-grid.portrait-split .ncp-media-item{max-width:410px;margin-inline:auto}
.service-photo-gallery,.home-service-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:28px}.service-photo,.home-service-photo{margin:0;border-radius:16px;overflow:hidden;box-shadow:0 7px 20px rgba(0,41,91,.08);line-height:0}.service-photo img,.home-service-photo img{width:100%;height:auto;display:block}
.contact-source-visual{border-radius:22px;overflow:hidden;margin-bottom:26px;box-shadow:0 9px 26px rgba(0,41,91,.08);line-height:0}.contact-source-visual img{width:100%;height:auto;display:block}
/* Keep all text colors within the approved print palette. */
.source-page,.kicker{color:var(--orange)}
.dark .src.en-text.title,.dark .src.en-text.subtitle,.source-tagline p.en,.value-card h5{color:var(--orange)}
.footer p,.footer p.en,.footer-note{color:#fff;opacity:.78}
@media(max-width:1100px){.brand{min-width:245px}.brand img{height:84px}.ncp-media-gallery.count-5{grid-template-columns:repeat(3,1fr)}.service-photo-gallery,.home-service-gallery{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.nav{min-height:82px}.brand img{height:72px}.page-hero,.hero-inner{min-height:205px}.ncp-section-grid.portrait-split{grid-template-columns:1fr}.ncp-media-gallery.count-3,.ncp-media-gallery.count-5,.ncp-media-gallery.count-6,.ncp-media-gallery.count-7{grid-template-columns:repeat(2,1fr)}.ncp-media-gallery.count-7 .ncp-media-item:first-child{grid-column:auto;grid-row:auto}.service-photo-gallery,.home-service-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.brand img{height:64px}.home-hero{height:410px}.page-hero,.hero-inner{min-height:190px}.source-section{padding:44px 0}.ncp-media-gallery.count-2,.ncp-media-gallery.count-3,.ncp-media-gallery.count-4,.ncp-media-gallery.count-5,.ncp-media-gallery.count-6,.ncp-media-gallery.count-7,.service-photo-gallery,.home-service-gallery{grid-template-columns:1fr}.src.ar-text.body{font-size:17px}.src.en-text.body{font-size:16.8px}.src.en-text.title{font-size:27px}.footer-logo{height:92px}}
/* V4 contact composition: avoid grid-stretch empty space around the source visual. */
.contact-layout{align-items:start}
.contact-source-visual{align-self:start;height:auto;background:transparent}
.qr-box{grid-column:1/-1;justify-self:center;width:min(100%,720px)}
.contact-layout-v4{grid-template-columns:1.15fr .85fr;margin-top:26px;align-items:stretch}
.contact-layout-v4 .qr-box{grid-column:auto;width:100%;justify-self:stretch}
.contact-source-visual{width:100%;margin-bottom:0}
.contact-source-visual img{width:100%;max-height:520px;object-fit:cover;object-position:center}
@media(max-width:900px){.contact-layout-v4{grid-template-columns:1fr}.contact-layout-v4 .qr-box{grid-column:auto}}
