:root {
  --ink: #06131f;
  --navy: #09243a;
  --navy-2: #10334e;
  --sand: #f3eee4;
  --paper: #fffdf8;
  --line: rgba(9, 36, 58, .15);
  --muted: #63717c;
  --orange: #e5642a;
  --orange-dark: #bd4614;
  --white: #fff;
  --green: #81ad8b;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.topline { background: var(--ink); color: #c8d3dc; font-size: .78rem; letter-spacing: .06em; }
.topline .wrap { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topline b { color: var(--white); font-weight: 600; }
.topline span:last-child { text-align: right; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 248, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 188px; }
.logo-shell { width: 52px; height: 52px; background: #fff; display: grid; place-items: center; flex: 0 0 52px; overflow: hidden; }
.brand-logo { width: 49px; height: 49px; display: block; object-fit: contain; }
.brand strong { font-size: 1.12rem; letter-spacing: .16em; display: block; line-height: 1.05; }
.brand small { color: var(--muted); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .88rem; font-weight: 650; }
.nav-links a { position: relative; padding-block: 8px; }
.nav-links a:after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--orange); transition: width .2s ease; }
.nav-links a:hover:after, .nav-links a[aria-current="page"]:after { width: 100%; }
.button, .button-light { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; font-weight: 750; font-size: .9rem; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button { background: var(--orange); color: var(--white); }
.button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.button-light { border-color: rgba(255,255,255,.45); color: var(--white); }
.button-light:hover { background: var(--white); color: var(--navy); }
.nav-cta { min-height: 42px; padding-inline: 17px; }
.menu-button { display: none; border: 0; background: transparent; font-size: 1.7rem; padding: 4px; color: var(--navy); }

.hero { min-height: 710px; background: var(--navy); color: var(--white); position: relative; display: grid; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 35%, rgba(229,100,42,.16), transparent 26%), linear-gradient(100deg, #06131f 0%, rgba(6,19,31,.95) 42%, rgba(6,19,31,.28) 78%, rgba(6,19,31,.55) 110%), url('/assets/beduara-oilfield-hero.webp'); background-position: center; background-size: cover; }
.hero-media:after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, transparent, #000); }
.hero.has-photo .hero-media { background-position: center; background-size: cover; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) 350px; gap: 76px; align-items: center; padding-block: 92px 82px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--orange); font-size: .76rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow:before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(3rem, 6.1vw, 5.7rem); line-height: .98; letter-spacing: -.055em; font-weight: 760; }
h1 em { color: var(--orange); font-style: normal; }
.hero-copy { max-width: 690px; color: #d4dce2; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { align-self: end; border-top: 3px solid var(--orange); background: rgba(5,17,28,.83); backdrop-filter: blur(14px); padding: 30px; box-shadow: 0 24px 80px rgba(0,0,0,.26); }
.hero-card small { color: #9caeba; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.hero-card h3 { margin: 10px 0 16px; font-size: 1.25rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: #dce4e9; }
.check-list li:before { content: "✓"; color: var(--green); font-weight: 800; }
.scope-bar { position: relative; z-index: 3; background: var(--paper); color: var(--navy); border-bottom: 1px solid var(--line); }
.scope-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); }
.scope-grid > div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 19px 28px; border-right: 1px solid var(--line); }
.scope-grid > div:first-child { background: var(--orange); color: var(--white); }
.scope-grid small { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; opacity: .82; }
.scope-grid strong { font-size: 1rem; margin-top: 3px; }

.section { padding: 96px 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--white); }
.section-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: end; margin-bottom: 46px; }
.section-head .eyebrow { margin-bottom: 10px; }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4.2vw, 4rem); line-height: 1.06; letter-spacing: -.04em; }
.section-head p { color: var(--muted); max-width: 670px; margin-bottom: 4px; font-size: 1.04rem; }
.section-navy .section-head p { color: #becbd4; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 350px; padding: 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .2s, transform .2s, border-color .2s; position: relative; overflow: hidden; }
.service-card:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.service-card:hover { background: #fff; transform: translateY(-3px); }
.service-card:hover:after { transform: scaleX(1); }
.service-card .num { color: var(--orange); font-size: .75rem; font-weight: 850; letter-spacing: .14em; }
.service-card h3 { margin: 64px 0 13px; font-size: 1.45rem; line-height: 1.2; }
.service-card p { color: var(--muted); font-size: .93rem; }
.text-link { margin-top: auto; color: var(--navy); font-size: .84rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 850; }
.text-link span { color: var(--orange); margin-left: 6px; }
.home-nav-section { padding: 72px 0 30px; background: var(--paper); }
.home-nav-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.home-nav-head h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.home-nav-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 12px; }
.home-nav-card { min-height: 340px; position: relative; overflow: hidden; display: flex; align-items: flex-end; color: var(--white); background: var(--navy); isolation: isolate; }
.home-nav-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-nav-card:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4,17,28,.96), rgba(4,17,28,.05) 68%); }
.home-nav-card:hover img { transform: scale(1.045); }
.home-nav-card:first-child { min-height: 400px; }
.home-nav-content { width: 100%; padding: 25px; }
.home-nav-content small { color: #f6a07a; font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.home-nav-content h3 { margin: 7px 0 15px; font-size: 1.32rem; }
.home-nav-button { display: inline-flex; align-items: center; gap: 8px; border-top: 1px solid rgba(255,255,255,.34); padding-top: 12px; color: var(--white); font-size: .79rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.fleet-item { min-height: 205px; padding: 27px; background: var(--navy); display: flex; flex-direction: column; }
.fleet-item b { width: 45px; height: 45px; display: grid; place-items: center; background: var(--orange); font-size: .75rem; letter-spacing: .05em; }
.fleet-item h3 { margin: 31px 0 8px; font-size: 1.1rem; }
.fleet-item p { color: #afbec9; font-size: .85rem; margin-bottom: 0; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; counter-reset: steps; }
.process article { padding: 28px 24px 28px 0; border-top: 1px solid var(--line); position: relative; }
.process article:before { counter-increment: steps; content: "0" counter(steps); display: block; color: var(--orange); font-weight: 850; letter-spacing: .1em; margin-bottom: 46px; }
.process article:not(:last-child):after { content: ""; height: 1px; width: 32px; background: var(--orange); position: absolute; right: 22px; top: 38px; }
.process h3 { font-size: 1rem; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: .85rem; margin-bottom: 0; }
.credential-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.credential-main { background: var(--ink); color: var(--white); padding: 48px; }
.credential-main p { color: #bdc9d1; max-width: 720px; }
.credential-main ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 25px; list-style: none; padding: 20px 0 0; }
.credential-main li { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.13); font-weight: 700; }
.credential-main li:before { content: "+"; color: var(--orange); margin-right: 9px; }
.credential-side { background: var(--orange); color: var(--white); padding: 42px; display: flex; flex-direction: column; justify-content: space-between; }
.credential-side strong { font-size: 4.8rem; line-height: .9; letter-spacing: -.05em; }
.credential-side p { font-weight: 700; max-width: 260px; }
.note { font-size: .78rem; color: var(--muted); margin-top: 20px; }
.image-feature { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 540px; background: var(--navy); color: var(--white); }
.image-feature-media { min-height: 520px; background: linear-gradient(90deg, transparent 65%, var(--navy)), url('/assets/beduara-oilfield-hero.webp') center / cover no-repeat; }
.image-feature-copy { padding: 72px 64px 62px 20px; align-self: center; }
.image-feature-copy h2 { margin-bottom: 24px; }
.image-feature-copy > p { color: #becbd4; }
.image-feature-copy .feature-list li { border-color: rgba(255,255,255,.14); color: #e0e7eb; }
.image-feature-copy .feature-list li:before { color: var(--orange); }
.cta-band { background: var(--orange); color: var(--white); padding: 58px 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 820px; }
.cta-band .button-light { min-width: 190px; }

.page-hero { background: var(--navy); color: var(--white); padding: 82px 0 72px; position: relative; overflow: hidden; }
.page-hero:after { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(90deg, transparent 35%, #000); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.4rem); max-width: 990px; }
.page-hero p { color: #c4d0d8; max-width: 690px; font-size: 1.08rem; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.detail-card { border: 1px solid var(--line); background: var(--paper); padding: 32px; }
.detail-card.has-image { padding: 0 0 30px; overflow: hidden; }
.detail-card.has-image > img { width: 100%; height: 205px; display: block; object-fit: cover; }
.detail-card.has-image > h3, .detail-card.has-image > p, .detail-card.has-image > ul { margin-left: 30px; margin-right: 30px; }
.detail-card.has-image > h3 { margin-top: 26px; }
.detail-card h3 { font-size: 1.25rem; }
.detail-card p, .detail-card li { color: var(--muted); font-size: .91rem; }
.detail-card ul { padding-left: 18px; margin-bottom: 0; }
.detail-card li { margin: 8px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.spec-table th, .spec-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { background: var(--navy); color: var(--white); text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; }
.spec-table td { font-size: .91rem; }
.spec-table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; background: #e9f0e9; color: #345d3d; padding: 4px 9px; font-weight: 750; font-size: .72rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.two-col p { color: var(--muted); }
.wide-photo { width: 100%; height: clamp(320px, 42vw, 600px); display: block; object-fit: cover; }
.visual-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 510px; }
.visual-split > img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; }
.visual-split-copy { background: var(--navy); color: var(--white); padding: 68px; display: flex; flex-direction: column; justify-content: center; }
.visual-split-copy p { color: #becbd4; }
.visual-split-copy .button { align-self: flex-start; margin-top: 14px; }
.feature-list { list-style: none; padding: 0; margin: 25px 0 0; }
.feature-list li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.feature-list li:before { content: "✓"; color: var(--orange); font-weight: 900; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select, .field textarea { border: 1px solid #bdc5ca; background: #fff; color: var(--ink); padding: 13px 14px; min-height: 50px; border-radius: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(229,100,42,.25); border-color: var(--orange); }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.contact-aside { background: var(--navy); color: var(--white); padding: 40px; }
.contact-aside p { color: #c0cbd3; }
.contact-row { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-row small { display: block; color: #8fa2af; text-transform: uppercase; letter-spacing: .11em; }
.contact-row strong { font-size: 1.05rem; }
.quick-contact { position: fixed; z-index: 30; right: 18px; bottom: 18px; display: flex; background: var(--white); box-shadow: 0 10px 35px rgba(3,18,29,.22); }
.quick-contact a { min-height: 46px; display: grid; place-items: center; padding: 0 15px; font-size: .78rem; font-weight: 850; letter-spacing: .04em; }
.quick-call { color: var(--navy); border: 1px solid var(--line); }
.quick-whatsapp { color: #fff; background: #188c56; }

.site-footer { background: var(--ink); color: #b5c2ca; padding: 68px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 52px; }
.footer-brand p { max-width: 350px; font-size: .88rem; margin-top: 20px; }
.footer-col h3 { color: var(--white); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 18px; }
.footer-col a { display: block; padding: 5px 0; font-size: .88rem; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .75rem; display: flex; justify-content: space-between; gap: 20px; }
.footer-bottom span:last-child { text-align: right; }

@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { width: 100%; }
  .menu-button { display: block; }
  .hero .wrap { grid-template-columns: 1fr; gap: 45px; }
  .hero-card { max-width: 520px; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .detail-grid { grid-template-columns: 1fr 1fr; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .credential-grid, .two-col { grid-template-columns: 1fr; gap: 30px; }
  .image-feature { grid-template-columns: 1fr; }
  .home-nav-grid { grid-template-columns: 1fr 1fr; }
  .home-nav-card, .home-nav-card:first-child { min-height: 330px; }
  .visual-split { grid-template-columns: 1fr; }
  .visual-split > img { min-height: 390px; }
  .image-feature-copy { padding: 54px 40px; }
  .image-feature-media { min-height: 380px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .topline span:last-child { display: none; }
  .nav { height: 68px; }
  .nav-links { top: 68px; }
  .brand small { display: none; }
  .logo-shell { width: 46px; height: 46px; flex-basis: 46px; }
  .brand-logo { width: 43px; height: 43px; }
  .hero { min-height: auto; }
  .hero .wrap { padding-block: 72px 48px; }
  h1 { font-size: 3.25rem; }
  .hero-actions .button, .hero-actions .button-light { width: 100%; }
  .hero-card { padding: 23px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-grid > div { min-height: 84px; border-bottom: 1px solid rgba(255,255,255,.22); }
  .section { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .service-grid, .detail-grid, .fleet-grid, .process { grid-template-columns: 1fr; }
  .home-nav-head { align-items: flex-start; flex-direction: column; }
  .home-nav-grid { grid-template-columns: 1fr; }
  .home-nav-card, .home-nav-card:first-child { min-height: 310px; }
  .visual-split-copy { padding: 44px 26px; }
  .visual-split > img { min-height: 310px; }
  .service-card { min-height: 290px; }
  .process article:not(:last-child):after { display: none; }
  .credential-main, .credential-side { padding: 30px; }
  .credential-main ul { grid-template-columns: 1fr; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .button-light { width: 100%; }
  .quote-form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom span:last-child { text-align: left; }
  .quick-contact { right: 10px; bottom: 10px; }
  .quick-contact a { min-height: 43px; padding-inline: 12px; }
  .image-feature-media { min-height: 300px; background-image: linear-gradient(180deg, transparent 65%, var(--navy)), url('/assets/beduara-oilfield-hero.webp'); }
  .image-feature-copy { padding: 38px 24px 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
