/* Arabian Drilling Equipment — site styles. Mobile-first, logical properties for RTL. No motion. */
:root {
  --ink: #0e1a26;
  --ink-2: #16283a;
  --blue: #1f4e79;
  --yellow: #f2b705;
  --yellow-dk: #c99400;
  --paper: #f4f2ed;
  --white: #ffffff;
  --line: #ddd8cc;
  --line-dk: #2b4057;
  --text: #18202a;
  --muted: #5a6470;
  --wa: #1f8f4e;
  --shadow: 0 10px 30px rgba(14, 26, 38, .10);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1200px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; animation: none !important; transition: none !important; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.4; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c9d3de; font-size: .85rem; }
.topbar-in { display: flex; gap: 6px 18px; align-items: center; flex-wrap: wrap; min-height: 40px; padding-block: 4px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--yellow); }
.topbar .lang { margin-inline-start: auto; color: var(--yellow); font-weight: 600; }
.hide-sm { display: none !important; }

/* ---------- Header & logo ---------- */
.header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-img img { height: 44px; width: auto; display: block; }
.logo-card { background: var(--white); padding: 6px 8px; border-radius: 4px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; padding-inline-start: 12px; border-inline-start: 2px solid var(--line); min-width: 0; }
.logo-text b { font-size: .82rem; font-weight: 700; }
.logo-text small { display: none; font-size: .74rem; color: var(--muted); }
.logo:hover { color: var(--ink); }
.nav-desk { display: none; }
.nav-mob summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.nav-mob summary span { display: none; }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob[open] summary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav-mob nav { position: absolute; inset-inline: 0; top: 100%; background: var(--white); border-bottom: 4px solid var(--yellow); box-shadow: 0 14px 28px rgba(14, 26, 38, .16); }
.nav-mob nav a { display: block; padding: 14px var(--gutter); border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-mob nav a[aria-current] { background: var(--paper); box-shadow: inset 4px 0 0 var(--yellow); }
[dir="rtl"] .nav-mob nav a[aria-current] { box-shadow: inset -4px 0 0 var(--yellow); }

/* ---------- Buttons & links ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 22px; font: 600 1rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-dk); border-color: var(--yellow-dk); color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #166e3b; color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-ghost-inv { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost-inv:hover { border-color: var(--yellow); color: var(--yellow); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; white-space: nowrap; }
.link-arrow:hover { color: var(--blue); }

/* Eyebrow: short yellow rule + label */
.eyebrow { font: 600 .8rem/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--yellow); flex: none; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #dbe3ec; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 38, .80) 0%, rgba(14, 26, 38, .92) 100%); }
.hero-in { position: relative; z-index: 1; padding-block: 56px 88px; }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .eyebrow { color: var(--yellow); }
.hero .lead { font-size: 1.08rem; color: #d0d9e3; max-width: 58ch; margin-bottom: 1.6em; }
.hero-chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--white); font-size: .95rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips .ico { color: var(--yellow); }
.tag { position: absolute; inset-inline-end: 0; bottom: 0; background: var(--yellow); color: var(--ink); font: 500 .8rem var(--mono); padding: 6px 12px; letter-spacing: .06em; z-index: 1; }

/* ---------- Stats card (overlaps the hero) ---------- */
.stats { position: relative; z-index: 2; margin-top: -48px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-top: 4px solid var(--yellow); box-shadow: var(--shadow); }
.stats-grid > div { padding: 18px 16px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.stats-grid > div:nth-child(2n) { border-inline-end: 0; }
.stats-grid b { font: 700 1.6rem/1.2 var(--font); color: var(--ink); }
.stats-grid span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #c6d0db; }
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark .note { color: #8fa0b2; }
.sec-head { max-width: 720px; margin-bottom: 28px; }
.sec-head p:last-child { color: var(--muted); margin-bottom: 0; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.sec-head-row > div { max-width: 720px; }
.note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.h-small { font-size: 1.15rem; margin-top: 40px; }

/* ---------- Page head ---------- */
.page-head { background: var(--ink); color: #c6d0db; padding-block: 28px 40px; border-bottom: 4px solid var(--yellow); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 45%; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px); }
.ph-in { position: relative; display: grid; gap: 28px; align-items: center; }
.page-head h1 { color: var(--white); max-width: 24ch; }
.page-head .eyebrow { color: var(--yellow); }
.page-head .lead { max-width: 64ch; font-size: 1.06rem; margin: 0; }
.ph-media { display: none; }
.crumbs { font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; color: #8fa0b2; }
.crumbs a { color: #c6d0db; }
.page-head.nf { background: var(--paper); color: var(--text); border: 0; }
.page-head.nf::before { display: none; }
.page-head.nf h1, .page-head.nf h2 { color: var(--ink); }
.page-head.nf .eyebrow { color: var(--blue); }
.page-head.nf hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* ---------- Plates (product shots shown at their own size on white) ---------- */
.plate { display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); padding: 12px; position: relative; }
.plate img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- Equipment cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cat-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); overflow: hidden; position: relative; }
.cat-img { display: block; aspect-ratio: 4 / 3; background: var(--white); overflow: hidden; border-bottom: 3px solid var(--yellow); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.cat-title { font-weight: 700; line-height: 1.3; font-size: .98rem; }
.cat-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.cat-more .ico { color: var(--blue); }
.cat-card:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow); }
.cat-card:hover .cat-title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
/* featured tile: photo fills the tile, text on a dark fade */
.cat-feat { grid-column: span 2; min-height: 340px; border: 0; background: var(--ink); }
.cat-feat .cat-img { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
.cat-feat .cat-body { position: relative; margin-top: auto; flex: none; padding: 96px 20px 22px; background: linear-gradient(180deg, rgba(14, 26, 38, 0) 0%, rgba(14, 26, 38, .88) 45%, rgba(14, 26, 38, .96) 100%); color: var(--white); }
.cat-feat .cat-title { font-size: 1.4rem; color: var(--white); }
.cat-feat .cat-desc { color: #c6d0db; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cat-feat .cat-more { color: var(--yellow); font-weight: 600; font-size: .9rem; }
.cat-feat .cat-more .ico { color: var(--yellow); }
.cat-feat:hover .cat-title { color: var(--white); }
.cat-all { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 18px; background: var(--yellow); color: var(--ink); text-decoration: none; min-height: 160px; }
.cat-all b { font-size: 2.4rem; line-height: 1; }
.cat-all span { font-weight: 600; }
.cat-all .ico { width: 1.6em; height: 1.6em; margin-top: 8px; }
.cat-all:hover { background: var(--yellow-dk); color: var(--ink); }

/* ---------- Figures on category pages ---------- */
/* product videos: portrait clips side by side, never wider than needed */
.vid-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; justify-content: center; }
.vid { margin: 0; background: var(--ink); border-bottom: 4px solid var(--yellow); max-width: 380px; width: 100%; justify-self: center; }
.vid video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; }
.vid figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; color: #c6d0db; font-size: .92rem; }
.vid figcaption b { color: var(--white); font-size: 1.05rem; line-height: 1.35; }
.fig-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.fig { margin: 0; display: flex; flex-direction: column; }
.fig .plate { aspect-ratio: 5 / 4; border-bottom: 3px solid var(--yellow); }
/* the image sits inside at up to its own size (no upscaling of small originals) */
.fig .plate img { position: absolute; inset: 14px; margin: auto; width: auto; height: auto; max-width: calc(100% - 28px); max-height: calc(100% - 28px); }
.fig figcaption { padding: 10px 2px 0; font-size: .95rem; font-weight: 600; color: var(--ink); }

/* ---------- Spec tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); margin-top: 16px; }
table.spec { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 560px; color: var(--text); }
.spec th, .spec td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec thead th { background: var(--ink); color: var(--white); font-weight: 600; font-size: .82rem; }
.spec tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.spec td { font-family: var(--mono); font-weight: 500; }
.spec.used td:nth-child(2) { font-family: var(--font); font-weight: 400; min-width: 240px; }
.spec tbody tr:nth-child(even) { background: #faf9f6; }
.spec tbody tr:hover { background: #fff7dc; }
.section-dark .table-wrap { border: 0; }
.section-dark .spec thead th { background: var(--yellow); color: var(--ink); }
.h-table { font-size: 1.25rem; margin-top: 40px; padding-inline-start: 14px; border-inline-start: 4px solid var(--yellow); }
.h-table:first-child { margin-top: 0; }

/* ---------- Split ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split-top { align-items: start; }
.split-img { position: relative; margin-inline-end: 14px; margin-bottom: 14px; box-shadow: 14px 14px 0 var(--yellow); }
[dir="rtl"] .split-img { box-shadow: -14px 14px 0 var(--yellow); }
.split-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.section-dark .btn { margin-top: 18px; }

/* ---------- Feature cards (why / services) ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why li { background: var(--white); border: 1px solid var(--line); padding: 22px; }
.section-alt .why li { background: var(--paper); border-color: transparent; }
.why-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--yellow); color: var(--ink); margin-bottom: 16px; }
.why-ico .ico { width: 26px; height: 26px; }
.why h3 { margin: 0 0 6px; }
.why p { margin: 0; color: var(--muted); }

/* ---------- Photo strip (home) ---------- */
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 10px; }
.strip a { display: block; overflow: hidden; background: var(--ink); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip a:hover { outline: 4px solid var(--yellow); outline-offset: -4px; }
.strip-big { grid-column: span 2; grid-row: span 2; }

/* ---------- About ---------- */
.prose p { font-size: 1.05rem; }
.gm { margin-top: 24px; padding: 18px 20px; background: var(--white); border-inline-start: 4px solid var(--yellow); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.gm b { font-size: 1.2rem; color: var(--ink); }
.gm span:last-child { color: var(--muted); }
.gm .eyebrow { margin-bottom: 6px; }

/* ---------- Enquiry box ---------- */
.enquiry { background: var(--ink); color: #c6d0db; padding: 26px; display: grid; gap: 18px; border-inline-start: 6px solid var(--yellow); margin-top: 8px; position: relative; overflow: hidden; }
.enquiry::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 30%; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 14px, transparent 14px 28px); pointer-events: none; }
.enquiry h2 { color: var(--white); font-size: 1.4rem; }
.enquiry p { margin: 0; max-width: 60ch; }
.enquiry .btns { position: relative; z-index: 1; }
.enquiry .btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.enquiry .btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); background: transparent; }
.section .enquiry { margin-top: 40px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.chips a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.ticks { padding: 0; list-style: none; }
.ticks li { padding: 9px 0; border-bottom: 1px solid var(--line); padding-inline-start: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; width: 12px; height: 3px; background: var(--yellow); }
.partner { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.partner img { width: 180px; }

/* ---------- Gallery ---------- */
/* featured mosaic: large photos with caption bars */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 10px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-0 { grid-column: span 2; }
.mosaic figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(180deg, rgba(14, 26, 38, 0), rgba(14, 26, 38, .9)); color: var(--white); font-weight: 600; font-size: .95rem; }
.mosaic-0 figcaption { border-bottom: 4px solid var(--yellow); }
/* CSS-only filter tabs (radio inputs) */
.gal-radio { position: absolute; opacity: 0; pointer-events: none; }
.gal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gal-tabs label { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; cursor: pointer; }
.gal-tabs label span { font: 500 .78rem var(--mono); background: var(--paper); padding: 1px 7px; color: var(--muted); }
.gal-tabs label:hover { border-color: var(--ink); }
#gal-all:checked ~ .gal-tabs label[for="gal-all"],
#gal-site:checked ~ .gal-tabs label[for="gal-site"],
#gal-eq:checked ~ .gal-tabs label[for="gal-eq"] { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--yellow); }
#gal-all:checked ~ .gal-tabs label[for="gal-all"] span,
#gal-site:checked ~ .gal-tabs label[for="gal-site"] span,
#gal-eq:checked ~ .gal-tabs label[for="gal-eq"] span { background: var(--yellow); color: var(--ink); }
#gal-all:focus-visible ~ .gal-tabs label[for="gal-all"],
#gal-site:focus-visible ~ .gal-tabs label[for="gal-site"],
#gal-eq:focus-visible ~ .gal-tabs label[for="gal-eq"] { outline: 3px solid var(--yellow); outline-offset: 2px; }
#gal-site:checked ~ .gal-grid .is-eq, #gal-eq:checked ~ .gal-grid .is-site { display: none; }
/* photo cards: shown near their real size (originals are ~300 px wide) */
.gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gal-item { margin: 0; background: var(--paper); display: flex; flex-direction: column; }
.section-alt .gal-item { background: var(--paper); }
.gal-photo { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 3px solid var(--yellow); background: var(--ink); }
.gal-photo img { width: 100%; height: 100%; object-fit: cover; }
.gal-item figcaption { padding: 10px 12px 12px; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.4; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.gal-tag { font-size: .72rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
[dir="rtl"] .gal-tag { letter-spacing: 0; font-size: .8rem; }
.gal-item:hover { outline: 3px solid var(--ink); outline-offset: -1px; }

/* ---------- CTA band ---------- */
.cta { position: relative; background: var(--blue); color: #dce6f0; padding-block: 52px; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 59, 94, .96), rgba(23, 59, 94, .82)); }
.cta h2 { color: var(--white); }
.cta-in { position: relative; z-index: 1; display: grid; gap: 22px; align-items: center; }
.cta p { margin: 0; max-width: 56ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
.quick { margin-bottom: 20px; }
.quick .btn { flex: 1 1 140px; }
.contact-cards { list-style: none; padding: 0; margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ink); }
.contact-cards li { display: flex; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.contact-cards li:last-child { border-bottom: 0; }
.contact-cards .ico { color: var(--blue); margin-top: 4px; }
.contact-cards div { display: flex; flex-direction: column; min-width: 0; }
.contact-cards span { font-size: .82rem; color: var(--muted); }
.contact-cards a, .contact-cards b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-cards small { color: var(--muted); }
.form { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--yellow); padding: 20px; display: flex; flex-direction: column; gap: 14px; align-self: start; box-shadow: var(--shadow); }
.form h2 { margin: 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form em { color: #b3261e; font-style: normal; }
.form input, .form select, .form textarea { font: 400 1rem var(--font); padding: 12px; border: 1px solid #b9b3a5; background: var(--paper); color: var(--text); border-radius: 0; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--ink); background: var(--white); }
.form button { align-self: flex-start; }
.row2 { display: grid; gap: 14px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin: 0; padding: 10px 12px; background: #fdecea; color: #8c1d18; border-inline-start: 4px solid #b3261e; }
.form-error:target { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9fb0c2; font-size: .92rem; }
.stripe { height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px); }
.footer-grid { display: grid; gap: 32px; padding-block: 44px 28px; }
.footer h2 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #d3dde7; text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.cols2 { columns: 2; column-gap: 20px; }
.cols2 li { break-inside: avoid; padding: 3px 0; }
.logo-inv { color: var(--white); margin-bottom: 16px; }
.logo-inv .logo-text { border-color: var(--line-dk); }
.logo-inv .logo-text small { display: block; color: #9fb0c2; }
.logo-inv:hover { color: var(--white); text-decoration: none !important; }
.contact-list li { display: flex; gap: 10px; padding: 5px 0; }
.contact-list .ico { color: var(--yellow); margin-top: 4px; }
.footer-base { border-top: 1px solid var(--line-dk); padding-block: 16px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: .82rem; }

/* single-column grids must not grow past the screen (wide tables scroll inside .table-wrap) */
.split, .contact-grid, .footer-grid, .cta-in, .enquiry, .ph-in { grid-template-columns: minmax(0, 1fr); }

/* ---------- ≥ 420px ---------- */
@media (min-width: 420px) {
  .nav-mob summary span { display: inline; }
  .logo-text b { font-size: .88rem; }
}

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hide-sm { display: inline-flex !important; }
  .logo-text small { display: block; }
  .logo-img img { height: 50px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid > div { border-bottom: 0; padding: 24px 22px; }
  .stats-grid > div:nth-child(2n) { border-inline-end: 1px solid var(--line); }
  .stats-grid > div:last-child { border-inline-end: 0; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .cat-feat { grid-column: span 3; min-height: 400px; }
  .fig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 380px)); }
  .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .mosaic-0 { grid-row: span 2; }
  .mosaic-1, .mosaic-2 { grid-row: span 2; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .enquiry { grid-template-columns: 1fr auto; align-items: center; padding: 30px 34px; }
}

/* ---------- ≥ 960px ---------- */
@media (min-width: 960px) {
  body { font-size: 17px; }
  .nav-mob { display: none; }
  .nav-desk { display: flex; gap: 2px; }
  .nav-desk a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 26px 12px; border-bottom: 3px solid transparent; font-size: .95rem; }
  .nav-desk a:hover { border-bottom-color: var(--line); }
  .nav-desk a[aria-current] { border-bottom-color: var(--yellow); }
  .header-in { min-height: 76px; }
  .logo-img img { height: 54px; }
  .hero { min-height: 640px; display: flex; align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(14, 26, 38, .96) 0%, rgba(14, 26, 38, .86) 38%, rgba(14, 26, 38, .25) 75%, rgba(14, 26, 38, .10) 100%); }
  [dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(14, 26, 38, .96) 0%, rgba(14, 26, 38, .86) 38%, rgba(14, 26, 38, .25) 75%, rgba(14, 26, 38, .10) 100%); }
  .hero-in { width: 100%; padding-block: 96px 128px; }
  .stats { margin-top: -64px; }
  .section { padding-block: 84px; }
  .page-head { padding-block: 36px 52px; }
  .has-media .ph-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .ph-media { display: flex; align-items: center; justify-content: center; }
  .ph-photo { box-shadow: 14px 14px 0 var(--yellow); margin-inline-end: 14px; }
  [dir="rtl"] .ph-photo { box-shadow: -14px 14px 0 var(--yellow); }
  .ph-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .ph-plate { background: var(--white); padding: 16px; height: 300px; border-bottom: 4px solid var(--yellow); }
  .ph-plate img { max-height: 100%; width: auto; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .bento .cat-feat { grid-column: span 2; grid-row: span 2; min-height: 0; }
  .cat-feat .cat-body { padding: 120px 28px 28px; }
  .cat-feat .cat-title { font-size: 1.75rem; }
  .fig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .gal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .mosaic { grid-auto-rows: 250px; gap: 12px; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .split-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .why { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .why.why-5 { grid-template-columns: repeat(5, 1fr); }
  .strip { grid-auto-rows: 200px; gap: 12px; }
  .cta { padding-block: 64px; }
  .cta-in { grid-template-columns: 1fr auto; }
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .form { padding: 32px; }
  .footer-grid { grid-template-columns: 4fr 5fr 4fr; gap: 48px; padding-block: 60px 36px; }
}
