@font-face { font-family: "PP Mori"; src: url("/gulf/fonts/PPMori-Regular.otf") format("opentype"); font-style: normal; font-weight: 400; font-display: swap; }

:root {
    color-scheme: light;
    --navy: #10243a;
    --navy-deep: #0a1929;
    --navy-soft: #1a3550;
    --orange: #ef6b35;
    --orange-deep: #d84e28;
    --ink: #15283a;
    --muted: #647484;
    --line: #dce3e8;
    --paper: #f5f7f8;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 18px 55px rgba(16, 36, 58, .11);
    --content: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html[lang="ar"] body { direction: rtl; font-family: Tahoma, Arial, sans-serif; }
html[lang="en"] body { direction: ltr; font-family: "PP Mori", Arial, sans-serif; }
body { margin: 0; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #ff9a68; outline-offset: 3px; }
::selection { background: rgba(239, 107, 53, .22); color: var(--navy-deep); }

.site-shell { width: 100%; overflow: clip; }
.site-header { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; min-height: 86px; padding: 12px max(28px, calc((100vw - var(--content)) / 2)); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,36,58,.08); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; flex: 0 0 124px; }
.brand img { display: block; width: 100%; max-height: 60px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 30px); }
.desktop-nav a, .mobile-menu nav a { color: #405263; text-decoration: none; font-size: 14px; font-weight: 600; transition: color .18s ease; white-space: nowrap; }
.desktop-nav a:hover, .mobile-menu nav a:hover { color: var(--orange-deep); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); cursor: pointer; font-size: 13px; font-weight: 800; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 11px; padding: 11px 22px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.3; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover { background: var(--orange-deep); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--navy-soft); }
.button-outline-light { border-color: rgba(255,255,255,.56); background: rgba(255,255,255,.04); color: var(--white); }
.button-outline-light:hover { background: rgba(255,255,255,.12); }
.mobile-menu { display: none; }

#main-content { min-height: 55vh; }
.hero { position: relative; display: flex; min-height: min(660px, calc(100vh - 86px)); align-items: center; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,34,.9) 0%, rgba(10,27,44,.72) 38%, rgba(10,27,44,.3) 76%, rgba(10,27,44,.24) 100%), url('/gulf/img/gallery/hero-mgb-fire-pump.jpg') 50% center / cover no-repeat; transform: scale(1.015); }
html[lang="ar"] .hero-image { background-image: linear-gradient(270deg, rgba(7,20,34,.9) 0%, rgba(10,27,44,.72) 38%, rgba(10,27,44,.3) 76%, rgba(10,27,44,.24) 100%), url('/gulf/img/gallery/hero-mgb-fire-pump.jpg'); }
.hero-content { position: relative; z-index: 1; width: min(var(--content), calc(100% - 64px)); margin-inline: auto; padding: 94px 0 110px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--orange-deep); font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-light { color: #ff9a68; }
.eyebrow-mark { display: inline-block; width: 28px; height: 2px; background: var(--orange); }
.hero-content h1 { max-width: 760px; margin: 0; color: var(--white); font-size: clamp(42px, 6.2vw, 78px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
html[lang="ar"] .hero-content h1 { max-width: 800px; font-size: clamp(38px, 5.2vw, 66px); letter-spacing: 0; line-height: 1.35; }
.hero-copy { max-width: 620px; margin: 23px 0 0; color: rgba(255,255,255,.79); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 48px; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 600; }
.hero-note-rule { width: 34px; height: 1px; background: var(--orange); }
.hero-index { position: absolute; inset-inline-end: max(32px, calc((100vw - var(--content)) / 2)); bottom: 72px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero-index span { padding-inline: 8px; color: var(--orange); }
.hero-proof-card { position: absolute; z-index: 2; inset-inline-end: max(32px, calc((100vw - var(--content)) / 2)); bottom: 42px; display: flex; align-items: stretch; gap: 15px; width: 286px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(10,25,41,.82); box-shadow: 0 18px 40px rgba(0,0,0,.22); color: var(--white); backdrop-filter: blur(14px); }
.hero-proof-accent { width: 4px; border-radius: 4px; background: var(--orange); }
.hero-proof-label { display: block; margin-bottom: 3px; color: #ff9a68; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-proof-card strong { display: block; color: var(--white); font-size: 24px; line-height: 1.2; }
.hero-proof-detail { display: block; margin-top: 5px; color: rgba(255,255,255,.72); font-size: 12px; }

.trust-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); width: min(var(--content), calc(100% - 48px)); margin: -28px auto 0; padding: 24px; border: 1px solid rgba(16,36,58,.08); border-radius: 14px; background: var(--white); box-shadow: 0 16px 42px rgba(16,36,58,.1); }
.trust-item { display: flex; flex-direction: column; gap: 2px; padding-inline: 22px; border-inline-start: 1px solid var(--line); }
.trust-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.trust-item strong { color: var(--navy); font-size: 14px; }
.trust-item span { color: var(--muted); font-size: 12px; }
.trust-mark { display: flex; align-items: center; justify-content: end; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.trust-mark-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(239,107,53,.12); }
.trust-item-support { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 13px; padding-inline: 22px; border-inline-start: 1px solid var(--line); }
.trust-support-copy { display: flex; flex-direction: column; gap: 2px; }
.trust-item-support .trust-support-copy strong { color: var(--navy); font-size: 14px; }
.trust-item-support .trust-support-copy small { color: var(--muted); font-size: 12px; }

.section { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 34px; }
.section-heading h2, .split-copy h2, .document-feature h2, .contact-banner h2 { max-width: 720px; margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.16; }
html[lang="ar"] .section-heading h2, html[lang="ar"] .split-copy h2, html[lang="ar"] .document-feature h2, html[lang="ar"] .contact-banner h2 { letter-spacing: 0; line-height: 1.45; }
.section-intro { max-width: 440px; margin: 0; color: var(--muted); font-size: 15px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.solution-card { position: relative; min-height: 236px; padding: 27px 26px 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.solution-card:hover { transform: translateY(-4px); border-color: rgba(239,107,53,.45); box-shadow: var(--shadow); }
.card-index { display: inline-flex; align-items: center; justify-content: center; min-width: 37px; height: 30px; margin-bottom: 28px; padding: 0 8px; border-radius: 5px; background: #fff1eb; color: var(--orange-deep); font-size: 11px; font-weight: 800; }
.solution-card h2, .solution-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; line-height: 1.4; }
.solution-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.product-family-card { display: flex; flex-direction: column; min-height: 360px; padding: 26px; border-radius: 16px; }
.product-family-card:nth-child(2) { border-color: var(--navy); background: radial-gradient(circle at 88% 0, rgba(239,107,53,.22), transparent 34%), var(--navy); }
.product-family-card:nth-child(3) { background: linear-gradient(145deg, #f4f7f8, #fff); }
.product-family-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }
.product-family-card .card-index { margin: 0; }
.product-family-count { margin-inline-start: auto; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.product-category-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(239,107,53,.2); border-radius: 12px; background: rgba(239,107,53,.09); color: var(--orange-deep); }
.product-category-icon svg { display: block; width: 25px; height: 25px; }
.product-family-card h3 { margin-bottom: 14px; font-size: 22px; line-height: 1.35; }
.product-family-card .profile-family-list { margin-top: 0; }
.product-family-card .profile-family-list li { background: var(--white); }
.product-family-card:nth-child(2) h3 { color: var(--white); }
.product-family-card:nth-child(2) p { color: rgba(255,255,255,.76); }
.product-family-card:nth-child(2) .product-family-count { color: rgba(255,255,255,.72); }
.product-family-card:nth-child(2) .product-category-icon { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.09); color: #ff9a68; }
.product-family-card:nth-child(2) .profile-family-list li { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: var(--white); }
.category-card-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 21px; color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; }
.category-card-link span { color: var(--orange); transition: transform .18s ease; }
.category-card-link:hover span { transform: translate(3px,-2px); }
html[lang="ar"] .category-card-link:hover span { transform: translate(-3px,-2px); }
.product-family-card:nth-child(2) .category-card-link { color: var(--white); }
.profile-family-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.profile-family-list li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--navy); font-size: 12px; line-height: 1.4; }
.profile-product-group { min-height: 280px; }
.profile-product-group p { margin: 14px 0 0; }
.profile-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.catalogue-groups { display: grid; gap: 34px; }
.catalogue-group { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.catalogue-group-heading { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.catalogue-group-heading .eyebrow { margin-bottom: 5px; }
.catalogue-group-heading h3 { margin: 0; color: var(--navy); font-size: 25px; line-height: 1.35; }
.catalogue-families { display: grid; gap: 25px; }
.catalogue-family-heading { margin-bottom: 13px; padding-inline-start: 13px; border-inline-start: 3px solid var(--orange); }
.catalogue-family-heading h4 { margin: 0; color: var(--navy); font-size: 18px; line-height: 1.45; }
.catalogue-family .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.catalogue-family .product-image { height: 160px; }
.catalogue-family .product-copy h5 { margin: 0 0 7px; color: var(--navy); font-size: 15px; line-height: 1.5; }
.supporting-brands { margin-top: 18px; padding: 23px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.supporting-brands .eyebrow { margin-bottom: 8px; }
.supporting-brands h2 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.supporting-brands > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.catalogue-listings-heading { margin-top: 60px; }
.card-arrow { position: absolute; inset-inline-end: 24px; top: 25px; color: var(--orange); font-size: 19px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--navy); text-decoration: none; font-size: 13px; font-weight: 800; }
.text-link span { color: var(--orange); transition: transform .18s ease; }
.text-link:hover span { transform: translate(3px,-2px); }
html[lang="ar"] .text-link:hover span { transform: translate(-3px,-2px); }

.split-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 450px; background: var(--paper); }
.split-photo { min-height: 430px; background: linear-gradient(0deg,rgba(8,24,40,.24),rgba(8,24,40,.02)), url('/gulf/img/gallery/usecase/Fire%20Pump%20systems.jpg') center / cover no-repeat; }
.split-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 72px clamp(32px, 8vw, 120px); }
.split-copy h2 { margin-bottom: 19px; }
.split-copy > p:not(.eyebrow) { max-width: 530px; margin: 0 0 26px; color: var(--muted); font-size: 15px; }

.products-preview { padding-top: 94px; padding-bottom: 96px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-image { display: grid; place-items: center; height: 220px; padding: 22px; background: #f4f6f7; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg, #e9eff2, #fbfcfc); }
.product-image-placeholder span { display: block; width: 62px; height: 62px; border: 2px solid rgba(239,107,53,.66); border-radius: 18px; box-shadow: inset 0 0 0 8px rgba(239,107,53,.08); }
.product-copy { padding: 18px 18px 21px; }
.product-copy h2, .product-copy h3, .product-copy h4 { margin: 0 0 7px; color: var(--navy); font-size: 16px; line-height: 1.45; }
.product-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.document-feature { padding: 78px max(24px, calc((100vw - var(--content)) / 2)); background: var(--navy); color: var(--white); }
.document-feature-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.document-feature h2 { color: var(--white); }
.document-feature-head > div > p:last-child { max-width: 610px; margin: 14px 0 0; color: rgba(255,255,255,.65); font-size: 14px; }
.document-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.document-teaser { min-height: 200px; padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.045); }
.document-teaser-head { display: flex; align-items: center; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.13); }
.document-teaser-head .eyebrow { margin-bottom: 4px; }
.document-teaser h3 { margin: 0; color: var(--white); font-size: 20px; }
.document-symbol { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,154,104,.6); border-radius: 50%; color: #ff9a68; font-size: 15px; font-weight: 800; }
.document-symbol-accent { border-color: rgba(255,255,255,.35); color: var(--white); }
.document-teaser ul { display: grid; gap: 11px; margin: 16px 0 0; padding: 0; list-style: none; }
.document-teaser li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.87); font-size: 13px; }
.document-teaser li a { color: #ff9a68; text-decoration: none; font-size: 12px; font-weight: 700; }
.document-empty { margin: 18px 0 0; color: rgba(255,255,255,.64); font-size: 13px; }

.partners-section { padding-top: 94px; padding-bottom: 85px; }
.partner-logos { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); align-items: center; gap: 24px; padding-top: 15px; }
.partner-logos img { width: 100%; height: 54px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .2s ease, opacity .2s ease; }
.partner-logos img:hover { filter: grayscale(0); opacity: 1; }
.contact-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(var(--content), calc(100% - 48px)); margin: 0 auto 86px; padding: 37px 42px; border-radius: 14px; background: var(--navy-soft); color: var(--white); }
.contact-banner h2 { color: var(--white); font-size: clamp(24px, 3.1vw, 34px); }
.contact-banner .eyebrow { margin-bottom: 8px; }

.page-hero { position: relative; display: flex; min-height: 370px; align-items: end; overflow: hidden; background: linear-gradient(105deg, rgba(8,24,40,.95), rgba(16,36,58,.8)), url('/gulf/img/bg.jpg') center 45% / cover no-repeat; color: var(--white); }
.page-hero::after { position: absolute; inset-inline-end: 8%; bottom: -140px; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; box-shadow: 0 0 0 48px rgba(255,255,255,.035), 0 0 0 96px rgba(255,255,255,.025); }
.page-hero-compact { min-height: 320px; }
.page-hero-content { position: relative; z-index: 1; width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 62px 0 60px; }
.page-hero-content h1 { max-width: 850px; margin: 0; color: var(--white); font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; line-height: 1.2; }
.page-hero-content > p:last-child { max-width: 680px; margin: 15px 0 0; color: rgba(255,255,255,.72); font-size: 15px; }
.products-page, .projects-page, .services-page, .about-content, .document-list-section { padding-top: 70px; padding-bottom: 86px; }
.empty-state { margin: 0; padding: 24px; border: 1px dashed #cbd5dc; border-radius: 10px; background: var(--paper); color: var(--muted); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.project-card > img { display: block; width: 100%; height: 250px; object-fit: cover; }
.project-card-copy { padding: 21px; }
.project-card-copy .eyebrow { margin-bottom: 8px; font-size: 10px; }
.project-card-copy h2 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
.project-card-copy > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.service-card { overflow: hidden; }
.service-image { display: block; width: calc(100% + 52px); height: 155px; margin: -27px -26px 22px; object-fit: cover; }
.about-content { display: grid; gap: 18px; }
.about-card { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; align-items: center; gap: 34px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; }
.about-card img { width: 100%; max-height: 320px; border-radius: 8px; object-fit: cover; }
.about-card h2 { margin: 0 0 12px; color: var(--navy); font-size: 27px; }
.about-card p:not(.eyebrow) { margin: 0; color: var(--muted); white-space: pre-line; }
.compact-banner { margin-top: 60px; margin-bottom: 0; }

.credential-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.credential-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.credential-image { display: block; width: 100%; height: 240px; background: var(--paper); object-fit: contain; }
.credential-placeholder { display: flex; height: 240px; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(140deg, #edf2f5, #fbfcfc); color: var(--navy); font-size: 28px; font-weight: 800; }
.credential-placeholder span { color: var(--orange-deep); font-size: 10px; letter-spacing: .17em; }
.credential-placeholder-accent { background: linear-gradient(140deg, var(--navy), #244560); color: var(--white); }
.credential-copy { display: flex; flex-direction: column; align-items: start; padding: 22px; }
.credential-copy h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
.credential-copy p { margin: 0 0 7px; color: var(--muted); font-size: 13px; }
.credential-copy small { color: var(--muted); font-size: 11px; }
.credential-copy .text-link { margin-top: 17px; }
.approval-section { padding-top: 60px; border-top: 1px solid var(--line); }

.site-footer { padding: 62px max(24px, calc((100vw - var(--content)) / 2)) 20px; background: var(--navy-deep); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 55px; padding-bottom: 45px; }
.footer-brand { display: inline-flex; width: 148px; min-height: 88px; align-items: center; justify-content: center; padding: 7px; border-radius: 7px; background: var(--white); }
.footer-brand img { display: block; width: 100%; max-height: 72px; object-fit: contain; }
.footer-brand-block > p { max-width: 360px; margin: 17px 0 0; color: rgba(255,255,255,.66); font-size: 13px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.footer-links h2, .footer-contact h2 { margin: 0 0 7px; color: var(--white); font-size: 15px; }
.footer-links a, .footer-contact a, .footer-contact p { margin: 0; color: rgba(255,255,255,.64); text-decoration: none; font-size: 13px; }
.footer-links a:hover, .footer-contact a:hover { color: #ff9a68; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 11px; }

/* Existing contact form, updated to align with the new system. */
.login { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; width: min(var(--content), calc(100% - 48px)); min-height: 620px; margin: 64px auto; }
.login .backgrounded { display: none; }
.social-details, .form { border-radius: 14px; background: var(--navy); }
.social-details { display: flex; flex-direction: column; justify-content: center; padding: 38px; }
.social-details .context { margin: 0 0 27px; }
.social-details h6 { margin: 0; color: var(--white); font-size: 29px; }
.social-details h5 { margin: 8px 0 0; color: rgba(255,255,255,.63); font-size: 14px; font-weight: 400; }
.social-details .items { display: flex; flex-direction: column; gap: 22px; margin-top: 10px; }
.social-details .item { display: flex; align-items: center; gap: 14px; margin: 0; }
.social-details .item i { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: rgba(239,107,53,.18); color: #ff9a68; font-style: normal; }
.social-details .item .text { display: flex; flex-direction: column; color: rgba(255,255,255,.62); font-size: 11px; }
.social-details .item .text span { color: var(--white); font-size: 14px; }
.form { display: flex; flex-direction: column; justify-content: center; gap: 15px; padding: 38px; background: var(--paper); }
.form h1 { width: 100%; margin: 0; color: var(--navy); font-size: 29px; text-align: start; }
.form h2 { width: 100%; margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 400; text-align: start; }
.form-group { display: flex; gap: 16px; width: 100%; }
.credits { position: relative; width: 50%; margin: 0; }
.credits input, .form .text-area { width: 100%; min-width: 0; max-width: none; border: 1px solid #d4dde3; border-radius: 7px; outline: none; background: var(--white); color: var(--ink); font-size: 14px; }
.credits input { height: 52px; padding: 15px; }
.credits label { position: absolute; top: 50%; inset-inline-start: 14px; color: #748391; font-size: 12px; pointer-events: none; transform: translateY(-50%); transition: .15s ease; }
.credits input:focus + label, .credits input:not(:placeholder-shown) + label { top: 0; padding: 0 5px; background: var(--paper); font-size: 10px; }
.form .text-area { min-height: 125px; padding: 14px; resize: vertical; }
.form .submit { width: fit-content; min-width: 160px; min-height: 48px; margin-top: 4px; border: 0; border-radius: 7px; background: var(--orange); color: var(--white); cursor: pointer; font-weight: 700; }
.form .submit:hover { background: var(--orange-deep); }

@media (max-width: 1050px) {
    .site-header { gap: 18px; padding-inline: 24px; }
    .brand { flex-basis: 116px; }
    .desktop-nav { gap: 13px; }
    .desktop-nav a { font-size: 12px; }
    .header-cta { padding-inline: 15px; }
    .partner-logos { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .site-header { min-height: 72px; }
    .desktop-nav, .header-cta { display: none; }
    .brand { flex-basis: 116px; }
    .mobile-menu { position: relative; display: block; }
    .mobile-menu summary { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; list-style: none; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary span { width: 17px; height: 2px; border-radius: 3px; background: var(--navy); }
    .mobile-menu nav { position: absolute; inset-inline-end: 0; top: calc(100% + 12px); display: flex; min-width: 220px; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow); }
    .mobile-menu nav a { padding: 10px 12px; }
    .hero { min-height: 620px; }
    .hero-proof-card { display: none; }
    .hero-content { width: calc(100% - 48px); padding-block: 75px 95px; }
    .hero-image { background-position: 58% center; }
    .trust-strip { grid-template-columns: repeat(2,1fr); gap: 18px 0; width: calc(100% - 48px); }
    .trust-item:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
    .trust-mark { justify-content: start; }
    .section { width: calc(100% - 48px); padding-block: 72px; }
    .section-heading { align-items: start; flex-direction: column; gap: 15px; }
    .solution-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .catalogue-family .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .split-feature { grid-template-columns: 1fr; }
    .split-photo { min-height: 350px; }
    .split-copy { padding: 52px 24px 60px; }
    .document-feature { padding: 60px 24px; }
    .document-feature-head { align-items: start; flex-direction: column; }
    .partner-logos { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
    .project-grid, .credential-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-main { grid-template-columns: 1.3fr 1fr; gap: 32px; }
    .footer-contact { grid-column: 2; }
    .login { grid-template-columns: 1fr; }
    .social-details { padding: 30px; }
    .form { padding: 30px; }
}
@media (max-width: 560px) {
    .site-header { padding-inline: 17px; }
    .hero { min-height: 590px; }
    .hero-image { background-image: linear-gradient(90deg, rgba(7,20,34,.9) 0%, rgba(10,27,44,.7) 54%, rgba(10,27,44,.42) 100%), url('/gulf/img/gallery/hero-mgb-fire-pump.jpg'); background-position: center, 50% center; }
    html[lang="ar"] .hero-image { background-image: linear-gradient(270deg, rgba(7,20,34,.9) 0%, rgba(10,27,44,.7) 54%, rgba(10,27,44,.42) 100%), url('/gulf/img/gallery/hero-mgb-fire-pump.jpg'); }
    .hero-content { width: calc(100% - 38px); padding-block: 64px 88px; }
    .hero-content h1 { font-size: 44px; }
    html[lang="ar"] .hero-content h1 { font-size: 37px; }
    .hero-copy { font-size: 14px; }
    .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 320px); }
    .hero-actions .button { width: 100%; }
    .hero-note { margin-top: 38px; font-size: 10px; }
    .hero-index { inset-inline-end: 20px; bottom: 50px; }
    .trust-strip { width: calc(100% - 38px); margin-top: -18px; padding: 18px 16px; }
    .trust-item { padding-inline: 12px; }
    .trust-item strong { font-size: 12px; }
    .trust-item span, .trust-mark { font-size: 10px; }
    .section { width: calc(100% - 38px); padding-block: 58px; }
    .section-heading h2, .split-copy h2, .document-feature h2 { font-size: 31px; }
    .solution-grid, .product-grid, .catalogue-family .product-grid, .document-teasers, .project-grid, .credential-grid { grid-template-columns: 1fr; }
    .catalogue-group { padding: 19px; }
    .solution-card { min-height: 195px; }
    .card-index { margin-bottom: 18px; }
    .split-photo { min-height: 270px; }
    .document-feature { padding: 52px 19px; }
    .document-teaser { padding: 20px; }
    .partners-section { padding-bottom: 55px; }
    .partner-logos { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
    .partner-logos img { height: 43px; }
    .contact-banner { align-items: start; flex-direction: column; width: calc(100% - 38px); margin-bottom: 58px; padding: 26px; }
    .contact-banner h2 { font-size: 27px; }
    .page-hero, .page-hero-compact { min-height: 295px; }
    .page-hero-content { width: calc(100% - 38px); padding-block: 46px; }
    .page-hero-content h1 { font-size: 38px; }
    .products-page, .projects-page, .services-page, .document-list-section { padding-block: 52px; }
    .about-card { grid-template-columns: 1fr; padding: 18px; }
    .about-card img { max-height: 230px; }
    .compact-banner { margin-top: 35px; }
    .site-footer { padding: 45px 20px 18px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .footer-brand-block { grid-column: 1 / -1; }
    .footer-contact { grid-column: auto; }
    .footer-brand { width: 148px; }
    .footer-bottom { flex-direction: column; gap: 5px; }
    .login { width: calc(100% - 32px); margin-block: 35px; }
    .social-details, .form { padding: 23px; }
    .form-group { flex-direction: column; gap: 13px; }
    .credits { width: 100%; }
    .form h1 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
