/* Proda — Hangzhou Proda Garments Co., Ltd
   Brand colours taken from the logo: navy #02115E, red #A40504 */
:root {
  --navy: #02115e;
  --navy-700: #0b1f7a;
  --navy-900: #010a3a;
  --red: #a40504;
  --red-600: #8a0403;
  --ink: #111633;
  --muted: #4a5070;
  --line: #e2e4ee;
  --bg: #ffffff;
  --bg-soft: #f4f5fa;
  --radius: 14px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --shadow: 0 10px 30px rgba(2, 17, 94, 0.08);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-ar: "Amiri", "Noto Naskh Arabic", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; color: var(--navy); }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.section--navy .eyebrow { color: #ffb3b2; }
.section--navy .eyebrow::before { background: #ffb3b2; }

.section-head { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }
.section--navy .section-head p { color: #c9cdea; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-600); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #fff; color: var(--red); }
.btn--outline-light { border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }

/* Header: the links on the left, the logo in the centre, language and the quote button on the right */
.header { position: sticky; top: 0; z-index: 50; background: #f7f7f4; border-bottom: 1px solid #dfe1e8; font-family: "Figtree", var(--font-body); }
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 72px; }
.header__logo { justify-self: center; }
.header__logo img { height: 40px; width: auto; }
.header__actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { white-space: nowrap; font-weight: 500; font-size: 15px; color: var(--navy); text-decoration: none; padding: 6px 0; position: relative; }
.nav a:not(.hbtn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .2s; }
.nav a:not(.hbtn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav__extra { display: none; }
.hbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  background: var(--red); color: #fff; border-radius: 2px; font: 500 16px/1 "Figtree", var(--font-body);
  text-decoration: none; white-space: nowrap; transition: background .2s, transform .15s;
}
.hbtn:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); }
.hbtn:active { transform: translateY(0); }
.nav a.hbtn, .nav a.hbtn:hover { color: #fff; padding: 0 26px; }
.nav-toggle { display: none; justify-self: end; width: 44px; height: 44px; border: 1px solid #dfe1e8; background: #fff; border-radius: 4px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 1080px) {
  .header__bar { grid-template-columns: 1fr auto; min-height: 64px; }
  .header__logo { justify-self: start; grid-row: 1; grid-column: 1; }
  .header__logo img { height: 32px; }
  .header__actions { display: none; }
  .nav-toggle { display: inline-flex; grid-row: 1; grid-column: 2; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #f7f7f4; border-bottom: 1px solid #dfe1e8; padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid #dfe1e8; }
  .nav a::after { display: none; }
  .nav__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__ar { font-family: var(--font-ar); font-size: 30px; color: var(--red); line-height: 1; align-self: flex-start; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 8px 0 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points svg { color: var(--red); flex: none; }
.hero__media { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.hero__media figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); box-shadow: var(--shadow); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .tall { grid-row: span 2; aspect-ratio: 3 / 4.6; border-radius: 200px 200px var(--radius) var(--radius); }
.hero__media .small { aspect-ratio: 3 / 3.4; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; }
}

/* Trust strip */
.strip { background: var(--navy); color: #fff; }
.strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px 32px; padding-block: 28px; }
.strip__item { display: flex; gap: 14px; align-items: center; }
.strip__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.strip__item strong { display: block; font-family: var(--font-head); font-size: 15px; }
.strip__item span { font-size: 13px; color: #c9cdea; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.collection {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4;
  text-decoration: none; color: #fff; background: var(--navy);
}
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.collection:hover img { transform: scale(1.05); }
.collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,10,58,0) 45%, rgba(1,10,58,.88) 100%); }
.collection__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.collection__body h3 { color: #fff; font-size: 22px; }
.collection__body span { font-size: 14px; color: #dfe2f5; }
.collection:hover { color: #fff; }

/* Brand feature */
.brand-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.brand-feature__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.brand-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.brand-feature__copy { display: flex; flex-direction: column; gap: 22px; }
.brand-feature__logo { width: 240px; background: #fff; border-radius: var(--radius); padding: 18px 22px; }
.brand-feature__copy h2 { font-size: clamp(30px, 4vw, 46px); }
.brand-feature__copy p { color: #c9cdea; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
@media (max-width: 860px) { .brand-feature { grid-template-columns: 1fr; } }

/* Product grid */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; gap: 12px; }
.product__img {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-soft);
  border: 0; padding: 0; cursor: zoom-in; width: 100%;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product__img:hover img { transform: scale(1.04); }
.product__tag { position: absolute; top: 12px; inset-inline-start: 12px; background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 5px 10px; border-radius: 999px; }
.product h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.product__meta { font-size: 14px; color: var(--muted); }
.product__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product__inquire { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--red); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.product__inquire:hover { color: var(--navy); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 14px; cursor: pointer;
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter .count { opacity: .65; margin-left: 4px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--red); line-height: 1; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; }

/* Split / OEM */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split__media img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.split__media img:nth-child(2) { margin-top: 48px; }
.split__copy { display: flex; flex-direction: column; gap: 22px; }
.split__copy h2 { font-size: clamp(30px, 4vw, 46px); }
.split__copy > p { color: var(--muted); font-size: 17px; }
.ticks { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 3px; color: var(--red); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Runway banner */
.banner { position: relative; min-height: 420px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,10,58,.92) 0%, rgba(1,10,58,.55) 60%, rgba(1,10,58,.2) 100%); z-index: 1; }
.banner .container { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.banner h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); max-width: 640px; }
.banner p { max-width: 520px; color: #dfe2f5; font-size: 17px; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__info h2 { font-size: clamp(30px, 4vw, 46px); }
.contact__info > p { color: #c9cdea; font-size: 17px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.contact__list strong { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #ffb3b2; }
.contact__list a, .contact__list span { color: #fff; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--shadow); }
.form h3 { grid-column: 1 / -1; font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 12px 14px; border: 1px solid #c4c8da; border-radius: 10px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(2,17,94,.15); }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { grid-column: 1 / -1; font-size: 15px; font-weight: 500; color: var(--navy); }
.form__status:empty { display: none; }
.form__status[data-kind="ok"] { color: #1d6b3a; }
.form__status[data-kind="error"] { color: var(--red); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .form { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero .container { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); }
.page-hero p { color: #c9cdea; max-width: 640px; font-size: 17px; }
.crumbs { font-size: 14px; color: #c9cdea; }
.crumbs a { color: #fff; }
.pattern { position: absolute; inset: 0; opacity: .08; color: #fff; pointer-events: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(1,10,58,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-family: var(--font-head); }
.lightbox figure { margin: 0; }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 26px; cursor: pointer; line-height: 1; }

/* Footer */
.footer { background: var(--navy-900); color: #c9cdea; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-block: 64px 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand .logo-card { background: #fff; border-radius: 12px; padding: 14px 18px; width: fit-content; }
.footer__brand .logo-card img { height: 44px; width: auto; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #c9cdea; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Language switcher ---------- */
.lang { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid #dfe1e8; border-radius: 4px; background: #fff; }
.lang button {
  min-height: 44px; min-width: 52px; padding: 0 12px; border: 0; border-radius: 2px; background: transparent;
  color: var(--navy); font: 500 14px/1 "Figtree", var(--font-body); cursor: pointer;
}
.lang button:hover { background: #eef0f6; }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang button[lang="ar"] { font-family: "Cairo", sans-serif; }
.lang button[lang="zh"] { font-family: "Noto Sans SC", sans-serif; }
bdi { unicode-bidi: isolate; }

/* ---------- Arabic (right-to-left) ---------- */
html[lang="ar"] {
  --font-head: "Cairo", "Poppins", sans-serif;
  --font-body: "Cairo", "Inter", sans-serif;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; letter-spacing: 0; }
html[lang="ar"] .eyebrow, html[lang="ar"] .contact__list strong { letter-spacing: 0; text-transform: none; font-size: 14px; }
html[lang="ar"] .hero__ar { display: none; }
html[dir="rtl"] .banner::before { background: linear-gradient(270deg, rgba(1,10,58,.92) 0%, rgba(1,10,58,.55) 60%, rgba(1,10,58,.2) 100%); }
html[dir="rtl"] .nav a:not(.btn)::after { left: 100%; right: 0; }
html[dir="rtl"] .nav a:not(.btn):hover::after, html[dir="rtl"] .nav a[aria-current="page"]::after { left: 0; }

/* ---------- Chinese ---------- */
html[lang="zh-CN"] {
  --font-head: "Poppins", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "Noto Sans SC", sans-serif;
}
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { line-height: 1.25; letter-spacing: 0; }
html[lang="zh-CN"] .eyebrow { letter-spacing: .08em; }
