/* ==========================================================================
   MAILI — موقع مايلي للإنفرتر
   ورقة الأنماط الرئيسية (RTL)
   ========================================================================== */

:root {
  --navy-950: #06101f;
  --navy-900: #0a1a2f;
  --navy-800: #0e2340;
  --navy-700: #143152;
  --navy-600: #1b4269;
  --ink: #101b2b;
  --ink-soft: #44546a;
  --muted: #6b7c93;
  --line: #e3e9f1;
  --line-soft: #eef2f7;
  --paper: #ffffff;
  --sand: #f6f8fb;
  --sand-2: #eef3f8;
  --accent: #d98324;
  --accent-strong: #c06f14;
  --accent-soft: #fdf3e6;
  --blue: #1d6fb8;
  --green: #1f7a5a;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(10, 26, 47, .06), 0 2px 8px rgba(10, 26, 47, .05);
  --shadow: 0 4px 12px rgba(10, 26, 47, .07), 0 12px 32px rgba(10, 26, 47, .07);
  --shadow-l: 0 18px 50px rgba(10, 26, 47, .16);

  --container: 1220px;
  --header-h: 84px;

  --font: "Tajawal", "Cairo", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
}

/* ------------------------------- Reset ---------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-strong); }
ul, ol { margin: 0; padding-inline-start: 1.2em; }
h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy-900);
}
h1 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1.05em; }
strong { font-weight: 800; color: var(--navy-800); }
small { font-size: .84rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* ------------------------------- Layout --------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.section { padding-block: clamp(52px, 6vw, 92px); }
.section--sand { background: var(--sand); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--navy-900); color: #c8d6e6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #a9bdd2; }

.grid { display: grid; gap: 26px; }
.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)); }

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
}
.skip-link:focus { inset-inline-start: 20px; color: #fff; }

/* ---------------------------- Section head ------------------------------ */
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid #f3ddc2;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.section--dark .eyebrow {
  background: rgba(217, 131, 36, .14);
  border-color: rgba(217, 131, 36, .35);
  color: #f0b877;
}

.lead { font-size: 1.06rem; color: var(--ink-soft); }
.section--dark .lead { color: #a9bdd2; }

/* ------------------------------- Buttons -------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: 100px;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  box-shadow: 0 6px 18px rgba(217, 131, 36, .26);
  text-align: center;
}
.btn:hover {
  color: var(--btn-fg);
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(217, 131, 36, .32);
}
.btn:active { transform: translateY(0); }

.btn svg { flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  box-shadow: none;
  border-color: #ccd7e4;
}
.btn--ghost:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.btn--light:hover { background: #f2f6fb; border-color: #f2f6fb; color: var(--navy-900); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .5);
  box-shadow: none;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(10, 26, 47, .09); }

.topbar {
  background: var(--navy-950);
  color: #93a8bf;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-block: 4px;
}
.topbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list svg { color: var(--accent); flex: none; }
.topbar a { color: #b9c9db; }
.topbar a:hover { color: #fff; }
.topbar__tag {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid rgba(217, 131, 36, .5);
  border-radius: 100px;
  color: #f0b877;
  font-weight: 700;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-h);
  padding-block: 12px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo img {
  width: 168px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  border-radius: 4px;
}
.logo__text { display: none; }

.nav { margin-inline-start: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  position: relative;
  padding: 10px 15px;
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy-800);
  border-radius: 100px;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 15px;
  bottom: 5px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--navy-950); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--accent-strong); }

.header__cta { display: inline-flex; flex: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--navy-900);
}
.nav-toggle svg { display: block; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* -------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #dbe6f2;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .55;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(6, 16, 31, .96) 0%, rgba(6, 16, 31, .82) 46%, rgba(6, 16, 31, .45) 100%),
    linear-gradient(0deg, rgba(6, 16, 31, .9), rgba(6, 16, 31, .1));
}
.hero__inner {
  position: relative;
  padding-block: clamp(64px, 9vw, 132px);
  max-width: 720px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: #f0b877; }
.hero p { color: #b7c8db; font-size: 1.07rem; max-width: 620px; }
.hero .eyebrow {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #f0c795;
}
.hero .eyebrow::before { background: #f0b877; }
.hero .btn-row { margin-top: 30px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(38px, 5vw, 62px);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__stat {
  background: rgba(10, 26, 47, .72);
  padding: 20px 18px;
  text-align: center;
}
.hero__stat b {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero__stat span { font-size: .84rem; color: #9db2c9; }

/* ------------------------------ Page hero ------------------------------- */
.page-hero {
  position: relative;
  background: var(--navy-900);
  color: #cddaea;
  padding-block: clamp(38px, 5vw, 66px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 340px at 88% -10%, rgba(217, 131, 36, .26), transparent 65%),
    radial-gradient(700px 300px at 5% 110%, rgba(29, 111, 184, .32), transparent 70%);
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #b1c3d7; max-width: 720px; margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: .85rem;
  color: #93a8bf;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #56748f;
  opacity: .8;
}
.breadcrumb a { color: #b9c9db; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #f0b877; }

/* -------------------------------- Cards --------------------------------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-s);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card--hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #d6e0ec;
}
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-color: #d3dfec;
}
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f4f7fb, #e7eef6);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tag {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  background: rgba(6, 16, 31, .86);
  color: #f5d3a4;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}
.product-card__body h3 { font-size: 1.13rem; margin-bottom: .45em; }
.product-card__body p {
  font-size: .93rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  padding: 0;
  list-style: none;
}
.product-card__specs li {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--sand-2);
  border-radius: 6px;
  padding: 4px 10px;
}
.product-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .93rem;
  color: var(--accent-strong);
}
.product-card__link svg { transition: transform .22s ease; }
.product-card__link:hover svg { transform: translateX(-4px); }

/* ------------------------------ Certificates ---------------------------- */
.cert-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.cert-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--sand-2);
}
.cert-card__body { padding: 18px 20px; }
.cert-card__body h3 { font-size: 1rem; margin-bottom: .25em; }
.cert-card__body p { font-size: .84rem; color: var(--muted); margin: 0; }

/* -------------------------------- Split --------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand-2);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--badge::after {
  content: "ISO 9001";
  position: absolute;
  inset-block-end: 16px;
  inset-inline-end: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 100px;
}

.check-list { list-style: none; margin: 0 0 26px; padding: 0; }
.check-list li {
  position: relative;
  padding-inline-start: 34px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c06f14' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.section--dark .check-list li { color: #b1c3d7; }
.section--dark .check-list li::before {
  background-color: rgba(217, 131, 36, .2);
}

/* -------------------------------- CTA band ------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(115deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #cddaea;
  border-radius: var(--radius-l);
  padding: clamp(34px, 5vw, 62px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-l);
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -120px;
  inset-block-start: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 131, 36, .32), transparent 68%);
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #a9bdd2; margin-bottom: 0; max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.cta-section { padding-block: clamp(46px, 6vw, 80px); }

/* -------------------------------- Footer -------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: #93a8bf;
  padding-top: clamp(46px, 5vw, 68px);
  font-size: .93rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.1em;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h3::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 38px;
  padding-bottom: 46px;
}
.footer__brand img {
  width: 176px;
  max-height: 56px;
  object-fit: contain;
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 18px;
}
.footer__brand p { color: #8fa4bb; font-size: .9rem; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { color: #a8bccf; }
.footer__list a:hover { color: #fff; }
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.footer__badges li {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: #f0c795;
  border: 1px solid rgba(217, 131, 36, .38);
  border-radius: 100px;
  padding: 4px 11px;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .84rem;
  color: #7d93ab;
}
.footer__bottom p { margin: 0; }
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom-links a { color: #93a8bf; }

/* ------------------------------- Forms ---------------------------------- */
.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.field label .req { color: #c0392b; margin-inline-start: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 15px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
  text-align: start;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344546a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px;
  padding-inline-end: 42px;
  padding-inline-start: 15px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 131, 36, .13);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa9bb; }
.field .hint { display: block; font-size: .78rem; color: var(--muted); margin-top: 6px; }

.hp-field {
  position: absolute !important;
  inset-inline-start: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.form-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }

.alert {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 22px;
  border: 1px solid;
}
.alert--error { background: #fdecea; border-color: #f5c6c0; color: #9b2c1f; }
.alert--ok { background: #e9f7f0; border-color: #bfe6d3; color: #165c40; }

/* -------------------------------- Info list ----------------------------- */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.info-list b { display: block; font-size: .82rem; color: var(--muted); font-weight: 700; }
.info-list span { color: var(--navy-800); font-weight: 700; font-size: .95rem; }

/* ------------------------------- Accordion ------------------------------ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: #ecd6b8; box-shadow: var(--shadow); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--sand); }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c06f14' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item__body { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* --------------------------- Product detail ----------------------------- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.product-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.product-gallery__main {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(160deg, #f6f9fc, #e8eff7);
  box-shadow: var(--shadow);
}
.product-gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-gallery__note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.product-meta li {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--navy-700);
  background: var(--sand-2);
  border-radius: 100px;
  padding: 5px 13px;
}
.product-intro { color: var(--ink-soft); font-size: 1.02rem; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
}
.spec-table caption {
  caption-side: top;
  text-align: start;
  font-weight: 800;
  color: var(--navy-900);
  padding: 0 0 12px;
  font-size: 1.05rem;
}
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: start;
  vertical-align: top;
}
.spec-table thead th {
  background: var(--navy-900);
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .02em;
  border-bottom: 0;
}
.spec-table tbody th {
  font-weight: 700;
  color: var(--navy-800);
  background: var(--sand);
  width: 42%;
  white-space: nowrap;
}
.spec-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.tag-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; padding: 0; list-style: none; }
.tag-group li {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--sand-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 14px;
}

.detail-block { margin-bottom: 34px; }
.detail-block > h2,
.detail-block > h3 { margin-bottom: .7em; }
.detail-block > h3 {
  font-size: 1.18rem;
  padding-inline-start: 14px;
  border-inline-start: 4px solid var(--accent);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.spec-grid li {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.spec-grid b { display: block; font-size: .76rem; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.spec-grid span { font-weight: 800; color: var(--navy-800); font-size: .95rem; }

/* ------------------------------ Questions ------------------------------- */
.qna-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  padding: 0;
  list-style: none;
}
.qna-nav a {
  display: inline-block;
  font-size: .86rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-700);
}
.qna-nav a:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); }

.article { max-width: 860px; }
.article h2 { margin-top: 1.6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.article h2:first-child { margin-top: 0; }
.article p { color: var(--ink-soft); }
.article .qa-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-s);
  margin-bottom: 22px;
}
.article .qa-block h2 { font-size: 1.3rem; margin-top: 0; }

/* ------------------------------- Utilities ------------------------------ */
.prose p { color: var(--ink-soft); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------ Timeline -------------------------------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(217, 131, 36, .1));
}
.timeline li {
  position: relative;
  padding-inline-start: 52px;
  padding-bottom: 30px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: 7px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline b { display: block; color: var(--navy-900); font-size: 1.02rem; }
.timeline span { color: var(--muted); font-size: .92rem; }

/* ----------------------------- Back to top ------------------------------ */
.to-top {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

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

/* ============================== Responsive =============================== */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-l);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
    padding: 10px 22px 26px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link {
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { background: var(--accent-soft); }
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__inner { justify-content: center; }
  .topbar__right { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .btn { padding: 13px 24px; font-size: .95rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .spec-table tbody th { white-space: normal; width: 40%; }
  .logo img { width: 140px; }
  .to-top { inset-block-end: 18px; inset-inline-start: 18px; width: 42px; height: 42px; }
  .timeline li { padding-inline-start: 44px; }
}

@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stat { padding: 16px 10px; }
  .topbar { font-size: .74rem; }
}

/* ------------------------------- Print ---------------------------------- */
@media print {
  .site-header, .site-footer, .to-top, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .section { padding-block: 12px; }
}
