/* ==========================================================================
   Hengsheng Technology Trade Co., Limited — OCTG / API 5CT coupons
   stylesheet: tokens, layout, components, RTL + responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "Liberation Sans", sans-serif;

  --ink: #0a151d;
  --ink-2: #10222e;
  --steel: #1d3543;
  --text: #16242e;
  --muted: #566873;
  --line: #e2e7eb;
  --paper: #ffffff;
  --paper-2: #f4f6f8;
  --paper-3: #eef1f4;

  --accent: #d9501b;
  --accent-dark: #b03d10;
  --accent-soft: #fdeee7;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(10, 21, 29, 0.06), 0 6px 18px -8px rgba(10, 21, 29, 0.14);
  --shadow: 0 18px 40px -20px rgba(10, 21, 29, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: inset-block-start 0.2s var(--ease);
}

.skip-link:focus {
  inset-block-start: 0.75rem;
}

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.eyebrow--light {
  color: #ffab84;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
}

.lead {
  margin-block-start: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.section-head {
  max-width: 780px;
  margin-block-end: clamp(2rem, 4vw, 3.25rem);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(217, 80, 27, 0.9);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: #c9d2d9;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn__arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.2s var(--ease);
}

html[dir="rtl"] .btn__arrow {
  transform: scaleX(-1);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

html[dir="rtl"] .btn:hover .btn__arrow {
  transform: scaleX(-1) translateX(3px);
}

/* ---------- 5. Top bar + header ---------- */
.topbar {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}

.topbar__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 600;
}

.topbar__mail:hover {
  color: #ffb392;
}

.topbar__ico {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #37c07b;
  box-shadow: 0 0 0 3px rgba(55, 192, 123, 0.22);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-block-end: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 10px 28px -22px rgba(10, 21, 29, 0.6);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(145deg, #e8642f, var(--accent-dark));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -8px rgba(176, 61, 16, 0.9);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand__sub {
  margin-block-start: 3px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  margin-inline-start: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.9rem);
}

.nav__link {
  position: relative;
  padding-block: 0.4rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: #2b3b47;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.22s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

/* ---------- 6. Language switcher ---------- */
.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.lang__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang__ico {
  width: 15px;
  height: 15px;
  opacity: 0.8;
}

.lang__chev {
  width: 11px;
  height: 11px;
  transition: transform 0.2s var(--ease);
}

.lang__btn[aria-expanded="true"] .lang__chev {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 178px;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 70;
}

.lang__menu.is-open {
  display: block;
}

.lang__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}

.lang__item:hover {
  background: var(--paper-2);
}

.lang__item[aria-checked="true"] {
  color: var(--accent);
  background: var(--accent-soft);
}

.lang__code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang__item[aria-checked="true"] .lang__code {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: relative;
}

.menu-toggle__bars::before {
  inset-block-start: -6px;
}

.menu-toggle__bars::after {
  inset-block-start: 4px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- 7. Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 90;
  width: min(86vw, 360px);
  padding: 1.5rem;
  background: #fff;
  box-shadow: -24px 0 60px -30px rgba(10, 21, 29, 0.6);
  transform: translateX(105%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
}

html[dir="rtl"] .drawer {
  transform: translateX(-105%);
  box-shadow: 24px 0 60px -30px rgba(10, 21, 29, 0.6);
}

.drawer.is-open,
html[dir="rtl"] .drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.drawer__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.drawer__list {
  display: grid;
  gap: 0.15rem;
}

.drawer__link {
  display: block;
  padding: 0.85rem 0.25rem;
  border-block-end: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 700;
}

.drawer__link:hover {
  color: var(--accent);
}

.drawer .lang {
  margin-block-start: auto;
}

.drawer .lang__menu {
  position: static;
  inset: auto;
  margin-block-start: 0.5rem;
  box-shadow: none;
  background: var(--paper-2);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 21, 29, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      95deg,
      rgba(6, 15, 22, 0.94) 0%,
      rgba(6, 15, 22, 0.82) 38%,
      rgba(6, 15, 22, 0.5) 68%,
      rgba(6, 15, 22, 0.3) 100%
    ),
    radial-gradient(120% 80% at 100% 0%, rgba(217, 80, 27, 0.24), transparent 62%);
}

.hero__inner {
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem);
  max-width: 860px;
}

.hero__title {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.06;
}

.hero__title em {
  font-style: normal;
  color: #ff9f72;
}

.hero__lead {
  margin-block-start: 1.35rem;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-block-start: 2rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-block-start: 2.2rem;
  padding-block-start: 1.4rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero__chip svg {
  width: 15px;
  height: 15px;
  color: #ff9f72;
  flex: none;
}

/* ---------- 9. Stats strip ---------- */
.stats {
  background: var(--ink-2);
  color: #fff;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 1.6rem clamp(0.75rem, 2vw, 1.5rem);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}

.stat__num {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat__num span {
  color: var(--accent);
}

.stat__label {
  margin-block-start: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- 10. Sections ---------- */
.section {
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
}

.section--alt {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 11. Tabs ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-end: 2rem;
}

.tab {
  padding: 0.5rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #465966;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.tab:hover {
  border-color: #b9c4cc;
}

.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- 12. Product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #cfd8de;
  box-shadow: var(--shadow);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__tag {
  position: absolute;
  inset-block-start: 0.85rem;
  inset-inline-start: 0.85rem;
  padding: 0.28rem 0.65rem;
  background: rgba(10, 21, 29, 0.78);
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.card__media--graphic {
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 20% 0%, #234a5e 0%, #10222e 55%, #0a151d 100%);
}

.card__media--graphic svg {
  width: 62%;
  height: auto;
  color: #f3a483;
  opacity: 0.92;
}

.card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.card__desc {
  margin-block-start: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.specs {
  margin-block: 1rem 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.specs__row {
  display: grid;
  grid-template-columns: 6.6rem 1fr;
  gap: 0.6rem;
  padding-block-end: 0.4rem;
  border-block-end: 1px dashed #e6ebef;
}

.specs__row:last-child {
  border-block-end: 0;
  padding-block-end: 0;
}

.specs__k {
  color: var(--muted);
  font-weight: 600;
}

.specs__v {
  font-weight: 600;
  color: #24343f;
}

.card__link {
  margin-block-start: auto;
  padding-block-start: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

html[dir="rtl"] .card__link svg {
  transform: scaleX(-1);
}

.card:hover .card__link svg {
  transform: translateX(3px);
}

html[dir="rtl"] .card:hover .card__link svg {
  transform: scaleX(-1) translateX(3px);
}

.card.is-hidden {
  display: none;
}

/* ---------- 13. Advantages ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 1.6rem 1.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.feature:hover {
  border-color: #eabfa9;
  box-shadow: 0 14px 30px -22px rgba(217, 80, 27, 0.5);
}

.feature__ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-block-end: 1rem;
}

.feature__ico svg {
  width: 22px;
  height: 22px;
}

.feature__title {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.feature__text {
  margin-block-start: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- 14. Split / quality ---------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.badge-card {
  position: absolute;
  inset-block-end: 1.5rem;
  inset-inline-start: 1.5rem;
  max-width: 15rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.badge-card__t {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.badge-card__s {
  margin-block-start: 0.2rem;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
}

.checklist {
  display: grid;
  gap: 0.85rem;
  margin-block-start: 1.75rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #2a3a45;
}

.checklist svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-block-start: 1px;
}

.checklist strong {
  font-weight: 700;
}

/* ---------- 15. Applications band ---------- */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-block-start: 2.5rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
}

.app {
  padding: 1.6rem 1.5rem 1.6rem 0;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
  padding-inline-start: 1.5rem;
}

.app:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}

.app__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ff9f72;
}

.app__title {
  margin-block-start: 0.6rem;
  font-size: 1.05rem;
}

.app__text {
  margin-block-start: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- 16. About ---------- */
.bullets {
  display: grid;
  gap: 0.7rem;
  margin-block-start: 1.5rem;
}

.bullets li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: #2a3a45;
}

.bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-block-start: 0.55rem;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- 17. Inquiry form ---------- */
.inquiry {
  background: linear-gradient(165deg, var(--ink-2) 0%, #143243 55%, var(--ink) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.inquiry::after {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -10%;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(circle, rgba(217, 80, 27, 0.28), transparent 62%);
  pointer-events: none;
}

.inquiry__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.inquiry__contact {
  margin-block-start: 2rem;
  display: grid;
  gap: 1rem;
}

.inquiry__row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.inquiry__row svg {
  width: 18px;
  height: 18px;
  color: #ff9f72;
  flex: none;
  margin-block-start: 4px;
}

.inquiry__row-t {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.inquiry__row-v {
  margin-block-start: 0.15rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.inquiry__row-v a:hover {
  color: #ffb392;
}

.form {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #3d4d58;
}

.field label span[aria-hidden="true"] {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid #d3dbe1;
  border-radius: 10px;
  font-size: 0.93rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 80, 27, 0.16);
}

.form__foot {
  margin-block-start: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  justify-content: space-between;
}

.form__note {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 34ch;
}

.form__status {
  margin-block-start: 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form__status.is-ok {
  display: block;
  background: #e8f7ef;
  color: #16693f;
}

.form__status.is-err {
  display: block;
  background: #fdeceb;
  color: #a3231a;
}

/* ---------- 18. Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -8%;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(217, 80, 27, 0.3), transparent 62%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  margin-block-end: 1rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span[aria-current] {
  color: #ff9f72;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- 19. Spec table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 620px;
}

table.spec-table caption {
  padding: 1rem 1.15rem 0.25rem;
  text-align: start;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text);
}

table.spec-table th,
table.spec-table td {
  padding: 0.65rem 1.15rem;
  text-align: start;
  border-block-end: 1px solid var(--line);
  vertical-align: top;
}

table.spec-table thead th {
  background: var(--paper-2);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

table.spec-table tbody tr:last-child td {
  border-block-end: 0;
}

table.spec-table tbody tr:hover {
  background: #fafbfc;
}

table.spec-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.table-note {
  margin-block-start: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- 20. Product detail blocks (products page) ---------- */
.pdetail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block-end: 1px solid var(--line);
}

.pdetail:last-child {
  border-block-end: 0;
}

.pdetail__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 16 / 11;
}

.pdetail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdetail__media--graphic {
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 20% 0%, #234a5e 0%, #10222e 55%, #0a151d 100%);
}

.pdetail__media--graphic svg {
  width: 54%;
  color: #f3a483;
}

.pdetail h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.pdetail__tagline {
  margin-block-start: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.pdetail__text {
  margin-block-start: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pdetail .specs {
  margin-block-start: 1.25rem;
  font-size: 0.9rem;
}

.pdetail .specs__row {
  grid-template-columns: 8.5rem 1fr;
}

/* ---------- 21. CTA strip ---------- */
.cta-strip {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-strip h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.cta-strip p {
  margin-block-start: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- 22. Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.footer .brand__name {
  color: #fff;
}

.footer .brand__sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer__about {
  margin-block-start: 1.1rem;
  max-width: 34ch;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer__title {
  margin-block-end: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
}

.footer__list {
  display: grid;
  gap: 0.55rem;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.footer__list a:hover {
  color: #fff;
}

.footer__contact {
  display: grid;
  gap: 0.75rem;
}

.footer__contact-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
}

.footer__contact-row svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-block-start: 4px;
  color: #ff9f72;
}

.footer__contact-row a {
  color: #fff;
  font-weight: 600;
  word-break: break-word;
}

.footer__bottom {
  margin-block-start: clamp(2rem, 4vw, 3rem);
  padding-block-start: 1.4rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  max-width: 78ch;
  line-height: 1.6;
}

/* ---------- 23. Back to top ---------- */
.to-top {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 55;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--accent);
}

.to-top svg {
  width: 16px;
  height: 16px;
}

/* ---------- 24. Reveal animation ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 25. Arabic / RTL ---------- */
html[lang="ar"] body {
  font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, "Traditional Arabic",
    system-ui, sans-serif;
  line-height: 1.85;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
  letter-spacing: 0;
  line-height: 1.4;
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .footer__title,
html[lang="ar"] .card__tag,
html[lang="ar"] .pdetail__tagline,
html[lang="ar"] .inquiry__row-t,
html[lang="ar"] table.spec-table thead th {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="ar"] .brand__name,
html[lang="ar"] .brand__sub {
  letter-spacing: 0;
}

html[lang="ar"] .specs__row {
  grid-template-columns: 7.5rem 1fr;
}

/* Numbers stay LTR inside RTL text */
html[dir="rtl"] .stat__num,
html[dir="rtl"] .app__num {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

/* Technical values are Latin / numeric: keep them LTR-ordered but flush to the key */
html[dir="rtl"] .specs__v,
html[dir="rtl"] table.spec-table td {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

/* ---------- 26. Responsive ---------- */
@media (max-width: 1080px) {
  .nav,
  .header__actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header__inner {
    min-height: 68px;
  }

  .split,
  .inquiry__grid,
  .pdetail {
    grid-template-columns: 1fr;
  }

  .pdetail__media {
    max-width: 34rem;
  }

  .badge-card {
    inset-inline-start: 1rem;
    inset-block-end: 1rem;
  }
}

@media (max-width: 860px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding-block: 1.15rem;
  }

  .stat:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .stat:nth-child(-n + 2) {
    border-block-end: 1px solid rgba(255, 255, 255, 0.1);
  }

  .app {
    padding-inline: 0;
    border-inline-start: 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  }

  .app:first-child {
    border-block-start: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, var(--container));
  }

  .brand__sub {
    display: none;
  }

  .brand__name {
    font-size: 0.94rem;
  }

  .topbar__note {
    display: none;
  }

  .hero__chips {
    gap: 0.5rem 1rem;
  }

  .hero__chip {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .specs__row,
  .pdetail .specs__row {
    grid-template-columns: 5.6rem 1fr;
  }

  .to-top {
    inset-block-end: 1rem;
    inset-inline-end: 1rem;
  }
}

/* ---------- 27. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .topbar,
  .drawer,
  .drawer-backdrop,
  .to-top,
  .inquiry::after {
    display: none !important;
  }

  body {
    color: #000;
  }
}
