/* ==========================================================================
   PearlCotton — Suzhou Wangui New Packaging Material Co., Ltd.
   ملف الأنماط الرئيسي / Main stylesheet (RTL-first)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink:            #0d1b21;
  --ink-2:          #16272e;
  --ink-3:          #22383f;
  --pearl:          #f7f5f1;
  --pearl-2:        #efece5;
  --white:          #ffffff;
  --teal:           #0f6b70;
  --teal-deep:      #08484c;
  --teal-soft:      #e3efee;
  --gold:           #b58a4a;
  --gold-soft:      #d9bd8b;
  --text:           #1d2b31;
  --text-muted:     #5d7079;
  --text-invert:    #eaf1f2;
  --line:           rgba(13, 27, 33, .11);
  --line-invert:    rgba(255, 255, 255, .14);

  --ff-body: "Cairo", "Tajawal", "Noto Kufi Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-display: "Tajawal", "Cairo", "Noto Kufi Arabic", system-ui, sans-serif;

  --shell: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.75rem);
  --sect-y: clamp(3.5rem, 7vw, 6.5rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(13,27,33,.05), 0 8px 26px -14px rgba(13,27,33,.22);
  --shadow-2: 0 2px 4px rgba(13,27,33,.06), 0 26px 60px -30px rgba(13,27,33,.42);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(1rem, .96rem + .15vw, 1.075rem);
  line-height: 1.85;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--teal-deep); }
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.32;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(1.85rem, 1.25rem + 2.5vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.16rem, 1.05rem + .5vw, 1.42rem); }
h4 { font-size: 1.06rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-inline-start: 1.35em; }
li { margin-bottom: .45em; }
strong { font-weight: 700; color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--teal); color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.shell--narrow { max-width: 880px; }
.section { padding-block: var(--sect-y); }
.section--tight { padding-block: clamp(2.4rem, 4.5vw, 4rem); }
.section--pearl { background: var(--pearl); }
.section--ink { background: var(--ink); color: var(--text-invert); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a { color: var(--gold-soft); }
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 999;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 4. Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1rem;
}
.section--ink .eyebrow { color: var(--gold-soft); }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
}
.lead { font-size: clamp(1.02rem, .98rem + .35vw, 1.18rem); color: var(--text-muted); max-width: 68ch; }
.section--ink .lead { color: rgba(234,241,242,.78); }
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 3.4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-body); font-size: .96rem; font-weight: 700;
  padding: .88rem 1.85rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.4;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 26px -14px rgba(15,107,112,.85); }
.btn--primary:hover { background: var(--teal-deep); color: #fff; box-shadow: 0 16px 34px -16px rgba(8,72,76,.9); }
.btn--gold { background: var(--gold); color: #1b1204; }
.btn--gold:hover { background: var(--gold-soft); color: #1b1204; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); background: rgba(15,107,112,.05); }
.btn--ghost-invert { border-color: rgba(255,255,255,.38); color: #fff; }
.btn--ghost-invert:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .95rem;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(-5px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-family: var(--ff-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__sub { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted); }

.nav-toggle {
  display: none; margin-inline-start: auto;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .25s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 20px; height: 2px; background: var(--ink); transition: .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  font-size: .95rem; font-weight: 600; color: var(--ink-3);
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; inset-inline: .9rem; bottom: .28rem; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease); border-radius: 2px;
}
.nav__link:hover { color: var(--teal); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--teal); }
.nav__cta { margin-inline-start: .6rem; }
.nav__cta .btn { padding: .68rem 1.35rem; font-size: .9rem; }

/* lang switch */
.lang {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .82rem; font-weight: 700; color: var(--text-muted);
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .55rem;
}
.lang a { padding: .1rem .3rem; border-radius: 6px; color: inherit; }
.lang a:hover { color: var(--teal); }
.lang span[aria-current] { color: var(--teal); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--text-invert); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(9,20,25,.35), rgba(9,20,25,.82) 78%),
    linear-gradient(to top, rgba(9,20,25,.9), transparent 60%);
}
.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(4rem, 11vw, 8.5rem);
  max-width: 760px;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p { color: rgba(234,241,242,.86); font-size: clamp(1.02rem, .98rem + .4vw, 1.2rem); max-width: 58ch; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: .5rem .55rem; margin-top: 1.9rem; padding: 0; list-style: none;
}
.hero__badges li {
  margin: 0; font-size: .84rem; font-weight: 600; padding: .4rem .95rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.9); background: rgba(255,255,255,.06);
}
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 3.2rem);
  margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stats div { display: grid; }
.hero__stats b { font-family: var(--ff-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: #fff; line-height: 1.2; }
.hero__stats small { font-size: .82rem; color: rgba(234,241,242,.7); }

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background-color: var(--ink); color: var(--text-invert);
  padding-block: clamp(2.8rem, 7vw, 5.2rem);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(9,20,25,.7), rgba(9,20,25,.93));
}
.page-hero__inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { color: #fff; margin-bottom: .7rem; }
.page-hero .lead { color: rgba(234,241,242,.8); margin-bottom: 0; }

/* breadcrumbs */
.crumbs { padding-block: 1rem; border-bottom: 1px solid var(--line); background: var(--pearl); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; list-style: none; margin: 0; padding: 0; font-size: .84rem; color: var(--text-muted); }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.crumbs li + li::before { content: "‹"; color: var(--line); font-size: 1rem; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- 9. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.25rem, 2.2vw, 1.9rem);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-1); border-color: rgba(15,107,112,.28); transform: translateY(-3px); }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); margin-bottom: 1rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card--flat { background: transparent; border-color: var(--line); }
.card__num {
  font-family: var(--ff-display); font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  color: var(--gold); display: block; margin-bottom: .55rem;
}

/* feature list with check */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-inline-start: 1.9rem; margin: 0; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .48em;
  width: 1.05rem; height: .55rem; border-inline-start: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); border-radius: 1px;
}

/* ---------- 10. Product cards ---------- */
.product-grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.8rem); grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; height: 100%;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.pcard:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); border-color: rgba(15,107,112,.3); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--pearl-2); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__tag {
  position: absolute; inset-block-start: .8rem; inset-inline-start: .8rem;
  background: rgba(255,255,255,.94); color: var(--teal-deep); font-size: .72rem; font-weight: 800;
  padding: .25rem .7rem; border-radius: 999px; letter-spacing: .02em;
}
.pcard__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.pcard__body h3 { margin: 0; font-size: 1.1rem; }
.pcard__body p { margin: 0; font-size: .92rem; color: var(--text-muted); line-height: 1.7; }
.pcard__foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.pcard__size { font-size: .78rem; color: var(--text-muted); letter-spacing: .04em; direction: ltr; unicode-bidi: isolate; }

/* ---------- 11. Split / media ---------- */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3.6rem); grid-template-columns: 1fr 1fr; align-items: center; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-2); aspect-ratio: 489 / 362; object-fit: cover;
}
.split__media--frame { padding: .75rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.split__media--frame img { box-shadow: none; border-radius: var(--r-sm); }
.split__badge {
  position: absolute; inset-block-end: -18px; inset-inline-start: -14px;
  background: var(--teal); color: #fff; border-radius: var(--r-md);
  padding: .85rem 1.2rem; box-shadow: var(--shadow-2); display: grid; line-height: 1.25;
}
.split__badge b { font-family: var(--ff-display); font-size: 1.35rem; }
.split__badge small { font-size: .74rem; opacity: .85; }

/* ---------- 12. Figure / gallery ---------- */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--r-md); background: var(--pearl-2); }
.figure figcaption { font-size: .84rem; color: var(--text-muted); margin-top: .65rem; text-align: center; }

/* ---------- 13. Stats bar ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.stats > div { background: #fff; padding: clamp(1.1rem, 2.4vw, 1.8rem); text-align: center; }
.stats b { display: block; font-family: var(--ff-display); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem); color: var(--teal); line-height: 1.2; }
.stats span { font-size: .85rem; color: var(--text-muted); }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative; background: var(--teal-deep); color: #fff; overflow: hidden;
  border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.6rem);
}
.cta-band::before {
  content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -10%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,189,139,.28), transparent 68%);
}
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: .45rem; }
.cta-band p { color: rgba(255,255,255,.82); margin-bottom: 0; max-width: 56ch; }

/* ---------- 15. Accordion (FAQ) ---------- */
.acc { display: grid; gap: .75rem; }
.acc__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.acc__item[open] { border-color: rgba(15,107,112,.35); box-shadow: var(--shadow-1); }
.acc__item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.35rem;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  display: flex; align-items: center; gap: .85rem; justify-content: space-between;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after {
  content: ""; flex-shrink: 0; width: .6rem; height: .6rem;
  border-inline-end: 2.2px solid var(--teal); border-bottom: 2.2px solid var(--teal);
  transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -.25rem;
}
.acc__item[open] summary::after { transform: rotate(225deg); margin-top: .25rem; }
.acc__body { padding: 0 1.35rem 1.3rem; color: var(--text-muted); }
.acc__body > *:last-child { margin-bottom: 0; }
.acc__body ul, .acc__body ol { margin-bottom: .9rem; }

/* ---------- 16. Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 2.4rem); box-shadow: var(--shadow-1);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.field .req { color: #b3261e; margin-inline-start: .15rem; }
.field .hint { display: block; font-size: .78rem; color: var(--text-muted); margin-top: .3rem; font-weight: 400; }
.input, .select, .textarea {
  width: 100%; font-family: var(--ff-body); font-size: .97rem; color: var(--text);
  background: var(--pearl); border: 1.5px solid transparent; border-radius: var(--r-sm);
  padding: .78rem 1rem; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.75; }
.input:hover, .select:hover, .textarea:hover { background: var(--pearl-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,107,112,.1);
}
.input::placeholder, .textarea::placeholder { color: #93a4ab; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #b3261e; background: #fdf6f5; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .86rem; color: var(--text-muted); }
.check input { margin-top: .35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--teal); flex-shrink: 0; }
.form-help { font-size: .8rem; color: var(--text-muted); margin-top: .85rem; margin-bottom: 0; }

.alert {
  border-radius: var(--r-sm); padding: .95rem 1.15rem; font-size: .92rem;
  margin-bottom: 1.4rem; border: 1px solid transparent; display: flex; gap: .6rem; align-items: flex-start;
}
.alert--ok { background: #eef7f2; border-color: #b6ddc8; color: #14563a; }
.alert--err { background: #fdf3f2; border-color: #f0c3be; color: #8c241c; }
.alert--info { background: var(--teal-soft); border-color: #bcdad8; color: var(--teal-deep); }

/* contact info tiles */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .95rem; align-items: flex-start; margin: 0; }
.info-list__icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal);
}
.info-list__icon svg { width: 21px; height: 21px; }
.info-list b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-bottom: .1rem; }
.info-list span { color: var(--ink); font-weight: 600; line-height: 1.6; }

/* ---------- 17. Prose (detail pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.7rem; }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { color: var(--text); }
.prose blockquote {
  margin: 1.6rem 0; padding: .2rem 1.3rem; border-inline-start: 3px solid var(--gold);
  color: var(--text-muted); font-size: 1.02rem; background: var(--pearl);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding-block: .9rem;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .93rem; }
.prose th, .prose td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: start; }
.prose th { background: var(--pearl); font-weight: 700; color: var(--ink); width: 38%; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec-table th { font-weight: 700; color: var(--ink); width: 40%; background: var(--pearl); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td { color: var(--text-muted); }

/* detail layout */
.detail { display: grid; gap: clamp(1.8rem, 4vw, 3.4rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
.detail__media { position: sticky; top: 100px; }
.detail__media img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--pearl-2); }
.detail__meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.chip {
  font-size: .78rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-deep);
}
.chip--gold { background: #f7efdf; color: #7a5a25; }

/* sidebar */
.side-card { background: var(--pearl); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.side-card h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.side-card p { font-size: .92rem; color: var(--text-muted); }

/* process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li {
  position: relative; padding-inline-start: 3.2rem; margin: 0; counter-increment: step;
  min-height: 2.4rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; inset-inline-start: 0; top: 0;
  width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--teal); color: var(--teal);
  font-family: var(--ff-display); font-weight: 800; font-size: .82rem;
}
.section--ink .steps li::before { background: transparent; border-color: var(--gold-soft); color: var(--gold-soft); }
.steps b { display: block; color: var(--ink); font-weight: 700; margin-bottom: .1rem; }
.section--ink .steps b { color: #fff; }
.steps p { margin: 0; font-size: .92rem; color: var(--text-muted); }
.section--ink .steps p { color: rgba(234,241,242,.72); }

/* flow chain (production process) */
.chain { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.4rem 0; list-style: none; }
.chain li {
  margin: 0; font-size: .85rem; font-weight: 600; padding: .45rem .9rem; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line); color: var(--ink-3); position: relative;
}
.chain li:not(:last-child)::after { content: "←"; position: absolute; inset-inline-end: -.62rem; color: var(--gold); font-weight: 800; }

/* ---------- 18. Related / next ---------- */
.rel-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rel-card {
  display: flex; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: .7rem; transition: .25s var(--ease);
}
.rel-card:hover { border-color: rgba(15,107,112,.34); box-shadow: var(--shadow-1); }
.rel-card img { width: 74px; height: 60px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; }
.rel-card b { display: block; font-family: var(--ff-display); font-size: .98rem; color: var(--ink); }
.rel-card small { color: var(--text-muted); font-size: .78rem; }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(234,241,242,.72); padding-block: clamp(2.6rem, 5vw, 4.2rem) 1.4rem; font-size: .93rem; }
.site-footer h3 {
  color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1.05rem; font-family: var(--ff-body); font-weight: 800;
}
.site-footer a { color: rgba(234,241,242,.72); }
.site-footer a:hover { color: var(--gold-soft); }
.footer__top { display: grid; gap: clamp(1.8rem, 4vw, 3rem); grid-template-columns: 1.6fr 1fr 1fr 1.1fr; }
.footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer__brand img { width: 44px; height: 44px; border-radius: 10px; }
.footer__brand b { color: #fff; font-family: var(--ff-display); font-size: 1.06rem; display: block; line-height: 1.25; }
.footer__brand small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__list li { margin: 0; }
.footer__note { border-top: 1px solid var(--line-invert); margin-top: 2.4rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .82rem; opacity: .78; }
.footer__note p { margin: 0; }

/* ---------- 20. Floating wa / scroll top ---------- */
.to-top {
  position: fixed; inset-block-end: 1.4rem; inset-inline-start: 1.4rem; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-1); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: .3s var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--teal); border-color: var(--teal); }

/* ---------- 21. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1040px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail__media { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset-block-start: 76px; inset-inline: 0; z-index: 89;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 1.6rem;
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s var(--ease), visibility .25s;
    max-height: calc(100dvh - 76px); overflow-y: auto;
    box-shadow: 0 24px 40px -30px rgba(13,27,33,.5);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__link { padding: .85rem .6rem; border-radius: var(--r-sm); font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { background: var(--teal-soft); }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .hero__inner { padding-block: 4rem; }
  .split__badge { inset-inline-start: auto; inset-inline-end: 12px; inset-block-end: -16px; }
}
@media (max-width: 620px) {
  body { line-height: 1.8; }
  .brand__sub { display: none; }
  .site-header__inner { min-height: 68px; gap: .6rem; }
  .nav { inset-block-start: 68px; }
  .hero__stats { gap: 1.2rem 1.8rem; }
  .footer__top { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .link-arrow { width: auto; }
  .pcard__media { aspect-ratio: 16 / 11; }
  .prose th { width: auto; }
  .spec-table th { width: 45%; font-size: .88rem; }
  .spec-table td { font-size: .88rem; }
}

/* print */
@media print {
  .site-header, .site-footer, .to-top, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ---------- 23. Form status (static/AJAX submit) ---------- */
.form-status:empty { display: none; }
.form-status { margin-bottom: 1.1rem; }
.form-status .alert { margin-bottom: 0; }
.btn[disabled] { opacity: .68; cursor: progress; transform: none; }
