@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #071d42;
  --navy-2: #0b2b60;
  --blue: #0759bd;
  --blue-2: #2283eb;
  --ink: #122544;
  --muted: #55647a;
  --line: #dce5f0;
  --paper: #ffffff;
  --mist: #f3f7fc;
  --cyan: #a6ddff;
  --radius: 20px;
  --shadow: 0 18px 44px rgba(6, 32, 72, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', Arial, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }
.skip-link { position: absolute; left: 14px; top: -80px; padding: 10px 16px; background: #fff; z-index: 1000; }
.skip-link:focus { top: 12px; }
.container { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: var(--cyan); }
h1, h2, h3, h4 { font-family: Manrope, Arial, sans-serif; line-height: 1.17; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.4vw, 6.6rem); margin: 0; font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.1vw, 4rem); margin: 0 0 20px; font-weight: 800; }
h3 { font-size: clamp(1.22rem, 1.7vw, 1.55rem); margin: 0 0 12px; }
p { margin: 0 0 19px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.23rem); color: var(--muted); max-width: 800px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px; font-weight: 800; font-size: .88rem; letter-spacing: .015em; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--blue); box-shadow: 0 10px 26px rgba(7, 89, 189, .18); }
.button.primary:hover { background: #084997; }
.button.light { color: var(--navy); background: white; }
.button.outline { border-color: #b7c9dd; color: var(--navy); background: transparent; }
.button.ghost { border-color: rgba(255,255,255,.36); color: white; background: rgba(255,255,255,.05); }
.button .arrow, .text-link .arrow { font-size: 1.2em; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 800; font-size: .92rem; }
.text-link:hover { gap: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.mtsc-site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand img { width: 66px; height: 66px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.16; }
.brand-text strong { font-family: Manrope, Arial, sans-serif; color: var(--navy); font-size: 1.02rem; letter-spacing: .09em; }
.brand-text span { color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(15px, 2vw, 29px); font-size: .84rem; font-weight: 800; }
.nav-links a:not(.button) { padding-block: 8px; border-bottom: 2px solid transparent; }
.nav-links a:not(.button):hover, .nav-links a[aria-current='page'] { color: var(--blue); border-color: var(--blue); }
.menu-toggle { display: none; width: 43px; height: 43px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; }

.hero { overflow: hidden; position: relative; color: white; background: radial-gradient(circle at 74% 34%, #16437b 0, transparent 37%), linear-gradient(120deg, #061a3c 0%, #092d63 100%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.23) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.23) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to left, black, transparent 90%); }
.hero::after { content: ''; position: absolute; inset: auto 0 0 auto; width: min(75%, 1050px); height: 280px; background: url('kuwait-horizon.svg') no-repeat right bottom / contain; opacity: .22; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; min-height: 650px; gap: 58px; padding-block: 80px 95px; }
.hero h1 { max-width: 760px; }
.hero h1 em { font-style: normal; color: #a5d6ff; }
.hero .lead { margin-top: 25px; max-width: 630px; color: #d5e4f4; }
.hero-diagram { position: relative; min-height: 420px; padding: 27px; border: 1px solid rgba(182,218,255,.27); border-radius: 24px; background: rgba(7, 26, 58, .56); box-shadow: 0 28px 70px rgba(0,0,0,.18); }
.diagram-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16); font-size: .7rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; color: #b9d7f5; }
.signal { display: flex; align-items: center; gap: 8px; color: #bdecca; }
.signal::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #58dd8d; box-shadow: 0 0 0 4px rgba(88,221,141,.13); }
.diagram-stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 34px; }
.diagram-stage div { min-height: 90px; padding: 13px 10px; border: 1px solid rgba(166,221,255,.22); border-radius: 11px; background: rgba(27,74,128,.3); }
.diagram-stage span { display: block; color: #91bfec; font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.diagram-stage strong { display: block; margin-top: 14px; font-family: Manrope, Arial, sans-serif; font-size: .76rem; line-height: 1.25; }
.wave { height: 128px; margin-top: 33px; display: flex; align-items: center; overflow: hidden; border-radius: 12px; background: linear-gradient(90deg, rgba(19,101,188,.13), rgba(39,141,225,.05)); }
.wave svg { width: 100%; height: 100%; }
.diagram-foot { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; color: #adcce8; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.hero-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.14); }
.hero-bottom .container { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-block: 19px; color: #bcd2e8; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.hero-bottom strong { color: white; }

.section { padding-block: clamp(78px, 9vw, 125px); }
.section.mist { background: var(--mist); }
.section.dark { color: white; background: var(--navy); }
.section-head { display: flex; justify-content: space-between; gap: 35px; align-items: end; margin-bottom: 38px; }
.section-head > div { max-width: 760px; }
.section-head p:last-child { margin-bottom: 0; }
.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(35px, 8vw, 120px); align-items: start; }
.intro-grid .statement { color: var(--navy); font-family: Manrope, Arial, sans-serif; font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.25; }
.intro-grid .statement strong { color: var(--blue); }
.intro-grid .lead { margin-bottom: 28px; }
.rule { height: 1px; background: var(--line); margin: 28px 0; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.capability-card { display: flex; flex-direction: column; min-height: 275px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 28px rgba(6,32,72,.025); transition: transform .2s, box-shadow .2s, border-color .2s; }
.capability-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b4d3f1; }
.capability-card .number { color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
.capability-card h3 { margin-top: 25px; }
.capability-card p { color: var(--muted); font-size: .89rem; }
.capability-card .text-link { margin-top: auto; }
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { position: relative; padding: 27px 0 0; border-top: 2px solid rgba(255,255,255,.38); }
.process-step::before { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #8acfff; box-shadow: 0 0 0 5px rgba(138,207,255,.13); }
.process-step .number { color: #8acfff; font-size: .73rem; letter-spacing: .13em; font-weight: 800; }
.process-step h3 { margin: 14px 0 9px; }
.process-step p { color: #becfe3; font-size: .88rem; }
.quote-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding: clamp(38px, 6vw, 70px); border-radius: 25px; background: #eaf3fc; }
.quote-band blockquote { margin: 0; color: var(--navy); font-family: Manrope, Arial, sans-serif; font-size: clamp(1.75rem, 3vw, 2.9rem); line-height: 1.28; font-weight: 800; letter-spacing: -.04em; }
.quote-band p { color: var(--muted); }
.sector-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sector-list span { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-2); background: white; font-size: .86rem; font-weight: 700; }
.cta { position: relative; overflow: hidden; color: white; background: linear-gradient(110deg, #071d42, #0b3b7c); }
.cta::after { content: ''; position: absolute; right: -110px; bottom: -230px; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.035), 0 0 0 130px rgba(255,255,255,.025); }
.cta .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.cta h2 { max-width: 720px; }
.cta p { max-width: 640px; color: #c9dbed; }
.cta .button { flex: 0 0 auto; }

.page-hero { padding-block: 91px 94px; color: white; background: radial-gradient(circle at 80% 20%, #16437b 0, transparent 35%), linear-gradient(120deg, #061a3c, #0c3168); }
.page-hero h1 { max-width: 910px; font-size: clamp(3rem, 5.8vw, 5.7rem); }
.page-hero .lead { color: #d1e0ef; max-width: 800px; margin-top: 25px; }
/* Astra assigns a heading color to page templates, so make dark panels explicit. */
.hero h1, .page-hero h1, .section.dark h2, .section.dark h3, .cta h2 { color: #fff !important; }
.page-hero .kicker { display: inline-block; color: #a6ddff; margin-bottom: 19px; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.subnav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.subnav a { display: inline-flex; padding: 8px 12px; border-radius: 7px; border: 1px solid rgba(255,255,255,.25); color: #e1edf9; font-size: .78rem; font-weight: 700; }
.subnav a:hover { background: rgba(255,255,255,.1); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split.reverse > :first-child { order: 2; }
.bullet-list { list-style: none; padding: 0; margin: 25px 0 0; }
.bullet-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.bullet-list li::before { content: ''; position: absolute; left: 1px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.service-section { padding-block: 64px; border-bottom: 1px solid var(--line); }
.service-section:last-child { border-bottom: 0; }
.service-section .split { align-items: start; }
.service-label { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.service-label::after { content: ''; height: 1px; width: 85px; background: #bbd5ed; }
.details-panel { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.details-panel h4 { margin: 0 0 12px; font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; }
.details-panel .bullet-list { margin-top: 0; }
.details-panel .bullet-list li { border-color: #d9e3ee; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.value-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.value-card strong { color: var(--blue); font-size: .74rem; letter-spacing: .13em; }
.value-card h3 { margin-top: 23px; }
.value-card p { color: var(--muted); font-size: .9rem; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.timeline-item { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.timeline-item .num { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.timeline-item h3 { margin-top: 20px; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .88rem; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.contact-card dl { margin: 22px 0 0; }
.contact-card dt { color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 4px; }
.contact-card dd { margin: 0 0 22px; font-weight: 700; overflow-wrap: anywhere; }
.contact-card dd a:hover { color: var(--blue); }
.contact-social { margin-top: 20px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-social h3 { margin-bottom: 18px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 13px 6px 7px; border: 1px solid #c7d8e9; border-radius: 12px; color: var(--navy); background: #f4f8fc; font-size: .84rem; font-weight: 800; line-height: 1.2; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.social-links a:hover { background: #e8f3ff; border-color: var(--blue); transform: translateY(-2px); text-decoration: none; }
.social-links a:focus-visible { outline: 3px solid #74baff; outline-offset: 3px; }
.social-links .social-icon { display: inline-grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 8px; color: #fff; background: #183b63; font: 800 18px/1 Arial, sans-serif; }
.social-links [data-platform='linkedin'] .social-icon { background: #0a66c2; font-size: 15px; }
.social-links [data-platform='x'] .social-icon { background: #111827; }
.social-links [data-platform='facebook'] .social-icon { background: #1877f2; }
.social-links [data-platform='instagram'] .social-icon { background: #b32d84; font-size: 24px; }
.social-links [data-platform='youtube'] .social-icon { background: #d9262e; font-size: 15px; }
.social-links [data-platform='google-maps'] .social-icon { background: #258359; font-size: 23px; }
.social-links .social-arrow { margin-inline-start: 2px; color: var(--blue); font-size: 1rem; }
.social-links a.social-priority { color: #fff; background: var(--blue); border-color: var(--blue); }
.social-links a.social-priority:hover { background: #084997; }
.social-links a.social-priority .social-icon { background: rgba(255,255,255,.18); }
.social-links a.social-priority .social-arrow { color: #fff; }
.form-preview { padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-preview h2 { font-size: 2rem; }
.form-preview .note { padding: 14px 17px; border-left: 3px solid var(--blue); color: var(--muted); background: var(--mist); font-size: .9rem; }
.form-preview .field { margin-top: 18px; }
.form-preview label { display: block; margin-bottom: 7px; font-size: .83rem; font-weight: 800; }
.form-preview input, .form-preview textarea { width: 100%; border: 1px solid #cbd8e8; border-radius: 9px; min-height: 48px; padding: 12px; background: #f9fbfd; }
.form-preview textarea { min-height: 125px; resize: vertical; }
.form-preview .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-preview .frm-fluent-form { margin-top: 26px; }
.form-preview .frm-fluent-form .ff-el-group { margin-bottom: 20px; }
.form-preview .frm-fluent-form .ff-el-input--label label { color: var(--navy); font-size: .82rem; font-weight: 800; }
.form-preview .frm-fluent-form .ff-el-form-control { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid #cbd8e8; border-radius: 9px; background: #f9fbfd; color: var(--ink); box-shadow: none; }
.form-preview .frm-fluent-form textarea.ff-el-form-control { min-height: 125px; }
.form-preview .frm-fluent-form .ff-btn-submit { min-height: 50px; padding: 12px 24px; border: 0; border-radius: 9px; background: var(--blue); color: white; font-weight: 800; }
.form-preview .frm-fluent-form .ff-btn-submit:hover { background: #084997; }

.mtsc-site-footer { color: #d0deed; background: #061833; padding-top: 65px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-grid .brand-text strong { color: white; }
.footer-grid .brand-text span { color: #a5c0dc; }
.footer-grid .brand img { width: 73px; height: 73px; filter: brightness(0) invert(1); }
.footer-grid p { margin-top: 16px; max-width: 340px; font-size: .87rem; }
.footer-grid h3 { color: white; font-size: .92rem; margin: 0 0 17px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; font-size: .87rem; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: white; text-decoration: underline; }
.footer-social { display: grid; grid-template-columns: 190px 1fr; align-items: start; gap: 26px; padding-block: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-social .eyebrow { margin-bottom: 7px; }
.footer-social h3 { margin: 0; }
.footer-social .social-links a { color: #e2edfa; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
.footer-social .social-links a:hover { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.footer-social .social-links a.social-priority { color: #fff; background: #0759bd; border-color: #2780de; }
.footer-social .social-links a.social-priority:hover { background: #146ccf; }
.footer-social .social-links .social-arrow { color: #a9c8e9; }
.footer-social .social-links a.social-priority .social-arrow { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-block: 19px; border-top: 1px solid rgba(255,255,255,.14); font-size: .75rem; }

body.rtl, html[dir='rtl'] body { font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif; }
body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, html[dir='rtl'] h1, html[dir='rtl'] h2, html[dir='rtl'] h3, html[dir='rtl'] h4 { font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif; letter-spacing: 0; }
body.rtl .eyebrow, html[dir='rtl'] .eyebrow { letter-spacing: 0; }
body.rtl .brand-text strong, html[dir='rtl'] .brand-text strong { letter-spacing: .08em; }
body.rtl .brand-text span, html[dir='rtl'] .brand-text span { letter-spacing: 0; }
body.rtl .nav-links, html[dir='rtl'] .nav-links { gap: clamp(11px, 1.5vw, 21px); }
body.rtl .process-step::before, html[dir='rtl'] .process-step::before { left: auto; right: 0; }
body.rtl .bullet-list li, html[dir='rtl'] .bullet-list li { padding-left: 0; padding-right: 28px; }
body.rtl .bullet-list li::before, html[dir='rtl'] .bullet-list li::before { left: auto; right: 1px; }
body.rtl .form-preview .note, html[dir='rtl'] .form-preview .note { border-left: 0; border-right: 3px solid var(--blue); }
body.rtl .cta::after, html[dir='rtl'] .cta::after { right: auto; left: -110px; }
body.rtl .hero::before, html[dir='rtl'] .hero::before { mask-image: linear-gradient(to right, black, transparent 90%); }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 67px; }
  .hero-diagram { max-width: 650px; min-height: 350px; }
  .nav-links { gap: 13px; }
  .nav-links a.button { display: none; }
  .capability-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 58px; height: 58px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 17px 22px 24px; flex-direction: column; align-items: stretch; gap: 1px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.button) { padding: 10px; }
  .nav-links a.button { display: inline-flex; margin-top: 10px; }
  .hero-inner { min-height: 0; }
  .hero-diagram { min-height: 300px; padding: 18px; }
  .diagram-stage { margin-top: 21px; }
  .diagram-stage div { min-height: 70px; padding: 9px 7px; }
  .diagram-stage strong { font-size: .65rem; }
  .wave { margin-top: 15px; height: 85px; }
  .diagram-foot { font-size: .58rem; }
  .section-head, .intro-grid, .split, .quote-band, .cta .container { display: block; }
  .section-head .text-link { margin-top: 20px; }
  .intro-grid .statement { margin-bottom: 25px; }
  .capability-grid, .values-grid, .process-strip, .timeline { grid-template-columns: 1fr; }
  .process-strip { gap: 12px; }
  .process-step { padding-top: 20px; }
  .quote-band { padding: 30px; }
  .quote-band p { margin-top: 25px; }
  .cta .button { margin-top: 15px; }
  .split.reverse > :first-child { order: initial; }
  .split > * + * { margin-top: 29px; }
  .service-section { padding-block: 45px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-social { grid-template-columns: 1fr; gap: 15px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 5px; }
}
@media (max-width: 430px) {
  .container { width: min(100% - 30px, 1180px); }
  .brand-text span { font-size: .56rem; }
  .hero h1 { font-size: 2.7rem; }
  .page-hero h1 { font-size: 2.65rem; }
  .diagram-stage { grid-template-columns: repeat(2, 1fr); }
  .diagram-stage div { min-height: 58px; }
  .diagram-stage strong { margin-top: 6px; }
  .form-preview .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* 2026 editorial direction: light Kuwaiti engineering photography and clear live text. */
.page-hero { position: relative; overflow: hidden; color: var(--navy); background: linear-gradient(115deg, #f7fafc 0%, #e8f2f8 67%, #dcecf6 100%); }
.page-hero::after { content: ''; position: absolute; right: -3%; bottom: -10px; width: min(57%, 720px); height: 250px; background: url('kuwait-horizon.svg') no-repeat right bottom / contain; opacity: .10; pointer-events: none; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--navy) !important; }
.page-hero .lead { color: #344a64; }
.page-hero .kicker { color: var(--blue); }
.page-hero .subnav a { border-color: #b7cddd; color: #234564; background: rgba(255,255,255,.62); }
.page-hero .subnav a:hover { background: white; border-color: var(--blue); }
body.rtl .page-hero::after, html[dir='rtl'] .page-hero::after { right: auto; left: -3%; transform: scaleX(-1); }
.hero--photo { color: var(--navy); background: #e8f1f7; }
.hero--photo::before { z-index: 1; opacity: 1; background: linear-gradient(90deg, rgba(245,249,251,.98) 0%, rgba(245,249,251,.94) 26%, rgba(245,249,251,.50) 53%, rgba(245,249,251,0) 76%); mask-image: none; pointer-events: none; }
.hero--photo::after { display: none; }
.hero--photo .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero--photo-ar .hero-photo { object-position: left center; }
.hero--photo .hero-inner { display: flex; align-items: center; min-height: clamp(620px, 57vw, 740px); padding-block: 78px 100px; }
.hero--photo .hero-copy { max-width: 680px; }
.hero--photo h1 { max-width: 700px; color: var(--navy) !important; font-size: clamp(3rem, 6vw, 6.25rem); text-wrap: balance; }
.hero--photo h1 em { color: var(--blue); }
.hero--photo .lead { max-width: 560px; color: #263d58; }
.hero--photo .eyebrow.light { color: #0759bd; }
.hero--photo .hero-proof { margin: 26px 0 0; color: #395370; font-size: .85rem; font-weight: 800; }
.hero--photo .hero-bottom { border: 0; background: rgba(6,32,72,.93); }
.hero--photo .hero-bottom .container { color: #d5e8f7; }
.hero--photo .button.outline { border-color: #7191b3; background: rgba(255,255,255,.67); }
.hero--photo-ar::before { background: linear-gradient(270deg, rgba(245,249,251,.98) 0%, rgba(245,249,251,.94) 26%, rgba(245,249,251,.50) 53%, rgba(245,249,251,0) 76%); }
.hero--photo-ar .hero-inner { justify-content: flex-start; }
.hero--photo-ar .hero-copy { width: min(47%, 475px); max-width: 475px; margin-left: auto; padding: 30px 34px; border: 1px solid rgba(255,255,255,.82); border-radius: 18px; background: rgba(247,250,252,.91); box-shadow: 0 20px 46px rgba(7,29,66,.12); }
.visual-story { background: #f4f8fb; }
.visual-story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.visual-story-card { display: block; overflow: hidden; border-radius: 18px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.visual-story-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(6,32,72,.14); }
.visual-story-card img { width: 100%; height: clamp(200px, 23vw, 290px); object-fit: cover; }
.visual-story-card span { display: block; padding: 20px 23px; color: var(--navy); font-size: 1rem; font-weight: 800; }
.services-visuals { padding-block: 34px 82px; background: #f4f8fb; }
.editorial-visual { overflow: hidden; margin-top: 50px; margin-bottom: 50px; border-radius: 22px; background: #edf4f9; }
.editorial-visual img { width: 100%; height: clamp(300px, 42vw, 520px); object-fit: cover; }
.editorial-visual figcaption { padding: 15px 22px; color: #4e6380; font-size: .88rem; font-weight: 700; }
@media (max-width: 950px) {
  .hero--photo::before { background: linear-gradient(90deg, rgba(245,249,251,.99) 0%, rgba(245,249,251,.87) 45%, rgba(245,249,251,0) 75%); }
  .hero--photo-ar::before { background: linear-gradient(270deg, rgba(245,249,251,.99) 0%, rgba(245,249,251,.87) 45%, rgba(245,249,251,0) 75%); }
  .visual-story-grid { gap: 13px; }
}
@media (max-width: 700px) {
  .hero--photo-ar .hero-copy { width: 100%; max-width: none; padding: 22px; background: rgba(247,250,252,.94); }
  .hero--photo .hero-inner { min-height: 620px; padding-block: 62px; align-items: flex-start; }
  .hero--photo .hero-photo { object-position: right center; }
  .hero--photo-ar .hero-photo { object-position: left center; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(245,249,251,.99) 0%, rgba(245,249,251,.94) 48%, rgba(245,249,251,.08) 100%); }
  .hero--photo-ar::before { background: linear-gradient(180deg, rgba(245,249,251,.99) 0%, rgba(245,249,251,.94) 48%, rgba(245,249,251,.08) 100%); }
  .hero--photo h1 { font-size: clamp(2.9rem, 11vw, 4.8rem); }
  .hero--photo .lead { font-size: 1rem; }
  .hero--photo .hero-bottom .container { gap: 8px 16px; font-size: .63rem; }
  .visual-story-grid { grid-template-columns: 1fr; }
  .visual-story-card img { height: 240px; }
  .services-visuals { padding-block: 35px 60px; }
  .editorial-visual { margin-top: 30px; margin-bottom: 30px; }
}
