/* Masarat public website — institutional direction 2026 */
.site-shell {
    --site-navy: #061a35;
    --site-navy-2: #0a2b57;
    --site-blue: #1464c0;
    --site-blue-bright: #4b9cff;
    --site-stone: #f4f3ef;
    --site-line: #dcdedc;
    --site-metal: #8993a0;
    background: var(--site-stone);
    color: var(--color-ink-soft);
}

.site-shell .container { width: min(calc(100% - 64px), 1320px); }
.site-shell .section { position: relative; padding-block: clamp(82px, 9vw, 132px); border-bottom-color: var(--site-line); }
.site-shell .section-alt { background: #eceeec; }
.site-shell h1,
.site-shell h2,
.site-shell h3 { letter-spacing: -.035em; }
.site-shell .subtitle { gap: 10px; margin-bottom: 17px; color: var(--site-blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.site-shell .subtitle::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.site-shell .btn { min-height: 46px; padding: 11px 18px; border-radius: 4px; font-size: 13px; font-weight: 750; }
.site-shell .btn-lg { min-height: 54px; padding: 14px 22px; }
.site-shell .btn-primary { border-color: var(--site-blue); background: var(--site-blue); }
.site-shell .btn-primary:hover { border-color: #0d4d98; background: #0d4d98; }
.site-shell .btn-outline { border-color: #aeb5bd; }

/* Header */
.site-shell .header { height: 92px; border-bottom-color: rgb(255 255 255 / .16); }
.site-shell .header.header-solid,
.site-shell .header.is-scrolled { height: 80px; border-bottom-color: var(--site-line); background: color-mix(in srgb, #f8f8f5 96%, transparent); box-shadow: 0 12px 40px rgb(6 26 53 / .06); backdrop-filter: blur(18px); }
.site-shell .header-container { gap: 28px; }
.site-shell .header-logo { width: auto; height: 100%; flex: 0 0 auto; gap: 11px; overflow: visible; }
.site-shell .header-logo img { width: 25px; max-height: 60px; }
.header-brand-copy { display: flex; flex-direction: column; line-height: 1.4; }
.header-brand-copy strong { color: inherit; font-size: 14px; font-weight: 800; }
.header-brand-copy small { color: currentColor; font-size: 8px; letter-spacing: .02em; opacity: .65; }
.site-shell .nav-menu { gap: 0; }
.site-shell .nav-menu a { position: relative; padding: 13px 10px 11px; border-radius: 0; color: inherit; font-size: 11px; font-weight: 700; }
.site-shell .nav-menu a::before { display: block; margin-bottom: 1px; color: currentColor; font: 8px/1 var(--font-mono); content: attr(data-index); opacity: .52; }
.site-shell .nav-menu a::after { position: absolute; inset: auto 10px 4px; height: 2px; background: transparent; content: ""; }
.site-shell .nav-menu a:hover { background: transparent; color: var(--site-blue-bright); }
.site-shell .nav-menu a.active,
.site-shell .header:not(.header-solid) .nav-menu a.active { background: transparent; color: inherit; }
.site-shell .nav-menu a.active::after { background: var(--site-blue-bright); }
.site-shell .header.header-solid .nav-menu a.active,
.site-shell .header.is-scrolled .nav-menu a.active { color: var(--site-blue); }
.site-header-inquiry,
.site-portal-access { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; font-size: 10px; font-weight: 750; }
.site-header-inquiry { padding: 0 13px; border: 1px solid var(--site-blue); background: var(--site-blue); color: #fff; }
.site-header-inquiry:hover { background: #0d4d98; }
.site-portal-access { padding: 0 11px; border-inline-start: 1px solid currentColor; color: inherit; opacity: .82; }
.site-portal-access:hover { opacity: 1; }
.site-theme-toggle { min-width: 38px; height: 38px; padding: 0; border-color: currentColor; border-radius: 2px; background: transparent; color: inherit; opacity: .78; }
.site-shell .mobile-cta { display: none; }

/* Home hero */
.site-shell .home-hero { display: block; min-height: min(920px, 100svh); border-bottom: 0; background: var(--site-navy); }
.site-shell .home-hero::before { position: absolute; z-index: 1; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 64px 64px; content: ""; mask-image: linear-gradient(to left, #000, transparent 75%); }
.site-shell .home-hero-media img { filter: saturate(.55) contrast(1.08); transform: scale(1.01); }
.site-shell .home-hero-overlay { background: linear-gradient(90deg, rgb(3 14 29 / .84) 0%, rgb(4 18 38 / .78) 40%, rgb(4 18 38 / .43) 72%, rgb(4 18 38 / .68) 100%); }
.site-shell .home-hero-layout { min-height: min(920px, 100svh); grid-template-columns: minmax(0, 1.35fr) minmax(260px, .52fr); gap: clamp(40px, 7vw, 100px); align-items: center; padding-top: 130px; padding-bottom: 172px; }
.site-shell .home-hero-copy { position: relative; max-width: 850px; padding-inline-start: 30px; }
.site-shell .home-hero-copy::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--site-blue-bright) 0 40%, rgb(255 255 255 / .24) 40%); content: ""; }
.site-shell .home-eyebrow { margin-bottom: 21px; color: #b9d8ff; font-size: 11px; letter-spacing: .1em; }
.site-shell .home-eyebrow > span { width: 26px; height: 2px; background: var(--site-blue-bright); }
.site-shell .home-hero h1 { max-width: 820px; color: #fff; font-size: clamp(3.3rem, 6.6vw, 6.8rem); font-weight: 750; line-height: 1.02; letter-spacing: -.065em; }
.site-shell .home-hero h1 em { color: #a8cef9; font-style: normal; }
.site-shell .home-hero-copy > p { max-width: 690px; margin-top: 25px; color: #d8e1eb; font-size: clamp(.98rem, 1.5vw, 1.16rem); line-height: 1.95; }
.site-shell .home-hero-actions { margin-top: 32px; }
.site-shell .home-hero-actions .btn { min-width: 180px; }
.site-shell .home-hero .btn-white-outline { border-color: rgb(255 255 255 / .5); border-radius: 4px; }
.site-shell .home-hero-assurance { gap: 20px; margin-top: 27px; color: #c9d4e0; font-size: 10px; }
.site-shell .home-hero-assurance i { color: var(--site-blue-bright); }
.site-shell .home-proof-card { position: relative; padding: 26px; border: 1px solid rgb(255 255 255 / .22); border-radius: 2px; background: rgb(5 20 42 / .72); box-shadow: 0 24px 70px rgb(0 0 0 / .22); backdrop-filter: blur(14px); }
.site-shell .home-proof-card::before { position: absolute; inset: 8px; border: 1px solid rgb(255 255 255 / .07); content: ""; pointer-events: none; }
.site-shell .home-proof-topline { position: relative; color: #9eb2c8; font-size: 10px; letter-spacing: .06em; }
.site-shell .home-proof-card > strong { position: relative; margin: 23px 0 7px; font: 800 3.4rem/1 var(--font-mono); }
.site-shell .home-proof-card > p { position: relative; color: #b8c4d1; font-size: 12px; line-height: 1.8; }
.home-proof-rule { position: relative; display: flex; gap: 6px; margin: 18px 0; }
.home-proof-rule span { padding: 5px 8px; border: 1px solid rgb(255 255 255 / .18); color: #dbeafe; font: 9px var(--font-mono); }
.site-shell .home-proof-card > a { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 11px; font-weight: 700; }
.site-shell .home-hero-metrics { position: absolute; z-index: 4; inset: auto 0 0; border-block: 1px solid rgb(255 255 255 / .16); background: rgb(3 14 29 / .82); backdrop-filter: blur(14px); }
.site-shell .home-metrics-grid > * { position: relative; padding: 25px 28px; border-inline-end-color: rgb(255 255 255 / .14); }
.site-shell .home-metrics-grid > *::before { position: absolute; inset: 9px auto auto 10px; color: rgb(255 255 255 / .3); font: 8px var(--font-mono); }
.site-shell .home-metrics-grid > *:nth-child(1)::before { content: "01"; }
.site-shell .home-metrics-grid > *:nth-child(2)::before { content: "02"; }
.site-shell .home-metrics-grid > *:nth-child(3)::before { content: "03"; }
.site-shell .home-metrics-grid > *:nth-child(4)::before { content: "04"; }
.site-shell .home-metrics-grid strong { color: #fff; font: 750 1.65rem/1.2 var(--font-mono); }
.site-shell .home-metrics-grid span { color: #aebdcd; font-size: 10px; }

/* Shared section composition */
.site-shell .home-section-heading,
.formal-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 44px; }
.site-shell .home-section-heading > div,
.formal-section-head > div { max-width: 800px; }
.site-shell .home-section-heading h2,
.formal-section-head h2 { max-width: 760px; font-size: clamp(1.85rem, 3.2vw, 3rem); font-weight: 750; line-height: 1.25; }
.site-shell .home-section-heading > p,
.formal-section-head > p { max-width: 420px; color: var(--color-ink-muted); font-size: 13px; line-height: 1.8; }

.site-shell .home-partners { background: #f8f8f5; }
.site-shell .home-partners-grid,
.site-shell .certifications-grid { gap: 0; border-color: var(--site-line); }
.site-shell .home-partner-card,
.site-shell .partner-grid-card { position: relative; min-height: 210px; padding: 30px 24px 22px; border-color: var(--site-line); background: transparent; }
.site-shell .home-partner-card::before { position: absolute; inset: 14px 16px auto auto; color: #9aa1a8; font: 8px var(--font-mono); content: "TRUSTED ENTITY"; letter-spacing: .08em; }
.site-shell .home-partner-card img,
.site-shell .partner-grid-card img { height: 112px; margin-top: 12px; padding: 6px; object-fit: contain; filter: none; opacity: 1; }
.site-shell .home-partner-card h3,
.site-shell .partner-grid-card h3 { padding-top: 15px; border-top: 1px solid var(--site-line); color: #26303c; font-size: 12px; }

.site-shell .home-about { overflow: hidden; background: var(--site-navy); color: #cbd5e1; }
.site-shell .home-about::before { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 72px 72px; content: ""; opacity: .7; }
.site-shell .home-about-grid { position: relative; grid-template-columns: minmax(290px, .7fr) minmax(0, 1.3fr); gap: clamp(50px, 8vw, 110px); }
.site-shell .home-about-mark { min-height: 420px; border-color: rgb(255 255 255 / .17); border-radius: 2px; background: rgb(255 255 255 / .04); }
.site-shell .home-about-mark strong { color: #fff; font-size: clamp(4.5rem, 9vw, 7.5rem); }
.site-shell .home-about-copy .subtitle { color: #80b7f7; }
.site-shell .home-about-copy h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.6rem); }
.site-shell .home-about-copy > p { color: #b8c4d1; line-height: 1.9; }
.site-shell .home-about-points { gap: 0 28px; }
.site-shell .home-about-points > * { border-top-color: rgb(255 255 255 / .16); color: #eef4fa; font-size: 12px; }
.site-shell .home-about-points b { margin-inline-end: 8px; color: #69a8f1; font: 10px var(--font-mono); }
.site-shell .home-about .btn-outline { border-color: rgb(255 255 255 / .35); color: #fff; }

.site-shell .home-services { background: #f8f8f5; }
.site-shell .capabilities-grid { gap: 18px; }
.site-shell .capability-block { position: relative; border-color: var(--site-line); border-radius: 2px; background: #fff; box-shadow: 0 14px 38px rgb(6 26 53 / .04); }
.site-shell .capability-block:nth-child(3n + 1) { grid-column: span 1; }
.site-shell .capability-image { height: 285px; }
.site-shell .capability-image::after,
.site-shell .project-img::after,
.site-shell .value-card-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(6 26 53 / .34)); content: ""; }
.site-shell .capability-image,
.site-shell .project-img,
.site-shell .value-card-image { position: relative; }
.site-shell .capability-image img,
.site-shell .project-img img,
.site-shell .value-card-image img { filter: saturate(.58) contrast(1.02); }
.site-shell .capability-content { padding: 25px 26px 28px; }
.site-shell .capability-number { color: var(--site-blue); font-size: 10px; font-weight: 800; }
.site-shell .capability-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #cfe0f5; background: #edf5ff; color: var(--site-blue); }
.site-shell .capability-content h3 { margin-top: 19px; font-size: 1.12rem; }
.site-shell .capability-content p { margin-top: 8px; color: var(--color-ink-muted); font-size: 12px; line-height: 1.8; }

.site-shell .certifications-section { background: #eef0ef; }
.site-shell .certificate-card { min-height: 0; padding: 0; border-color: var(--site-line); background: #f8f8f5; }
.site-shell .certificate-preview { height: 250px; border-color: var(--site-line); background: #e5e8e8; }
.site-shell .certificate-preview img { padding: 16px; filter: grayscale(30%); }
.site-shell .certificate-body { padding: 21px; }
.site-shell .certificate-body h3 { margin-top: 7px; font-size: 15px; }
.site-shell .certificate-body p { margin-top: 8px; color: var(--color-ink-muted); font-size: 11px; line-height: 1.7; }
.site-shell .certificate-body small { display: block; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--site-line); color: var(--color-success); font-size: 9px; }

.site-shell .home-projects { background: var(--site-stone); }
.site-shell .project-card { border-color: var(--site-line); border-radius: 2px; background: #fff; }
.site-shell .project-img { height: 340px; }
.site-shell .project-content { padding: 24px 26px 28px; }
.site-shell .project-title { font-size: 1.14rem; }
.site-shell .project-meta { padding-top: 12px; border-top: 1px solid var(--site-line); font-size: 10px; }
.site-shell .project-meta i { color: var(--site-blue); }

.site-shell .home-media { padding-block: 70px; background: #f8f8f5; }
.site-shell .home-media-card { padding: 42px 48px; border: 0; border-radius: 2px; background: var(--site-navy-2); }
.site-shell .home-final-cta { overflow: hidden; padding: 0; background: var(--site-navy); }
.site-shell .home-final-cta-inner { position: relative; padding: clamp(60px, 8vw, 110px) 0; border: 0; border-radius: 0; background: transparent; }
.site-shell .home-final-cta-inner::before { position: absolute; inset: 0 auto 0 -50vw; width: 200vw; border-block: 1px solid rgb(255 255 255 / .12); content: ""; }
.site-shell .home-final-cta-inner > * { position: relative; }

/* Interior page hero */
.site-main { overflow: hidden; }
.site-shell .page-hero { position: relative; min-height: 530px; display: flex; align-items: end; overflow: hidden; padding: 158px 0 86px; border-bottom: 0; background: var(--site-navy); color: #fff; text-align: start; }
.site-shell .page-hero::before { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 68px 68px; content: ""; mask-image: linear-gradient(90deg, transparent, #000); }
.site-shell .page-hero::after { position: absolute; inset: -210px auto auto -90px; width: 470px; height: 470px; border: 78px solid rgb(75 156 255 / .08); border-radius: 50%; content: ""; }
.page-hero-shell { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 70px; align-items: end; }
.page-hero-copy { position: relative; max-width: 910px; padding-inline-start: 28px; }
.page-hero-copy::before { position: absolute; inset: 2px auto 2px 0; width: 3px; background: linear-gradient(var(--site-blue-bright) 0 38%, rgb(255 255 255 / .18) 38%); content: ""; }
.page-hero-index { display: block; margin-bottom: 18px; color: #8fc2fb; font: 800 10px/1.4 var(--font-sans); letter-spacing: .12em; }
.site-shell .page-hero-title { max-width: 900px; color: #fff; font-size: clamp(2.7rem, 5.5vw, 5.7rem); font-weight: 750; line-height: 1.12; letter-spacing: -.06em; }
.site-shell .page-hero-desc { max-width: 720px; margin: 21px 0 0; color: #bbc8d6; font-size: clamp(.95rem, 1.5vw, 1.15rem); line-height: 1.9; }
.page-hero-proof { min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .045); }
.page-hero-proof > span,
.page-hero-proof > small { color: #9cafc3; font-size: 9px; letter-spacing: .06em; }
.page-hero-proof > strong { margin: 15px 0 7px; color: #fff; font: 800 2.6rem/1 var(--font-mono); }
.page-hero-proof > strong i { font-size: 2rem; }
.site-shell .page-hero-compact { min-height: 430px; }

.section-marker { display: flex; flex-direction: column; align-items: flex-start; padding-inline-end: 30px; border-inline-end: 1px solid var(--site-line); }
.section-marker span { color: var(--site-blue); font: 800 2.8rem/1 var(--font-mono); }
.section-marker small { margin-top: 8px; color: var(--color-ink-muted); font-size: 9px; }
.about-statement-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 55px; }
.about-statement-grid h2 { max-width: 850px; font-size: clamp(2rem, 4vw, 4rem); }
.about-statement-grid .editorial-text { max-width: 930px; margin-top: 23px; color: #515b66; font-size: clamp(1rem, 1.55vw, 1.2rem); }
.institutional-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 70px; border-block: 1px solid var(--site-line); }
.institutional-facts article { padding: 24px 26px; border-inline-start: 1px solid var(--site-line); }
.institutional-facts article:last-child { border-inline-start: 0; }
.institutional-facts strong { display: block; color: var(--site-navy); font: 800 1.8rem/1.25 var(--font-mono); }
.institutional-facts span { color: var(--color-ink-muted); font-size: 10px; }
.direction-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; }
.direction-card { min-height: 410px; padding: clamp(34px, 5vw, 68px); border: 1px solid var(--site-line); background: #f8f8f5; }
.direction-card.is-primary { background: var(--site-navy); color: #c8d4df; }
.direction-card > span { color: var(--site-blue); font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.direction-card.is-primary > span { color: #78b4f8; }
.direction-card h2 { max-width: 560px; margin-top: 45px; font-size: clamp(1.8rem, 3vw, 3.2rem); }
.direction-card.is-primary h2 { color: #fff; }
.direction-card p { max-width: 600px; margin-top: 24px; color: var(--color-ink-muted); font-size: 14px; line-height: 2; }
.direction-card.is-primary p { color: #adbdce; }
.operating-steps,
.assurance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--site-line); }
.operating-steps article,
.assurance-grid article { position: relative; min-height: 250px; padding: 27px 25px; border-inline-start: 1px solid var(--site-line); }
.operating-steps article:last-child,
.assurance-grid article:last-child { border-inline-start: 0; }
.operating-steps article > span,
.assurance-grid article > span { position: absolute; inset: 18px auto auto 18px; color: #98a0a9; font: 9px var(--font-mono); }
.operating-steps article > i,
.assurance-grid article > i { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 42px; border: 1px solid #cfe0f5; background: #edf5ff; color: var(--site-blue); }
.operating-steps h3,
.assurance-grid h3 { font-size: 1rem; }
.operating-steps p,
.assurance-grid p { margin-top: 9px; color: var(--color-ink-muted); font-size: 11px; line-height: 1.8; }
.values-grid { gap: 16px; }
.site-shell .value-card { border-color: var(--site-line); border-radius: 2px; background: #f8f8f5; }
.site-shell .value-card-image { height: 245px; }
.site-shell .value-card-body { padding: 24px; }
.site-shell .value-card-icon { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; color: var(--site-blue); }
.site-shell .value-card-icon span { color: #9199a2; font: 9px var(--font-mono); }
.site-shell .value-card-body p { margin-top: 9px; color: var(--color-ink-muted); font-size: 11px; line-height: 1.85; }

.site-cta-section { padding-block: clamp(70px, 8vw, 110px); background: #f8f8f5; }
.site-cta-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 35px; overflow: hidden; padding: clamp(34px, 5vw, 60px); background: var(--site-navy); color: #fff; }
.site-cta-panel::before { position: absolute; inset: -130px auto auto -45px; width: 300px; height: 300px; border: 48px solid rgb(75 156 255 / .1); border-radius: 50%; content: ""; }
.site-cta-panel > * { position: relative; }
.site-cta-panel span { color: #8fc2fb; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.site-cta-panel h2 { max-width: 760px; margin-top: 8px; color: #fff; font-size: clamp(1.65rem, 3vw, 2.8rem); }

/* Services, projects and partners */
.services-intro,
.projects-intro,
.partners-intro,
.contact-intro { padding-bottom: 30px; border-bottom: 1px solid var(--site-line); }
.service-assurance { background: #eceeec; }
.projects-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.projects-showcase .project-card { position: relative; }
.projects-showcase .project-card:nth-child(3n + 1) { grid-column: span 2; }
.projects-showcase .project-card:nth-child(3n + 1) .project-img { height: 460px; }
.project-sequence { display: block; margin-bottom: 10px; color: var(--site-blue); font: 800 10px var(--font-mono); }
.project-description { max-width: 90%; margin-top: 14px; color: var(--color-ink-muted); font-size: 12px; line-height: 1.8; }
.site-shell .project-empty { border: 1px solid var(--site-line); border-radius: 0; background: #f8f8f5; }
.site-shell .project-empty i { color: var(--site-blue); }
.partners-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--site-line); border-inline-start: 1px solid var(--site-line); }
.partners-directory .partner-grid-card { min-height: 230px; }
.partner-sequence { position: absolute; inset: 15px auto auto 15px; color: #98a0a8; font: 8px var(--font-mono); }
.partner-name-only { display: grid; width: 70px; height: 70px; place-items: center; margin: 27px auto 32px; border: 1px solid #cfe0f5; background: #edf5ff; color: var(--site-blue); font-size: 1.8rem; font-weight: 800; text-align: center; }
.partner-commitment { display: grid; grid-template-columns: 110px 1fr; gap: 35px; align-items: center; max-width: 950px; margin: 80px auto 0; padding-top: 45px; border-top: 1px solid var(--site-line); }
.partner-commitment > span { display: grid; width: 88px; height: 88px; place-items: center; border: 1px solid #cfe0f5; background: #edf5ff; color: var(--site-blue); font-size: 2rem; }
.partner-commitment small { color: var(--site-blue); font-size: 10px; font-weight: 800; }
.partner-commitment h2 { margin-top: 5px; font-size: clamp(1.5rem, 2.8vw, 2.5rem); }
.partner-commitment p { margin-top: 10px; color: var(--color-ink-muted); font-size: 13px; line-height: 1.8; }

/* Contact */
.site-shell .contact-layout { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 22px; }
.contact-form-panel { border: 1px solid var(--site-line); background: #f8f8f5; }
.contact-panel-head { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 23px 26px; border-bottom: 1px solid var(--site-line); }
.contact-panel-head > span { grid-column: 1 / -1; color: var(--site-blue); font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.contact-panel-head > strong { font-size: 1.1rem; }
.contact-panel-head > small { align-self: center; color: var(--color-ink-muted); font-size: 9px; }
.site-shell .contact-form { padding: 27px; border: 0; border-radius: 0; background: transparent; }
.site-shell .contact-form .form-group { margin-bottom: 20px; }
.site-shell .contact-form .form-label { color: #3f4955; font-size: 11px; font-weight: 750; }
.site-shell .contact-form .form-control { min-height: 50px; border-color: #cfd3d6; border-radius: 2px; background: #fff; }
.site-shell .contact-form textarea.form-control { min-height: 150px; }
.site-shell .contact-form input[dir="ltr"] { text-align: start; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.required-mark { color: var(--color-danger); }
.contact-submit { width: 100%; margin-top: 4px; }
.contact-brief { position: relative; min-width: 0; }
.site-shell .contact-visual { min-height: 680px; border: 0; border-radius: 0; }
.site-shell .contact-visual > img { filter: saturate(.45) contrast(1.06); }
.site-shell .contact-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(6 26 53 / .08), rgb(6 26 53 / .9)); content: ""; }
.site-shell .contact-info-overlay { inset: auto 25px 80px; z-index: 2; padding: 0; border: 0; border-radius: 0; background: transparent; }
.contact-info-kicker { color: #8fc2fb; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.site-shell .contact-info-overlay h2 { margin: 6px 0 24px; color: #fff; font-size: 1.55rem; }
.contact-info-list { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.contact-info-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding-top: 13px; border-top: 1px solid rgb(255 255 255 / .18); }
.contact-info-list > li > i { display: grid; width: 30px; height: 30px; place-items: center; color: #8fc2fb; }
.contact-info-list span,
.contact-info-list strong { display: block; }
.contact-info-list span { color: #96a8ba; font-size: 8px; }
.contact-info-list strong { margin-top: 2px; color: #fff; font-size: 12px; font-weight: 650; }
.contact-info-empty { color: #d2dce6; font-size: 12px; }
.contact-response-note { position: absolute; z-index: 3; inset: auto 0 0; display: flex; align-items: center; gap: 11px; padding: 15px 18px; background: var(--site-blue); color: #fff; }
.contact-response-note > i { font-size: 1.1rem; }
.contact-response-note strong,
.contact-response-note span { display: block; }
.contact-response-note strong { font-size: 11px; }
.contact-response-note span { color: #d9eaff; font-size: 9px; }

/* Legal documents */
.legal-section { background: #f8f8f5; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 820px); gap: clamp(45px, 8vw, 110px); justify-content: center; align-items: start; }
.legal-aside { position: sticky; top: 110px; padding: 22px; border-top: 3px solid var(--site-blue); background: #ecefed; }
.legal-aside > span { color: var(--site-blue); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.legal-aside dl { margin: 20px 0; }
.legal-aside dl > div { padding: 11px 0; border-top: 1px solid #d1d5d3; }
.legal-aside dt { color: var(--color-ink-muted); font-size: 8px; }
.legal-aside dd { margin: 2px 0 0; color: var(--site-navy); font-size: 11px; font-weight: 700; }
.legal-aside a { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #d1d5d3; color: var(--site-blue); font-size: 10px; font-weight: 750; }
.legal-document { min-width: 0; }
.legal-lead { margin-bottom: 42px; padding-bottom: 35px; border-bottom: 1px solid var(--site-line); color: var(--site-navy); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 650; line-height: 1.9; }
.legal-document > section { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--site-line); }
.legal-document > section > span { color: var(--site-blue); font: 800 12px var(--font-mono); }
.legal-document h2 { font-size: 1.25rem; }
.legal-document p { margin-top: 10px; color: #59636e; font-size: 14px; line-height: 2; }
.legal-document > footer { margin-top: 32px; padding: 14px 16px; border-inline-start: 3px solid var(--site-blue); background: #edf3f9; color: var(--color-ink-muted); font-size: 10px; }

/* Public error page */
.public-error-section { min-height: 82svh; display: grid; place-items: center; padding: 150px 0 80px; background: #f8f8f5; }
.public-error-shell { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); border: 1px solid var(--site-line); background: #fff; }
.public-error-code { position: relative; display: flex; min-height: 430px; flex-direction: column; justify-content: center; padding: 50px; overflow: hidden; background: var(--site-navy); color: #fff; }
.public-error-code::after { position: absolute; inset: auto -110px -150px auto; width: 360px; height: 360px; border: 55px solid rgb(75 156 255 / .1); border-radius: 50%; content: ""; }
.public-error-code span { color: #8fc2fb; font-size: 10px; font-weight: 800; }
.public-error-code strong { margin: 18px 0 8px; color: #fff; font: 800 clamp(5rem, 10vw, 8rem)/1 var(--font-mono); letter-spacing: -.08em; }
.public-error-code small { color: #75899f; font: 9px var(--font-mono); letter-spacing: .16em; }
.public-error-copy { align-self: center; padding: clamp(40px, 7vw, 85px); }
.public-error-copy h1 { max-width: 620px; font-size: clamp(2rem, 4vw, 3.7rem); }
.public-error-copy p { max-width: 570px; margin-top: 18px; color: var(--color-ink-muted); line-height: 1.9; }
.public-error-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 29px; }
.server-error-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 35px; color: var(--site-navy); font-size: 12px; font-weight: 800; }
.server-error-brand img { width: 24px; height: 54px; object-fit: contain; }

/* Footer */
.site-shell .site-footer { padding: 0; border: 0; background: #031122; color: #aebac7; }
.footer-callout { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 55px 0; border-bottom: 1px solid rgb(255 255 255 / .14); }
.footer-callout span { color: #7eb4f2; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.footer-callout h2 { max-width: 800px; margin-top: 7px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.7rem); }
.site-shell .footer-grid { grid-template-columns: minmax(0, 1.7fr) .8fr .9fr; gap: 70px; padding: 65px 0 50px; }
.site-shell .footer-logo { display: inline-flex; align-items: center; gap: 14px; }
.site-shell .footer-logo img { width: 27px; max-height: 70px; }
.site-shell .footer-logo span,
.site-shell .footer-logo strong,
.site-shell .footer-logo small { display: block; }
.site-shell .footer-logo strong { color: #fff; font-size: 15px; }
.site-shell .footer-logo small { color: #7d8b9b; font-size: 8px; }
.site-shell .footer-desc { max-width: 510px; margin-top: 22px; color: #8e9baa; font-size: 12px; line-height: 1.9; }
.footer-registration { display: inline-flex; align-items: center; gap: 9px; margin-top: 21px; padding: 9px 11px; border: 1px solid rgb(255 255 255 / .12); color: #9fb0c1; font-size: 9px; }
.footer-registration i { color: #63a3ed; }
.site-shell .footer-title { margin-bottom: 20px; color: #fff; font-size: 11px; letter-spacing: .04em; }
.site-shell .footer-links li + li { margin-top: 11px; }
.site-shell .footer-links a { color: #8e9baa; font-size: 11px; }
.site-shell .footer-links a:hover { color: #fff; }
.site-shell .footer-bottom { margin: 0; padding: 18px 0 24px; border-top-color: rgb(255 255 255 / .11); color: #677687; font-size: 9px; }
.site-shell .footer-bottom > div:first-child { display: flex; gap: 18px; }
.footer-social a { display: flex; align-items: center; gap: 8px; }

/* Dark theme remains fully supported without diluting the institutional palette. */
:root[data-theme="dark"] .site-shell {
    --site-stone: #080d13;
    --site-line: #28313b;
    background: #080d13;
}
:root[data-theme="dark"] .site-shell .header.header-solid,
:root[data-theme="dark"] .site-shell .header.is-scrolled { background: color-mix(in srgb, #080d13 95%, transparent); }
:root[data-theme="dark"] .site-shell .section-alt,
:root[data-theme="dark"] .site-shell .home-partners,
:root[data-theme="dark"] .site-shell .home-services,
:root[data-theme="dark"] .site-shell .home-media,
:root[data-theme="dark"] .site-shell .certifications-section,
:root[data-theme="dark"] .site-cta-section,
:root[data-theme="dark"] .legal-section,
:root[data-theme="dark"] .public-error-section { background: #0b1118; }
:root[data-theme="dark"] .site-shell .home-partner-card,
:root[data-theme="dark"] .site-shell .partner-grid-card,
:root[data-theme="dark"] .site-shell .capability-block,
:root[data-theme="dark"] .site-shell .certificate-card,
:root[data-theme="dark"] .site-shell .project-card,
:root[data-theme="dark"] .site-shell .value-card,
:root[data-theme="dark"] .direction-card,
:root[data-theme="dark"] .contact-form-panel,
:root[data-theme="dark"] .public-error-shell { background: #0e151d; }
:root[data-theme="dark"] .site-shell .home-partner-card h3,
:root[data-theme="dark"] .site-shell .partner-grid-card h3,
:root[data-theme="dark"] .partner-name-only,
:root[data-theme="dark"] .about-statement-grid .editorial-text { color: var(--color-ink-soft); }
:root[data-theme="dark"] .institutional-facts strong,
:root[data-theme="dark"] .server-error-brand { color: var(--color-ink); }
:root[data-theme="dark"] .site-shell .contact-form .form-control { border-color: #35404b; background: #090f16; color: var(--color-ink); }
:root[data-theme="dark"] .legal-aside { background: #111a23; }
:root[data-theme="dark"] .legal-aside dl > div,
:root[data-theme="dark"] .legal-aside a { border-color: #2b3742; }
:root[data-theme="dark"] .legal-aside dd,
:root[data-theme="dark"] .legal-lead { color: var(--color-ink); }
:root[data-theme="dark"] .legal-document > footer { background: #101d2c; }
:root[data-theme="dark"] .partner-name-only { border-color: #244569; background: #10243a; color: #78b4f8; }
:root[data-theme="dark"] .site-shell .mobile-cta a { color: var(--site-blue-bright) !important; }

@media (max-width: 1100px) {
    .site-shell .header-brand-copy { display: none; }
    .site-shell .nav-menu a { padding-inline: 8px; }
    .site-header-inquiry { display: none; }
    .site-shell .home-hero-layout { grid-template-columns: minmax(0, 1.3fr) 280px; gap: 38px; }
    .partners-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .site-shell .contact-layout { grid-template-columns: 1fr 380px; }
}

@media (max-width: 900px) {
    .site-shell .container { width: min(calc(100% - 40px), 1320px); }
    .site-shell .home-hero-layout { grid-template-columns: 1fr; align-content: center; padding-bottom: 210px; }
    .site-shell .home-proof-card { display: none; }
    .page-hero-shell { grid-template-columns: 1fr 190px; gap: 35px; }
    .institutional-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .institutional-facts article:nth-child(2) { border-inline-start: 0; }
    .institutional-facts article:nth-child(-n + 2) { border-bottom: 1px solid var(--site-line); }
    .operating-steps,
    .assurance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .operating-steps article:nth-child(2),
    .assurance-grid article:nth-child(2) { border-inline-start: 0; }
    .operating-steps article:nth-child(-n + 2),
    .assurance-grid article:nth-child(-n + 2) { border-bottom: 1px solid var(--site-line); }
    .partners-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-shell .contact-layout { grid-template-columns: 1fr; }
    .site-shell .contact-visual { min-height: 620px; }
}

@media (max-width: 760px) {
    .site-shell .container { width: min(calc(100% - 28px), 1320px); }
    .site-shell .section { padding-block: 70px; }
    .site-shell .header,
    .site-shell .header.header-solid,
    .site-shell .header.is-scrolled { height: 70px; }
    .site-shell .header-logo img { width: 22px; max-height: 52px; }
    .site-shell .mobile-nav-toggle { display: block; order: 0; width: 38px; height: 38px; border-radius: 2px; }
    .site-shell .header nav { inset: 70px 0 auto; max-height: calc(100svh - 70px); padding: 14px; overflow-y: auto; border-bottom-color: var(--site-line); background: #f8f8f5; }
    .site-shell .nav-menu { gap: 0; }
    .site-shell .nav-menu li { border-bottom: 1px solid var(--site-line); }
    .site-shell .nav-menu a { padding: 13px 10px; color: var(--site-navy); }
    .site-shell .nav-menu a::before { display: inline-block; width: 32px; margin: 0; }
    .site-shell .nav-menu a::after { display: none; }
    .site-shell .mobile-cta { display: list-item; }
    .site-shell .mobile-cta a { color: var(--site-blue) !important; }
    .site-shell .nav-actions { margin-inline-start: auto; }
    .site-portal-access { display: none; }
    .site-shell .home-hero { min-height: 780px; }
    .site-shell .home-hero-layout { min-height: 780px; align-content: center; padding: 105px 0 230px; }
    .site-shell .home-hero-copy { padding-inline-start: 18px; }
    .site-shell .home-hero h1 { font-size: clamp(2.5rem, 12.5vw, 4.2rem); }
    .site-shell .home-hero-copy > p { font-size: .91rem; }
    .site-shell .home-hero-actions .btn { width: 100%; }
    .site-shell .home-hero-assurance { gap: 9px 16px; }
    .site-shell .home-metrics-grid > * { padding: 18px 14px; }
    .site-shell .home-metrics-grid strong { font-size: 1.2rem; }
    .site-shell .home-metrics-grid span { font-size: 8px; }
    .site-shell .home-section-heading,
    .formal-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 32px; }
    .site-shell .home-section-heading h2,
    .formal-section-head h2 { font-size: 1.8rem; }
    .site-shell .home-partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-shell .home-partner-card { min-height: 175px; padding: 23px 16px 16px; }
    .site-shell .home-partner-card img { height: 78px; }
    .site-shell .home-about-grid { grid-template-columns: 1fr; gap: 38px; }
    .site-shell .home-about-mark { min-height: 270px; }
    .site-shell .capability-image { height: 220px; }
    .site-shell .certifications-grid { grid-template-columns: 1fr; }
    .site-shell .home-media-card { padding: 30px 24px; }
    .site-shell .page-hero { min-height: 500px; padding: 125px 0 65px; }
    .page-hero-shell { grid-template-columns: 1fr; }
    .page-hero-copy { padding-inline-start: 18px; }
    .site-shell .page-hero-title { font-size: clamp(2.35rem, 11vw, 4rem); }
    .page-hero-proof { min-height: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px; }
    .page-hero-proof strong { grid-row: 1 / 3; grid-column: 2; margin: 0; font-size: 1.7rem; }
    .page-hero-proof small { grid-column: 1; }
    .about-statement-grid { grid-template-columns: 1fr; gap: 28px; }
    .section-marker { flex-direction: row; align-items: center; gap: 10px; padding: 0 0 14px; border-inline-end: 0; border-bottom: 1px solid var(--site-line); }
    .section-marker span { font-size: 1.5rem; }
    .direction-grid { grid-template-columns: 1fr; }
    .direction-card { min-height: 340px; padding: 32px 24px; }
    .operating-steps,
    .assurance-grid { grid-template-columns: 1fr; }
    .operating-steps article,
    .operating-steps article:nth-child(2),
    .assurance-grid article,
    .assurance-grid article:nth-child(2) { min-height: 210px; border-inline-start: 0; border-bottom: 1px solid var(--site-line); }
    .projects-showcase { grid-template-columns: 1fr; }
    .projects-showcase .project-card:nth-child(3n + 1) { grid-column: auto; }
    .projects-showcase .project-card:nth-child(3n + 1) .project-img,
    .site-shell .project-img { height: 260px; }
    .partners-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .partners-directory .partner-grid-card { min-height: 190px; padding: 22px 15px 16px; }
    .partner-commitment { grid-template-columns: 70px 1fr; gap: 18px; margin-top: 55px; }
    .partner-commitment > span { width: 64px; height: 64px; font-size: 1.4rem; }
    .contact-form-grid { grid-template-columns: 1fr; gap: 0; }
    .contact-panel-head { grid-template-columns: 1fr; }
    .contact-panel-head > small { margin-top: 5px; }
    .site-shell .contact-form { padding: 20px; }
    .site-shell .contact-visual { min-height: 560px; }
    .legal-layout { grid-template-columns: 1fr; gap: 35px; }
    .legal-aside { position: static; }
    .legal-document > section { grid-template-columns: 38px 1fr; gap: 13px; }
    .public-error-shell { grid-template-columns: 1fr; }
    .public-error-code { min-height: 260px; }
    .site-cta-panel,
    .footer-callout { align-items: flex-start; flex-direction: column; }
    .site-cta-panel .btn,
    .footer-callout .btn { width: 100%; }
    .site-shell .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
    .site-shell .footer-identity { grid-column: 1 / -1; }
    .site-shell .footer-bottom > div:first-child { flex-direction: column; gap: 4px; }
}

@media (max-width: 760px) {
    :root[data-theme="dark"] .site-shell .header nav { background: #0b1118; }
    :root[data-theme="dark"] .site-shell .nav-menu a { color: var(--color-ink); }
}

@media (max-width: 430px) {
    .site-shell .home-partners-grid,
    .partners-directory { grid-template-columns: 1fr; }
    .site-shell .home-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .institutional-facts { grid-template-columns: 1fr; }
    .institutional-facts article,
    .institutional-facts article:nth-child(2),
    .institutional-facts article:last-child { border-inline-start: 0; border-bottom: 1px solid var(--site-line); }
    .institutional-facts article:last-child { border-bottom: 0; }
    .site-shell .footer-grid { grid-template-columns: 1fr; }
    .site-shell .footer-identity { grid-column: auto; }
}
