/* Prime Energy Equipment Trading LLC
   Palette is taken from the logo: navy "P", slate gear, orange bolt. */

:root {
  --navy-900: #0E2840;
  --navy-800: #143A5C;
  --navy-700: #1C4C78;
  --navy-600: #255E92;
  --slate-700: #3F4554;
  --slate-600: #4E5666;
  --slate-500: #667081;
  --line: #D9E0E8;
  --line-soft: #E7ECF1;
  --steel-100: #EEF2F6;
  --steel-50: #F6F8FA;
  --orange-500: #F7902D;
  --orange-600: #E57D17;
  --ink: #1F2835;
  --white: #FFFFFF;
  --on-navy: #DCE5EF;
  --on-navy-muted: #A3B5C8;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wide: 116%;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 4.75rem;
  --section-pad: clamp(72px, 9vw, 128px);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Large monitors: scale the whole layout up a little instead of leaving it small in the middle. */
@media (min-width: 1800px) { html { font-size: 112.5%; } }
@media (min-width: 2400px) { html { font-size: 125%; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-stretch: var(--wide);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--navy-900);
  text-wrap: balance;
}

p { margin: 0; }
p + p { margin-top: 1em; }

a { color: var(--navy-700); }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2 * var(--gutter), 77.5rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }

.btn-primary { background: var(--orange-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--orange-600); }

.btn-ghost { background: transparent; color: var(--navy-900); border-color: #BFCBD8; }
.btn-ghost:hover { border-color: var(--navy-700); background: var(--steel-50); }

.btn-whatsapp { background: #0F7A41; color: var(--white); }
.btn-whatsapp:hover { background: #0B6636; }

.text-btn {
  padding: 0;
  font: inherit;
  font-weight: 650;
  color: var(--navy-700);
  background: none;
  border: 0;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.text-btn:hover { color: var(--navy-900); text-decoration-color: var(--orange-500); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(14, 40, 64, .5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand { flex: none; }
.brand img { height: 3.25rem; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul a {
  color: var(--slate-700);
  font-weight: 550;
  font-size: .98rem;
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { color: var(--navy-900); border-bottom-color: var(--orange-500); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-weight: 650;
  font-size: .98rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.nav-phone svg { width: 18px; height: 18px; color: var(--navy-700); }
.nav-phone:hover { color: var(--navy-700); }

.nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -8px;
  padding: 0;
  color: var(--navy-900);
  background: none;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }

@media (max-width: 1120px) {
  .header-inner { gap: 16px; }
  .nav-toggle { display: grid; place-items: center; }
  .header-cta { margin-left: auto; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(14, 40, 64, .45);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: 14px 0;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav ul a:hover { border-bottom-color: var(--line-soft); }
  .nav-phone { padding: 18px 0 6px; font-size: 1.08rem; }
}

/* Phones in landscape: keep the sticky header short. */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 3.75rem; }
  .brand img { height: 2.375rem; }
  .header-cta { padding: 9px 16px; font-size: .95rem; }
}

@media (max-width: 560px) {
  :root { --header-h: 4rem; }
  .brand img { height: 2.25rem; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav-cta { display: inline-flex; margin-top: 16px; }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [text-start] minmax(0, 35rem)
    [text-end] minmax(2rem, 4.5rem)
    [media-start] minmax(0, 37.5rem)
    minmax(var(--gutter), 1fr) [full-end];
  min-height: min(calc(100vh - var(--header-h)), 760px);
  background: var(--white);
}

.hero-text {
  grid-column: text-start / text-end;
  align-self: center;
  padding-block: 64px 72px;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.1rem + 3.3vw, 4.1rem);
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.022em;
}

.hero-lede {
  margin-top: 28px;
  max-width: 33em;
  font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem);
  line-height: 1.55;
  color: var(--slate-600);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 44px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: .97rem;
  color: var(--slate-700);
}
.hero-points li { display: flex; align-items: center; gap: 12px; }
.hero-points svg { width: 18px; height: 18px; flex: none; color: var(--orange-600); }

.hero-media {
  position: relative;
  grid-column: media-start / full-end;
  margin: 0;
  background: var(--navy-800);
  overflow: hidden;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: hero-reveal 1.2s cubic-bezier(.2, .7, .1, 1) both; }
  .hero-text > * { animation: hero-rise .7s cubic-bezier(.2, .7, .1, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
}
@keyframes hero-reveal {
  from { clip-path: inset(0 0 0 100%); transform: scale(1.06); }
  to   { clip-path: inset(0 0 0 0); transform: scale(1); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
    min-height: 0;
  }
  .hero-text { grid-column: 2; padding-block: 44px 40px; }
  .hero-points { margin-top: 36px; }
  .hero-media { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

/* ---------- Licence band ---------- */

.licence-band {
  background: var(--navy-900);
  color: var(--on-navy);
  padding-block: 30px;
}
.licence-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 48px;
}
.licence-title {
  max-width: 9em;
  font-size: .95rem;
  font-stretch: 100%;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--on-navy-muted);
}
.licence-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.licence-list li { padding-left: 16px; border-left: 2px solid var(--orange-500); }
.licence-name { display: block; font-weight: 600; line-height: 1.35; color: var(--white); font-size: .98rem; }
.licence-code { display: block; margin-top: 4px; font-size: .82rem; color: var(--on-navy-muted); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .licence-inner { grid-template-columns: 1fr; gap: 18px; }
  .licence-title { max-width: none; }
  .licence-list { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-pad); }
.section-steel { background: var(--steel-100); }
.section-navy { background: var(--navy-900); color: var(--on-navy); }
.section-navy h2,
.section-navy h3 { color: var(--white); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(2rem, 1.25rem + 2.2vw, 3rem); }
.section-head p { max-width: 36em; font-size: 1.08rem; color: var(--slate-600); }
.section-navy .section-head p { color: var(--on-navy-muted); }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

/* ---------- Product range ---------- */
/* Without JS every category is listed in full. With JS: tabs on desktop, accordion on small screens. */

.range-tabs,
.range-toggle { display: none; }

.range-panel + .range-panel { margin-top: 56px; }

.range-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 44px;
  align-items: start;
}

.range-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--steel-100);
}

.range-text h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.75rem); }
.range-text > p { margin-top: 12px; color: var(--slate-600); }

.range-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.range-items li {
  padding: 10px 0;
  font-size: .97rem;
  border-bottom: 1px solid var(--line-soft);
}

.range-brands { margin-top: 24px; font-size: .97rem; color: var(--ink); }
.range-brands span { display: block; margin-bottom: 2px; font-size: .84rem; font-weight: 600; color: var(--slate-500); }

.range-text .text-btn { margin-top: 24px; }

.js .range {
  display: grid;
  grid-template-columns: minmax(15.5rem, 20.5rem) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.js .range-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.range-tabs [role="tab"] {
  position: relative;
  padding: 17px 20px 17px 22px;
  font: inherit;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.3;
  text-align: left;
  color: var(--slate-600);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.range-tabs [role="tab"]:hover { color: var(--navy-900); background: var(--steel-50); }
.range-tabs [role="tab"][aria-selected="true"] {
  color: var(--navy-900);
  font-weight: 650;
  background: var(--steel-100);
}
.range-tabs [role="tab"][aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: 0; top: -1px; bottom: -1px;
  width: 4px;
  background: var(--orange-500);
}

.js .range-panels { padding: 36px 0 0 48px; }
.js .range-panel + .range-panel { margin-top: 0; }
.js .range-panel:not(.is-active) { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .range-panel.is-active .range-body { animation: panel-in .35s ease both; }
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .range-body { grid-template-columns: 1fr; gap: 24px; }
  .range-img { aspect-ratio: 16 / 9; }

  .js .range { display: block; }
  .js .range-tabs { display: none; }
  .js .range-panels { padding: 0; }
  .js .range-panel:not(.is-active) { display: block; }
  .js .range-panel.is-active .range-body { animation: none; }

  .js .range-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 2px;
    font: inherit;
    font-size: 1.08rem;
    font-weight: 650;
    text-align: left;
    color: var(--navy-900);
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
  }
  .js .range-toggle::after {
    content: "";
    flex: none;
    width: 10px; height: 10px;
    margin-right: 6px;
    border-right: 2px solid var(--navy-700);
    border-bottom: 2px solid var(--navy-700);
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s ease;
  }
  .js .range-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  .js .range-panel:not(.is-open) .range-body { display: none; }
  .js .range-body { padding: 20px 0 32px; }
  .js .range-text h3 { display: none; }
  .js .range-text > p { margin-top: 0; }
}

@media (max-width: 480px) {
  .range-items { grid-template-columns: 1fr; }
}

/* ---------- Industries ---------- */

.sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.sector img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sector h3 { margin-top: 22px; font-size: 1.3rem; }
.sector p { margin-top: 10px; color: var(--slate-600); }

.sectors-more {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 16px 40px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #CDD6E0;
}
.sectors-more h3 {
  font-size: 1rem;
  font-stretch: 100%;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--slate-600);
}
.sectors-more ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sectors-more li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  color: var(--navy-900);
}
.sectors-more li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--orange-500);
}

@media (max-width: 860px) {
  .sectors { grid-template-columns: 1fr; gap: 40px; }
  .sector img { aspect-ratio: 16 / 9; }
  .sectors-more { grid-template-columns: 1fr; margin-top: 48px; }
  .sectors-more ul { flex-direction: column; gap: 10px; }
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.step-no {
  display: block;
  margin-bottom: 22px;
  font-size: 2.6rem;
  font-stretch: 125%;
  font-weight: 700;
  line-height: 1;
  color: var(--orange-500);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.2rem; }
.step p { margin-top: 10px; color: var(--on-navy-muted); font-size: 1rem; }

.docs {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 48px;
  margin-top: 80px;
  padding: 40px 44px;
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
  border-top: 4px solid var(--orange-500);
}
.docs h3 { font-size: 1.35rem; color: var(--navy-900); }
.docs-intro p { margin-top: 12px; color: var(--slate-600); }
.docs-list {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-list li {
  position: relative;
  break-inside: avoid;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 550;
}
.docs-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 6px; height: 12px;
  border-right: 2.5px solid var(--orange-600);
  border-bottom: 2.5px solid var(--orange-600);
  transform: rotate(45deg);
}

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .docs { padding: 28px 22px; margin-top: 56px; }
  .docs-list { columns: 1; }
}

/* ---------- Brands ---------- */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brand-grid li {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px 12px;
  text-align: center;
  font-size: 1.05rem;
  font-stretch: 120%;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--slate-700);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fine-print { margin-top: 18px; font-size: .85rem; color: var(--slate-500); }

@media (max-width: 1000px) { .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .brand-grid li { min-height: 64px; padding: 12px 8px; font-size: .9rem; font-stretch: 108%; } }
@media (max-width: 340px)  { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- RFQ sheet ---------- */

.rfq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7.5fr);
  gap: 64px;
  align-items: start;
}
.rfq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.rfq-intro h2 { font-size: clamp(2rem, 1.25rem + 2.2vw, 3rem); margin-bottom: 20px; }
.rfq-intro p { color: var(--slate-600); }

.contact-lines {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid #CDD6E0;
}
.contact-lines li { display: flex; align-items: center; gap: 12px; }
.contact-lines svg { width: 20px; height: 20px; flex: none; color: var(--navy-700); }
.contact-lines a { font-weight: 650; color: var(--navy-900); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }

.sheet {
  background: var(--white);
  border: 1px solid #D0D9E3;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(14, 40, 64, .04), 0 24px 48px -32px rgba(14, 40, 64, .45);
  overflow: hidden;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 32px;
  color: var(--white);
  background: var(--navy-900);
  border-bottom: 3px solid var(--orange-500);
}
.sheet-title { font-size: 1.3rem; font-stretch: var(--wide); font-weight: 700; line-height: 1.2; }
.sheet-sub { margin-top: 4px; font-size: .9rem; color: var(--on-navy-muted); }
.sheet-ref { display: grid; gap: 4px; margin: 0; font-size: .86rem; }
.sheet-ref div { display: flex; justify-content: flex-end; gap: 12px; }
.sheet-ref dt { color: var(--on-navy-muted); }
.sheet-ref dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }

.sheet fieldset { margin: 0; border: 0; min-width: 0; }

.sheet-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  padding: 28px 32px 8px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .86rem;
  font-weight: 650;
  color: var(--slate-700);
}
.field .optional { font-weight: 450; color: var(--slate-500); }

.sheet input,
.sheet select,
.sheet textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #C5D0DC;
  border-radius: 4px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sheet select {
  appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--slate-600) 50%), linear-gradient(135deg, var(--slate-600) 50%, transparent 50%);
  background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.sheet textarea { resize: vertical; min-height: 84px; }
.sheet input::placeholder,
.sheet textarea::placeholder { color: #8C96A5; }
.sheet input:focus,
.sheet select:focus,
.sheet textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(247, 144, 45, .45);
}
.sheet [aria-invalid="true"],
.sheet [aria-invalid="true"]:focus { border-color: #B42318; }

.sheet input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.sheet input[type="number"]::-webkit-inner-spin-button,
.sheet input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.sheet-lines { padding: 26px 32px 6px; }
.sheet-lines legend {
  float: left;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  font-size: 1.05rem;
  font-stretch: 110%;
  font-weight: 700;
  color: var(--navy-900);
}
.sheet-lines legend ~ * { clear: both; }

.line-head,
.line {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) 8rem 5rem 5.4rem 2.25rem;
  gap: 8px;
  align-items: center;
}
.line-head span {
  padding-bottom: 8px;
  font-size: .8rem;
  font-weight: 650;
  color: var(--slate-500);
  border-bottom: 1px solid var(--line);
}
.line-head span:first-child { text-align: center; }

.lines { margin: 0; padding: 0; list-style: none; }
.line { padding: 8px 0; border-bottom: 1px dashed #D5DDE6; }
.line input,
.line select { padding: 9px 10px; font-size: .95rem; }
.line select { padding-right: 28px; background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; }
.line-no {
  text-align: center;
  font-size: .9rem;
  font-weight: 650;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
}
.line-remove {
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  padding: 0;
  color: var(--slate-500);
  background: none;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.line-remove svg { width: 16px; height: 16px; }
.line-remove:hover { color: #B42318; background: #FEF3F2; }
.line-remove:disabled { visibility: hidden; }

.add-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 14px;
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  color: var(--navy-700);
  background: none;
  border: 1.5px dashed #A9B7C7;
  border-radius: 4px;
  cursor: pointer;
}
.add-line svg { width: 16px; height: 16px; }
.add-line:hover { border-style: solid; border-color: var(--navy-700); background: var(--steel-50); }

.field-notes { padding: 20px 32px 0; }

.form-error {
  margin: 18px 32px 0;
  padding: 10px 14px;
  font-size: .95rem;
  font-weight: 600;
  color: #B42318;
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  border-radius: 4px;
}

.sheet .field .form-error,
.sheet .sheet-lines .form-error {
  margin: 10px 0 0;
  padding: 8px 12px;
  font-size: .9rem;
}

.sheet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 24px 32px 10px;
}
.sheet-actions .text-btn { margin-left: auto; font-size: .95rem; }
.sheet-note { padding: 0 32px 28px; font-size: .86rem; color: var(--slate-500); }

@media (max-width: 1180px) {
  .rfq { grid-template-columns: 1fr; gap: 40px; }
  .rfq-intro { position: static; max-width: 44rem; }
}

/* The sheet adapts to its own width (container query), so it works in any column. */
.sheet { container: sheet / inline-size; }

@container sheet (max-width: 620px) {
  .sheet-head { flex-direction: column; gap: 12px; padding: 20px; }
  .sheet-ref div { justify-content: flex-start; }
  .sheet-fields { grid-template-columns: 1fr; padding: 22px 20px 4px; }
  .sheet-lines { padding: 22px 20px 4px; }
  .field-notes { padding: 18px 20px 0; }
  .form-error { margin-inline: 20px; }
  .sheet-actions { padding: 20px 20px 8px; }
  .sheet-actions .btn { flex: 1 1 100%; }
  .sheet-actions .text-btn { margin: 4px auto 0; }
  .sheet-note { padding: 0 20px 22px; text-align: center; }

  .line-head { display: none; }
  .line {
    grid-template-columns: 1.6rem minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr) 2.25rem;
    grid-template-areas:
      "no desc desc desc rm"
      ".  brand qty unit .";
    padding: 12px 0;
  }
  .line input,
  .line select { padding-inline: 8px; }
  .line select { padding-right: 24px; background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%; }
  .line-no { grid-area: no; }
  .line-desc { grid-area: desc; }
  .line-brand { grid-area: brand; }
  .line-qty { grid-area: qty; }
  .line-unit { grid-area: unit; }
  .line-remove { grid-area: rm; }
}

/* Very narrow sheets (small phones): brand gets its own row. */
@container sheet (max-width: 330px) {
  .sheet-head, .sheet-fields, .sheet-lines, .field-notes, .sheet-actions { padding-inline: 14px; }
  .sheet-note { padding-inline: 14px; }
  .form-error { margin-inline: 14px; }
  .line {
    grid-template-columns: 1.4rem minmax(0, 1fr) minmax(0, 1fr) 2.25rem;
    grid-template-areas:
      "no desc desc rm"
      ".  brand brand brand"
      ".  qty unit unit";
    row-gap: 8px;
  }
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
}
.about-text h2 { font-size: clamp(2rem, 1.25rem + 2.2vw, 3rem); margin-bottom: 24px; }
.about-text > p { max-width: 36em; color: var(--slate-600); font-size: 1.08rem; }

.facts { margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts div {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { font-size: .93rem; color: var(--slate-500); }
.facts dd { margin: 0; font-weight: 650; color: var(--navy-900); font-variant-numeric: tabular-nums; }

.about-media { margin: 0; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Contact ---------- */

.contact {
  padding-block: clamp(72px, 9vw, 120px);
  color: var(--white);
  background-color: var(--navy-900);
  background-image:
    linear-gradient(90deg, rgba(14, 40, 64, .95) 0%, rgba(14, 40, 64, .8) 45%, rgba(14, 40, 64, .5) 100%),
    url("../img/photos/abudhabi-night.jpg");
  background-size: cover;
  background-position: center 62%;
}
.contact-inner {
  display: grid;
  gap: 48px;
}
.contact h2 { font-size: clamp(2rem, 1.25rem + 2.2vw, 3rem); color: var(--white); }
.contact-head p { margin-top: 16px; color: var(--on-navy); max-width: 30em; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 28px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-grid li { padding-top: 16px; border-top: 2px solid var(--orange-500); }
.contact-grid h3 {
  margin-bottom: 8px;
  font-size: .9rem;
  font-stretch: 100%;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-navy-muted);
}
.contact-grid a,
.contact-grid p {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--white);
  text-decoration: none;
}
.contact-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }



/* ---------- Footer ---------- */

.site-footer {
  color: var(--on-navy);
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-block: 64px 44px;
}
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 14px; max-width: 26em; color: var(--on-navy-muted); font-size: .95rem; }
.footer-brand .footer-ar {
  margin-top: 18px;
  text-align: left;
  font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", sans-serif;
  font-size: 1rem;
  color: var(--on-navy);
}
.site-footer h2 {
  margin-bottom: 14px;
  font-size: .9rem;
  font-stretch: 100%;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-navy-muted);
}
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .97rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer-base {
  padding-block: 20px 28px;
  font-size: .85rem;
  color: var(--on-navy-muted);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 52px 36px; }
}

/* ---------- WhatsApp shortcut ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  color: var(--white);
  background: #179848;
  border-radius: 50%;
  box-shadow: 0 10px 24px -8px rgba(14, 40, 64, .55);
  transition: transform .15s ease, background-color .15s ease;
}
.wa-float svg { width: 28px; height: 28px; }
.js .wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
.js .wa-float { transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .15s ease; }
.wa-float:hover { background: #0F7A41; transform: translateY(-2px); }

@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}

@media print {
  .site-header, .wa-float, .hero-media, .contact { display: none; }
}
