/* MAX catalogue — single stylesheet. Tokens first; everything else uses them. */

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/vazirmatn-arabic-wght-normal.woff2) format("woff2-variations"),
       url(../fonts/vazirmatn-arabic-wght-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/vazirmatn-latin-wght-normal.woff2) format("woff2-variations"),
       url(../fonts/vazirmatn-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/vazirmatn-latin-ext-wght-normal.woff2) format("woff2-variations"),
       url(../fonts/vazirmatn-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* Brand palette sampled from the MAX logo and packaging labels:
   logo face red, deep crimson, maroon shadow, label orange, label badge blue,
   and the rose/teal of the carpet-protector label. */
:root {
  color-scheme: light;
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --ink: #252321;
  --ink-2: #5E5852;
  --ink-3: #7A736C;
  --rule: #DEDAD4;
  --rule-strong: #C9C3BB;

  --red: #A91C20;          /* primary action */
  --red-bright: #E2231A;   /* logo face highlight */
  --red-mid: #B5121B;      /* logo face */
  --crimson: #8A0F12;      /* logo depth */
  --maroon: #3E0B0D;       /* logo shadow */
  --orange: #D9512F;       /* packaging label */
  --blue: #0C6CB4;         /* MAX badge blue on labels */
  --blue-deep: #0A4A85;
  --rose: #F1D3D6;         /* carpet label pink */
  --teal: #CFE7E6;         /* carpet label teal */
  --red-wash: #F8E8E5;
  --blue-wash: #E6F0F8;
  --charcoal: #1F1B1A;

  --font: "Vazirmatn", "Vazir", Tahoma, sans-serif;
  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 64px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -28px rgba(62, 11, 13, .45);
}
@media (min-width: 761px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.9;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.entry-spec > span:not(.sep), .key-spec > span:not(.sep) { display: inline-block; }
.sep { display: inline-block; width: 1px; height: .95em; background: currentColor; opacity: .35; margin-inline: .6em; vertical-align: -.12em; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 10px; }

.phone { direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.phone:hover { color: var(--red); }

.eyebrow { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .01em; }
.eyebrow--light { color: rgba(255, 255, 255, .82); }

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

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 18px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.4; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--red-mid), var(--red)); color: #fff; box-shadow: 0 8px 18px -12px rgba(169, 28, 32, .9); }
.btn-primary:hover { background: linear-gradient(180deg, var(--red), var(--crimson)); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--red-wash); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-lg { min-height: 52px; padding: 10px 24px; font-size: 16px; }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--maroon); color: rgba(255, 255, 255, .86); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-contact { display: flex; align-items: center; gap: 14px; }
.phone--light { color: #fff; }
.phone--light:hover { color: #FFC9BD; }
.topbar-tg { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #9CCBF0; }
.topbar-tg:hover { color: #fff; }
.topbar-tg svg { width: 15px; height: 15px; }
@media (max-width: 760px) {
  .topbar-note, .topbar-tg span { display: none; }
  .topbar-inner { justify-content: center; }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF; border-bottom: 1px solid var(--rule);
  transition: box-shadow .25s var(--ease);
}
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--maroon), var(--red-bright) 50%, var(--orange)); opacity: 0; transition: opacity .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 24px -20px rgba(62, 11, 13, .6); }
.site-header.is-scrolled::after { opacity: 1; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }
@media (min-width: 761px) { .brand img { height: 52px; } }

.site-nav { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nav-link, .nav-products-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  background: none; border: 0; cursor: pointer; text-decoration: none; font-size: 15px; font-weight: 700;
}
.nav-link:hover, .nav-products-toggle:hover, .nav-products-toggle[aria-expanded="true"] { color: var(--red); }
.nav-products { position: relative; }
.nav-products-label { display: none; }
.nav-products-toggle svg { transition: transform .2s var(--ease); }
.nav-products-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { margin-inline-start: 8px; }

.products-menu {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 0; min-width: 330px; padding: 8px 0;
  background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--red); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.js .products-menu { display: none; }
.js .nav-products.is-open .products-menu { display: block; animation: drop .18s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.products-menu a { display: flex; align-items: baseline; gap: 12px; padding: 9px 18px; text-decoration: none; font-size: 15px; line-height: 1.6; }
.products-menu a:hover { background: var(--red-wash); color: var(--red); }
.products-menu a[aria-current="page"] { color: var(--red); font-weight: 800; }
.menu-num { font-size: 12px; color: var(--ink-3); min-width: 1.6em; font-weight: 700; }
.menu-all { border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 6px; }
.menu-all a { font-weight: 800; color: var(--blue); }
.tag-soon { font-size: 11px; font-weight: 800; color: var(--blue); border: 1px solid currentColor; border-radius: 99px; padding: 0 8px; line-height: 1.7; }

.menu-toggle {
  display: none; margin-inline-start: auto; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer; font-weight: 700; font-size: 15px;
}
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] { border-color: var(--red); color: var(--red); }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline; }

@media (max-width: 860px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--surface); border-bottom: 3px solid var(--red);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; box-shadow: var(--shadow);
  }
  .js .site-nav.is-open { display: flex; animation: drop .2s var(--ease); }
  .site-nav { flex-wrap: wrap; }
  .nav-products-toggle { display: none; }
  .nav-products-label { display: block; font-size: 13px; color: var(--red); font-weight: 800; padding: 10px 0 2px; }
  .js .products-menu, .products-menu { display: block; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; animation: none !important; }
  .products-menu a { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .products-menu a:hover { background: none; }
  .menu-all { border-top: 0; margin: 0; padding: 0; }
  .nav-link { padding: 12px 0; min-height: 48px; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .nav-cta { margin: 16px 0 0; min-height: 50px; }
}

/* ---------------------------------------------------------------- brand arcs */
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.arc { stroke-dasharray: 2400; stroke-dashoffset: 0; }
.js .hero .arc { animation: draw 1.8s var(--ease) both; }
.js .hero .arc-2 { animation-delay: .15s; }
.js .hero .arc-3 { animation-delay: .3s; }
@keyframes draw { from { stroke-dashoffset: 2400; } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(120% 140% at 85% 0%, var(--red-bright) 0%, var(--red-mid) 30%, var(--crimson) 62%, var(--maroon) 100%);
}
.hero-glow { position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(217, 81, 47, .45), transparent 65%); z-index: -1; }
.hero .arcs { z-index: -1; opacity: .9; }
.hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 56px; align-items: center; padding-block: 56px 84px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); margin-top: 10px; line-height: 1.3; text-shadow: 0 2px 24px rgba(62, 11, 13, .35); }
.lede { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 33em; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 2px 14px; border-radius: 99px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  text-decoration: none; font-size: 14px; font-weight: 600; transition: background-color .2s, border-color .2s;
}
.hero-chips a:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }

.hero-figure { margin: 0; justify-self: end; width: 100%; max-width: 400px; position: relative; }
.hero-media {
  display: block; background: #fff; padding: 10px; border-radius: 10px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .25);
  transition: transform .4s var(--ease);
}
.hero-media:hover { transform: translateY(-4px); }
.hero-media img { width: 100%; max-height: 470px; object-fit: contain; border-radius: 4px; }
.hero-figure figcaption { margin-top: 14px; font-size: 15px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.badge-new { font-size: 12px; font-weight: 800; background: #fff; color: var(--red); border-radius: 99px; padding: 1px 10px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 64px; }
  .hero-chips { display: none; }
  .hero-figure { justify-self: stretch; max-width: none; }
  .hero-media { display: grid; place-items: center; }
  .hero-media img { max-height: 230px; width: auto; }
  .lede { font-size: 16px; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 15px; white-space: nowrap; }
  .hero-inner { gap: 24px; }
}

/* ---------------------------------------------------------------- facts strip */
.facts-strip { position: relative; z-index: 2; margin-top: -40px; }
.facts-strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-strip-inner li {
  display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; background: var(--surface);
  border-block-start: 3px solid var(--red); box-shadow: var(--shadow);
}
.facts-strip-inner li:nth-child(2) { border-color: var(--blue); }
.facts-strip-inner li:nth-child(3) { border-color: var(--orange); }
.facts-strip-inner li:nth-child(4) { border-color: var(--crimson); }
.facts-strip-inner li + li { border-inline-start: 1px solid var(--rule); }
.facts-strip-inner b { font-size: 24px; font-weight: 900; color: var(--ink); line-height: 1.5; }
.facts-strip-inner span { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 760px) {
  .facts-strip { margin-top: -32px; }
  .facts-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip-inner li { padding: 12px 14px; }
  .facts-strip-inner li:nth-child(3) { border-inline-start: 0; }
  .facts-strip-inner b { font-size: 19px; }
  .facts-strip-inner span { font-size: 13px; }
}

/* ---------------------------------------------------------------- section heads */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 36px; position: relative;
}
.section-head::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -2px; width: 88px; height: 2px; background: var(--red); }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 2px; }
.section-head > p { font-size: 14px; color: var(--ink-2); }
.section-head--plain { border-bottom: 0; padding-bottom: 0; }
.section-head--plain::after { display: none; }

/* ---------------------------------------------------------------- catalogue */
.catalog { padding-block: 64px 80px; }
.catalog-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 28px; }
.entry { position: relative; display: flex; flex-direction: column; min-width: 0; }
.entry-media {
  position: relative; display: grid; place-items: center; background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px; aspect-ratio: 4 / 5; overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.entry-media::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--tone-strong, var(--red)); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.entry-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.entry:hover .entry-media { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.entry:hover .entry-media::before { transform: scaleX(1); }
.entry:hover .entry-media img { transform: scale(1.03); }
.entry-body { padding-top: 16px; }
.entry-num { display: flex; align-items: center; gap: 10px; line-height: 1.6; }
.num-chip { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--tone-wash, var(--red-wash)); color: var(--tone-strong, var(--red)); font-size: 13px; font-weight: 800; }
.entry-name { font-size: 22px; margin-top: 8px; }
.entry-name a { text-decoration: none; }
.entry-name a::after { content: ""; position: absolute; inset: 0; }   /* whole entry clickable */
.entry-name a:hover, .entry:hover .entry-name a { color: var(--red); }
.entry-spec { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.8; }
.entry-summary { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.95; max-width: 36em; }
.entry-teaser { font-size: 17px; color: var(--ink-2); margin-top: 2px; }
.entry-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--red); }
.entry-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.entry:hover .entry-more svg { transform: translateX(-4px); }
.entry--soon .entry-more { color: var(--blue); }
.badge-soon { display: inline-block; font-size: 12px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 99px; padding: 1px 10px; line-height: 1.8; }

/* tone per product (from its packaging) */
.tone-rose  { --tone-strong: #B23A4E; --tone-wash: var(--rose); --tone-band: linear-gradient(120deg, #FBEBED 0%, #F6F2EE 50%, #E7F3F2 100%); }
.tone-sand  { --tone-strong: var(--crimson); --tone-wash: #F1E6DA; --tone-band: linear-gradient(120deg, #F6EEE4, #FAF8F4); }
.tone-steel { --tone-strong: #4E5B68; --tone-wash: #E3E8ED; --tone-band: linear-gradient(120deg, #ECEFF2, #FAF8F4); }
.tone-label { --tone-strong: var(--orange); --tone-wash: #FBE3DA; --tone-band: linear-gradient(120deg, #FCE9E2 0%, #FAF8F4 55%, #E9F1F8 100%); }
.tone-warm  { --tone-strong: var(--blue); --tone-wash: var(--blue-wash); --tone-band: linear-gradient(120deg, #F6EBDD, #FAF8F4 60%, #E8F0F8); }

@media (min-width: 901px) {
  .entry--1 { grid-column: span 8; }
  .entry--1 .entry-media { aspect-ratio: 3 / 2; }
  .entry--1 .entry-name { font-size: 30px; }
  .entry--2 { grid-column: span 4; }
  .entry--2 .entry-media { aspect-ratio: 4 / 5.2; }
  .entry--3, .entry--4, .entry--5 { grid-column: span 4; }
  .entry--3 .entry-media, .entry--4 .entry-media, .entry--5 .entry-media { aspect-ratio: 1 / 1.05; }
  .entry--soon {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 48px; align-items: center; padding: 32px; border-radius: 10px;
    background: linear-gradient(120deg, #F6EBDD, #FFFFFF 55%, var(--blue-wash));
    border: 1px solid var(--rule);
  }
  .entry--soon .entry-media { aspect-ratio: 2 / 3; max-height: 440px; }
  .entry--soon .entry-name { font-size: 30px; }
  .entry--soon .entry-body { padding-top: 0; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .catalog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; }
  .entry--1, .entry--soon { grid-column: 1 / -1; }
  .entry--1 .entry-media { aspect-ratio: 3 / 2; }
}
@media (max-width: 760px) {
  .catalog { padding-block: 44px 48px; }
  .section-head { margin-bottom: 4px; }
  .catalog-list { display: block; }
  .entry { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .entry-media { aspect-ratio: 4 / 5; padding: 6px; }
  .entry-media::before { transform: scaleX(1); height: 3px; }
  .entry:hover .entry-media { transform: none; box-shadow: none; }
  .entry-body { padding-top: 0; }
  .entry-name { font-size: 18px; line-height: 1.5; margin-top: 4px; }
  .entry-spec { font-size: 14px; margin-top: 4px; line-height: 1.75; }
  .entry-spec > span:not(.sep) { display: block; }
  .entry-spec .sep { display: none; }
  .entry-summary, .entry-more { display: none; }
  .entry-teaser { font-size: 14px; margin-top: 2px; }
  .num-chip { height: 22px; min-width: 30px; font-size: 12px; }
}

/* ---------------------------------------------------------------- steps */
.steps { padding-block: 64px; background: var(--surface); border-block: 1px solid var(--rule); }
.steps .section-head { margin-bottom: 28px; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.step { position: relative; padding: 26px 24px 24px; border-radius: 10px; background: var(--bg); border: 1px solid var(--rule); overflow: hidden; }
.step::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--red-bright), var(--crimson)); }
.step:nth-child(2)::after { background: linear-gradient(90deg, var(--blue), #5BA3DA); }
.step:nth-child(3)::after { background: linear-gradient(90deg, var(--crimson), var(--maroon)); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(160deg, var(--red-bright), var(--crimson)); color: #fff; font-weight: 900; font-size: 20px;
}
.step:nth-child(2) .step-num { background: linear-gradient(160deg, #3A8FD0, var(--blue-deep)); }
.step:nth-child(3) .step-num { background: linear-gradient(160deg, var(--crimson), var(--maroon)); }
.step h3 { font-size: 19px; margin-top: 14px; }
.step p { margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.steps-list .step:nth-child(2) { transition-delay: .08s; }
.steps-list .step:nth-child(3) { transition-delay: .16s; }
@media (max-width: 760px) {
  .steps { padding-block: 44px; }
  .steps-list { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 18px 16px; }
  .step-num { grid-row: span 2; }
  .step h3 { margin-top: 0; font-size: 17px; align-self: end; }
  .step p { margin-top: 0; font-size: 14px; }
}

/* ---------------------------------------------------------------- photo report (blue band, like the MAX label badge) */
.report {
  position: relative; overflow: hidden; color: #fff; padding-block: 72px;
  background: radial-gradient(110% 120% at 0% 100%, #1C86D1 0%, var(--blue) 35%, var(--blue-deep) 75%, #082F57 100%);
}
.report-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.report-figure { margin: 0; background: #fff; padding: 10px; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.report-figure img { width: 100%; max-height: 600px; object-fit: contain; border-radius: 4px; }
.report-text h2 { font-size: clamp(24px, 2.8vw, 36px); margin-top: 8px; }
.report-caption { margin-top: 14px; font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 30em; padding-inline-start: 16px; border-inline-start: 3px solid var(--orange); }
.report-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.report-links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 16px; border-radius: 99px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); text-decoration: none; font-weight: 700; font-size: 15px;
}
.report-links a:hover { background: #fff; color: var(--blue-deep); }
.report-links svg { width: 16px; height: 16px; }
.report-text .rv { transition-delay: .1s; }
@media (max-width: 760px) {
  .report { padding-block: 44px; }
  .report-inner { grid-template-columns: 1fr; gap: 22px; }
  .report-text { order: -1; }
}

/* ---------------------------------------------------------------- contact (brand red band) */
.contact {
  position: relative; overflow: hidden; color: #fff; padding-block: 64px; isolation: isolate;
  background: radial-gradient(120% 140% at 100% 100%, var(--red-mid) 0%, var(--crimson) 45%, var(--maroon) 100%);
}
.contact .arcs { z-index: -1; opacity: .55; transform: scaleX(-1); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.contact h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 6px; }
.contact-text > p:last-child { margin-top: 10px; color: rgba(255, 255, 255, .82); font-size: 16px; }
.contact-card { margin: 0; padding: 8px 28px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.contact-card > div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card dt { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.contact-card dd { margin: 0; font-weight: 800; font-size: 17px; }
.phone--big { font-size: 28px; font-weight: 900; color: var(--red); user-select: all; }
.contact-actions { grid-template-columns: auto auto 1fr !important; justify-items: start; }
.copy-status { font-size: 14px; color: var(--blue); font-weight: 700; }
.tg-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue); min-height: 44px; }
.tg-link:hover span { text-decoration: underline; }
.contact--compact { padding-block: 48px; }
@media (max-width: 760px) {
  .contact { padding-block: 44px; }
  .contact-inner { grid-template-columns: 1fr; gap: 22px; }
  .contact-card { padding: 4px 18px; }
  .contact-card > div { grid-template-columns: 1fr; gap: 2px; }
  .contact-actions { grid-template-columns: 1fr 1fr !important; gap: 10px !important; justify-items: stretch; }
  .contact-actions .copy-status { grid-column: 1 / -1; }
  .phone--big { font-size: 25px; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--charcoal); color: rgba(255, 255, 255, .72); padding-block: 32px 40px; border-top: 3px solid var(--red); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 40px; width: auto; }
.footer-name { font-weight: 800; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { text-decoration: none; display: inline-block; padding: 8px 0; }
.footer-links a:hover { color: #fff; }
.footer-links .phone { color: #fff; }

/* ---------------------------------------------------------------- product page */
.product-band { background: var(--tone-band, var(--bg)); border-bottom: 1px solid var(--rule); position: relative; }
.product-band::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--tone-strong, var(--red)), transparent 85%); }
.crumbs { padding-top: 22px; font-size: 14px; color: var(--ink-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--rule-strong); }
.crumbs a { text-decoration: none; font-weight: 800; color: var(--red); display: inline-block; padding: 6px 0; }
.crumbs a:hover { text-decoration: underline; }

.product-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "title media" "intro media"; grid-template-rows: auto 1fr;
  gap: 0 56px; padding-block: 20px 56px;
}
.product-title { grid-area: title; }
.product-media { grid-area: media; }
.product-intro { grid-area: intro; }
.product-title .entry-num { font-size: 14px; color: var(--ink-3); font-weight: 700; }
.product-title .entry-num span { font-weight: 500; }
.product-title h1 { font-size: clamp(30px, 3.8vw, 50px); margin-top: 8px; }
.teaser { font-size: 22px; color: var(--ink-2); margin-top: 6px; }
.key-spec {
  display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: var(--radius);
  background: var(--surface); border-inline-start: 4px solid var(--tone-strong, var(--red));
  box-shadow: 0 10px 24px -20px rgba(62, 11, 13, .5); font-size: 18px; font-weight: 800;
}
.summary { margin-top: 22px; font-size: 17px; color: var(--ink-2); line-height: 2.05; max-width: 32em; }
.product-action { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.action-phone { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.action-phone .phone { font-size: 21px; color: var(--ink); }
.product-action--soon { flex-direction: column; align-items: flex-start; }
.status-line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 15px; color: var(--ink-2); }

.gallery { margin: 0; }
.gallery-stage { background: var(--surface); border-radius: 10px; padding: 16px; display: grid; place-items: center; box-shadow: var(--shadow); border: 1px solid var(--rule); }
.gallery-img { width: 100%; max-height: min(72vh, 680px); object-fit: contain; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: .3; } }
.gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.gallery-count { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.thumbs { display: flex; gap: 10px; }
.thumb { display: grid; place-items: center; width: 72px; height: 72px; padding: 4px; overflow: hidden; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; transition: border-color .2s; }
.thumb img { width: 62px; height: 62px; max-width: none; object-fit: contain; }
.thumb[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.thumb:hover { border-color: var(--ink); }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; padding-block: 56px 64px; }
.spec { min-width: 0; }
.spec--table, .spec--equation { grid-column: 1 / -1; }
.spec-title { font-size: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; position: relative; }
.spec-title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -2px; width: 56px; height: 2px; background: var(--tone-strong, var(--red)); }

.size-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.size-table th, .size-table td { text-align: start; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.size-table th:last-child, .size-table td:last-child { padding-inline-end: 0; }
.size-table thead th { font-size: 13px; color: var(--ink-2); font-weight: 700; padding-block: 12px; }
.size-table tbody tr { transition: background-color .2s; }
.size-table tbody tr:hover { background: var(--surface); }
.size-table tbody th { white-space: nowrap; width: 18%; }
.size-table tbody th { font-weight: 800; color: var(--red); }
.size-table tbody td:nth-child(2) { font-weight: 700; width: 30%; }

.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: minmax(8em, 2fr) minmax(0, 3fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-2); font-size: 15px; }
.facts dd { margin: 0; font-weight: 800; font-size: 17px; }

.ticks li { position: relative; padding: 12px 24px 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.85; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--tone-strong, var(--red)); box-shadow: 0 0 0 4px var(--tone-wash, var(--red-wash)); }

.equation { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 14px; margin-top: 16px; }
.eq-term { display: flex; flex-direction: column; justify-content: center; min-width: 120px; padding: 14px 20px; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--surface); }
.eq-term b { font-size: 30px; font-weight: 900; line-height: 1.4; }
.eq-term small { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.eq-term--strong { border-color: transparent; background: linear-gradient(160deg, var(--red-bright), var(--crimson)); color: #fff; }
.eq-term--strong small { color: rgba(255, 255, 255, .85); }
.eq-op { display: grid; place-items: center; font-size: 28px; color: var(--ink-3); }

.pager { background: var(--surface); border-top: 1px solid var(--rule); }
.pager-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.pager-slot { display: flex; flex-direction: column; gap: 4px; padding: 28px 0; text-decoration: none; min-height: 100px; }
.pager-slot--next { text-align: end; align-items: flex-end; }
.pager-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.pager-label svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--red-wash); color: var(--red); transition: background-color .2s, color .2s, transform .25s var(--ease); }
a.pager-slot:hover .pager-label svg { background: var(--red); color: #fff; }
a.pager-slot--next:hover .pager-label svg { transform: translateX(-4px); }
a.pager-slot--prev:hover .pager-label svg { transform: translateX(4px); }
.pager-name { font-size: 22px; font-weight: 800; line-height: 1.5; }
a.pager-slot:hover .pager-name { color: var(--red); }
.pager-index {
  align-self: center; margin-inline: 24px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--rule-strong); border-radius: 99px; text-decoration: none; font-weight: 800; font-size: 15px; white-space: nowrap; color: var(--blue);
}
.pager-index:hover { border-color: var(--blue); background: var(--blue-wash); }

.thumbbar { display: none; }

@media (max-width: 900px) {
  .product-head { grid-template-columns: 1fr; grid-template-areas: "title" "media" "intro"; gap: 0; padding-block: 8px 36px; }
  .product-media { margin-top: 20px; }
  .key-spec { font-size: 16px; }
  .summary { margin-top: 18px; font-size: 16px; }
  .product-action { margin-top: 20px; }
  .product-action .btn-lg { width: 100%; }
  .gallery-stage { padding: 10px; }
  .gallery-img { max-height: 62vh; }
  .specs { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 44px; }

  .size-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .size-table, .size-table tbody, .size-table tr, .size-table th, .size-table td { display: block; width: auto !important; }
  .size-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .size-table th, .size-table td { border: 0; padding: 0; }
  .size-table tbody th { grid-row: span 2; font-size: 17px; align-self: start; min-width: 4.2em; }
  .size-table td { font-size: 16px; }
  .size-table td:last-child { color: var(--ink-2); }

  .facts > div { grid-template-columns: minmax(6.5em, 2fr) minmax(0, 3fr); }
  .eq-term { min-width: 0; flex: 1 1 0; padding: 10px 12px; }
  .eq-term b { font-size: 22px; }
  .eq-term small { font-size: 12px; }
  .eq-op { font-size: 20px; }
  .equation { gap: 6px; flex-wrap: nowrap; }

  .pager-inner { grid-template-columns: 1fr 1fr; }
  .pager-index { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin: 0 0 20px; }
  .pager-slot { padding: 18px 0; min-height: 0; }
  .pager-slot--prev { padding-inline-end: 8px; }
  .pager-slot--next { padding-inline-start: 8px; border-inline-start: 1px solid var(--rule); }
  .pager-name { font-size: 16px; }

  .thumbbar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 8px; align-items: center;
    position: sticky; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--rule); box-shadow: 0 -10px 24px -20px rgba(62, 11, 13, .5);
  }
  .tb-nav {
    display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-height: 48px;
    border: 1px solid var(--rule-strong); border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: 14px; background: var(--surface);
  }
  .tb-nav svg { color: var(--red); }
  .tb-nav.is-empty { border: 0; background: none; }
  .tb-cta { min-height: 48px; padding: 8px 10px; font-size: 15px; white-space: nowrap; }
}

.img-missing { display: grid; place-items: center; min-height: 200px; background: var(--surface); color: var(--ink-3); font-size: 14px; border: 1px dashed var(--rule-strong); }
