/* =========================================================
   World of Granite — Corporate Site Stylesheet
   Design language: minimal, editorial, premium stone studio
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #12161a;
  --ink-soft: #1b2127;
  --ink-mute: #2f363d;
  --paper: #ffffff;
  --mist: #f6f4f1;
  --mist-2: #eeeae4;
  --line: #e2ddd5;
  --line-soft: #efebe5;
  --text: #2b2f34;
  --muted: #6c7178;
  --bronze: #b08d57;
  --bronze-dark: #96733e;
  --bronze-tint: rgba(176, 141, 87, 0.1);

  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Optima", Georgia, "Times New Roman", "Songti SC", STSong, serif;

  --radius: 2px;
  --radius-lg: 4px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 26, 0.04), 0 4px 16px rgba(18, 22, 26, 0.04);
  --shadow-md: 0 8px 30px rgba(18, 22, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 22, 26, 0.14);

  --header-h: 78px;
  --section-y: 118px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; line-height: 1.22; letter-spacing: -0.01em; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.container--narrow { max-width: 900px; }

.section { padding: var(--section-y) 0; }
.section--tight { padding: 78px 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.86); }

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

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-dark);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--bronze);
}
.eyebrow--light { color: var(--bronze); }

.h-display {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.h-section {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.022em;
}
.h-sub {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
}
.section--ink .lead { color: rgba(255, 255, 255, 0.66); }
.text-muted { color: var(--muted); }
.text-bronze { color: var(--bronze-dark); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.section-head { margin-bottom: 62px; max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-head .h-section { margin-top: 22px; }
.section-head .lead { margin-top: 20px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}
.header.is-solid,
.header.is-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header.is-scrolled { height: 68px; }

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
/* Owner-uploaded logo (admin → 图片素材 → brand.logo) */
.brand__mark--img {
  object-fit: contain;
  border-radius: 4px;
}
.footer .brand__mark--img { width: 40px; height: 40px; flex: 0 0 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.brand__tag {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 450;
  color: inherit;
  opacity: 0.9;
  transition: opacity 0.25s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { opacity: 1; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { opacity: 1; }

.header__tools { display: flex; align-items: center; gap: 14px; }

.lang {
  display: flex;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px;
  opacity: 0.85;
}
.lang__btn {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: inherit;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lang__btn.is-active {
  background: var(--bronze);
  color: #fff;
}

/* Compact always-visible switcher for the top bar — phones only.
   Desktop keeps the in-nav group, so this one stays hidden there. */
.lang--bar { display: none; }
@media (max-width: 900px) {
  .lang--bar {
    display: flex;
    padding: 2px;
    opacity: 1;
  }
  .lang--bar .lang__btn {
    padding: 5px 10px;
    font-size: 12px;
    min-height: 32px;
  }
}


.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
}
.burger span {
  display: block;
  width: 21px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.header.is-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--primary { background: var(--bronze); color: #fff; }
.btn--primary:hover { background: var(--bronze-dark); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-mute); transform: translateY(-2px); }
.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}
.btn--outline:hover { background: #fff; color: var(--ink); }
.btn--outline-ink {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--outline-ink:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--sm { padding: 11px 22px; font-size: 11.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-dark);
}
.link-arrow svg { width: 16px; height: 10px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 76px;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 15, 18, 0.66) 0%, rgba(12, 15, 18, 0.28) 38%, rgba(12, 15, 18, 0.82) 100%);
}
.hero__inner { position: relative; width: 100%; }
.hero__title { color: #fff; max-width: 17ch; }
.hero__title em { font-style: normal; color: var(--bronze); }
.hero__lead {
  margin-top: 28px;
  max-width: 54ch;
  font-size: 1.075rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 46px 56px;
  margin-top: 68px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.stat { min-width: 118px; }
.stat__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
}
.stat__num sup { font-size: 1.1rem; color: var(--bronze); top: -1em; }
.stat__label {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 96px;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 15, 18, 0.9), rgba(12, 15, 18, 0.62));
}
.page-hero__inner { position: relative; }
.page-hero .h-display { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.page-hero .lead { margin-top: 22px; color: rgba(255, 255, 255, 0.72); }

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}
.crumbs a:hover { color: var(--bronze); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 84px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split__badge {
  position: absolute;
  left: -26px;
  bottom: -26px;
  background: var(--paper);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  max-width: 220px;
}
.split__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}
.split__badge span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.split__body .lead { margin-top: 22px; }

/* ---------- Lists ---------- */
.check-list { margin-top: 30px; display: grid; gap: 15px; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text);
}
.check-list svg { width: 17px; height: 17px; flex: none; margin-top: 5px; color: var(--bronze); }

.icon-list { margin-top: 34px; display: grid; gap: 26px; }
.icon-list li { display: flex; gap: 18px; }
.icon-list__ico {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--bronze-dark);
}
.icon-list__ico svg { width: 19px; height: 19px; }
.icon-list h4 { font-size: 16px; font-weight: 600; }
.icon-list p { margin-top: 5px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.card__ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bronze-tint);
  color: var(--bronze-dark);
  margin-bottom: 24px;
}
.card__ico svg { width: 22px; height: 22px; }
.card h4 { font-size: 1.15rem; }
.card p { margin-top: 13px; font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ---------- Product card ---------- */
.pcard { display: block; }
.pcard__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  background: var(--mist-2);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: var(--radius);
}
.pcard__zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(18, 22, 26, 0.42);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.pcard:hover .pcard__zoom { opacity: 1; }
.pcard__zoom span {
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pcard__body { padding: 20px 2px 0; }
.pcard__code {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--bronze-dark);
  font-weight: 600;
}
.pcard__name { margin-top: 7px; font-size: 1.0625rem; font-weight: 500; }
.pcard__meta {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.pill {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters__count {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Product strap / spec table ---------- */
.spec {
  width: 100%;
  border-collapse: collapse;
  margin-top: 34px;
  font-size: 15px;
}
.spec th, .spec td {
  text-align: left;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.spec th {
  width: 42%;
  font-weight: 500;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.spec td { color: var(--text); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.step { position: relative; padding: 0 30px 0 0; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  right: -4px;
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step__num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--bronze-dark);
}
.step h4 { margin-top: 22px; font-size: 1rem; font-weight: 600; }
.step p { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ---------- Gallery strip ---------- */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.strip figure { margin: 0; }
.strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.strip figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 92px 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.cta-band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 15, 18, 0.94), rgba(12, 15, 18, 0.6));
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-band h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: -0.02em; }
.cta-band p { margin-top: 16px; color: rgba(255, 255, 255, 0.68); max-width: 52ch; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--bronze-dark); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c7178' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 11px; padding-right: 42px; }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--bronze);
}
.field input.is-error,
.field select.is-error,
.field textarea.is-error { border-color: #c0392b; background: #fdf3f2; }
.field__hint { font-size: 12.5px; color: var(--muted); }
.field__error { font-size: 12.5px; color: #c0392b; display: none; }
.field.has-error .field__error { display: block; }

.form-title { font-size: 1.35rem; font-weight: 500; }
.form-note { margin-top: 6px; font-size: 14px; color: var(--muted); }
.form-divider {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

/* File upload zone */
.dropzone {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  background: var(--mist);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.dropzone.is-over { border-color: var(--bronze); background: var(--bronze-tint); }
.dropzone input[type="file"] { display: none; }
.dropzone__ico { width: 38px; height: 38px; margin: 0 auto 16px; color: var(--bronze-dark); }
.dropzone__label { font-size: 15px; }
.dropzone__hint { margin-top: 8px; font-size: 13px; color: var(--muted); }
.dropzone__btn { margin-top: 16px; }
.file-list { margin-top: 16px; display: grid; gap: 10px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 14px;
}
.file-item__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.file-item__size { color: var(--muted); font-size: 12.5px; flex: none; }
.file-item__del { color: var(--muted); font-size: 18px; line-height: 1; padding: 0 4px; }
.file-item__del:hover { color: #c0392b; }

/* Auth strip inside order page */
.auth-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--mist);
  margin-bottom: 24px;
}
.auth-strip__txt { font-size: 14.5px; color: var(--muted); max-width: 62ch; }
.auth-strip__actions { display: flex; gap: 10px; }
.auth-strip.is-signed { background: rgba(46, 125, 79, 0.06); border-color: rgba(46, 125, 79, 0.25); }

/* Form status */
.form-status {
  display: none;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.7;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(46, 125, 79, 0.08); border: 1px solid rgba(46, 125, 79, 0.26); color: #1f6b41; }
.form-status--err { background: #fdf3f2; border: 1px solid rgba(192, 57, 43, 0.28); color: #98301f; }
.form-status strong { display: block; margin-bottom: 5px; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 15, 18, 0.6);
  backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px); } }
.modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
}
.modal__close:hover { color: var(--ink); }
.modal h3 { font-size: 1.4rem; font-weight: 500; }
.modal .lead { margin-top: 12px; font-size: 14.5px; }
.modal__form { margin-top: 26px; display: grid; gap: 16px; }
.modal__switch { margin-top: 20px; font-size: 14px; color: var(--muted); }
.modal__switch button { color: var(--bronze-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.otp-row { display: flex; gap: 10px; align-items: flex-end; }
.otp-row .field { flex: 1; }
.otp-row .btn { flex: none; padding: 14px 18px; }

/* Product detail modal */
.pd { max-width: 880px; }
.pd__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; }
.pd__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); }
.pd h3 { font-size: 1.75rem; font-weight: 400; }
.pd__code { color: var(--bronze-dark); font-size: 12px; letter-spacing: 0.16em; font-weight: 600; }
.pd__desc { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.pd__tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
}
.pd__spec { margin-top: 26px; display: grid; gap: 12px; }
.pd__spec div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 11px; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.pd__spec dt { color: var(--muted); }
.pd__spec dd { margin: 0; text-align: right; }
.pd__actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact cards ---------- */
.contact-item { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.contact-item:first-child { padding-top: 0; }
.contact-item__ico {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bronze-tint);
  color: var(--bronze-dark);
}
.contact-item__ico svg { width: 18px; height: 18px; }
.contact-item__k { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-item__v { margin-top: 7px; font-size: 16px; font-weight: 500; }
.contact-item__v a:hover { color: var(--bronze-dark); }
.contact-item__s { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

.map-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--mist-2);
}

.hours { display: grid; gap: 12px; margin-top: 24px; }
.hours__row { display: flex; justify-content: space-between; gap: 20px; font-size: 14.5px; padding-bottom: 11px; border-bottom: 1px solid var(--line-soft); }
.hours__row span:first-child { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.faq__q span { flex: 1; }
.faq__ico { width: 22px; height: 22px; flex: none; position: relative; }
.faq__ico::before, .faq__ico::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}
.faq__ico::after { transform: rotate(90deg); }
.faq__item.is-open .faq__ico::after { transform: rotate(0deg); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}
.faq__item.is-open .faq__a { max-height: 340px; }
.faq__a p { padding-bottom: 26px; color: var(--muted); font-size: 15.5px; line-height: 1.85; max-width: 76ch; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--line);
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 11px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--bronze);
}
.tl-item__year {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--bronze-dark);
}
.tl-item h4 { margin-top: 6px; font-size: 1.05rem; font-weight: 600; }
.tl-item p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.8; }

/* ---------- Logo cloud ---------- */
.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  align-items: center;
  justify-content: space-between;
}
.logo-cloud span {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.72;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.62); padding: 92px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 54px;
  padding-bottom: 62px;
}
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255, 255, 255, 0.5); }
.footer__about { margin-top: 24px; font-size: 14.5px; line-height: 1.85; max-width: 40ch; }
.footer__social { display: flex; gap: 12px; margin-top: 26px; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__social a:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }
.footer h5 {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 600;
  margin-bottom: 24px;
}
.footer__nav li + li { margin-top: 13px; }
.footer__nav a { font-size: 14.5px; transition: color 0.25s var(--ease); }
.footer__nav a:hover { color: var(--bronze); }
.footer__contact li { font-size: 14.5px; line-height: 1.8; }
.footer__contact li + li { margin-top: 18px; }
.footer__contact a:hover { color: var(--bronze); }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- Floating WhatsApp ---------- */
.wa-fabs {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa-fab {
  position: relative;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.36);
  transition: transform 0.3s var(--ease);
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab__tag {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1d1f24;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --section-y: 92px; }
  .container { padding: 0 32px; }
  .split { gap: 54px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .step::after { display: none; }
}

@media (max-width: 900px) {
  .header__inner { gap: 14px; }
  .nav,
  .header__tools .btn { display: none; }
  .burger { display: flex; }
  .header.is-open .nav {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 32px 30px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .header.is-open .nav__link {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }
  .header.is-open .nav__link::after { display: none; }
  .header.is-open .lang {
    display: flex;
    margin-top: 22px;
    align-self: flex-start;
    border-color: var(--line);
    color: var(--ink);
  }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__media { order: 0; }
  .split__badge { left: auto; right: 20px; bottom: -20px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd__grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 34px 26px; }
}

@media (max-width: 680px) {
  :root { --section-y: 76px; --header-h: 68px; }
  .container { padding: 0 22px; }
  .grid--2, .grid--3, .grid--4, .strip { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
  .hero__stats { gap: 32px; }
  .stat__num { font-size: 2.1rem; }
  .section-head { margin-bottom: 44px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid { grid-template-columns: 1fr; gap: 38px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .wa-fabs { right: 16px; bottom: 16px; gap: 10px; }
  .wa-fab { width: 48px; height: 48px; }
  .modal__panel { padding: 30px 24px; }
  .auth-strip { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mobile polish (phones first) ---------- */
@media (max-width: 900px) {
  /* Inner-page hero: less vertical bulk on small screens */
  .page-hero { padding: calc(var(--header-h) + 62px) 0 62px; }

  /* Cards and forms: tighter padding, larger tap targets */
  .card { padding: 30px 24px; }
  .card:hover { transform: none; }              /* no hover-lift on touch */
  .pcard:hover .pcard__media img { transform: none; }
  .pcard__zoom { display: none; }               /* tap opens detail directly */

  /* Form controls: 16px prevents iOS auto-zoom on focus */
  .field input, .field select, .field textarea { font-size: 16px; padding: 15px 16px; }

  /* OTP row: stack button under input */
  .otp-row { flex-direction: column; align-items: stretch; }
  .otp-row .btn { width: 100%; }

  /* Product detail modal: full-screen sheet feel */
  .modal { padding: 14px; align-items: flex-end; }
  .modal__panel { max-height: 92svh; }
  .pd__actions .btn { flex: 1 1 100%; }

  /* Filters: horizontally scrollable pill bar */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .pill { flex: none; padding: 11px 20px; }
  .filters__count { flex: none; margin-left: 8px; white-space: nowrap; }

  /* Sections breathe less on phones */
  .section--tight { padding: 58px 0; }
  .cta-band { padding: 68px 0; }
  .form-card { padding: 30px 22px; }
  .dropzone { padding: 26px 18px; }
  .faq__q { padding: 21px 0; font-size: 16px; }

  /* Split badge: keep inside viewport */
  .split__badge { position: static; max-width: none; margin-top: 14px; box-shadow: var(--shadow-sm); }

  /* Logo cloud: wrap neatly, center */
  .logo-cloud { gap: 22px 30px; justify-content: flex-start; }
}

@media (max-width: 680px) {
  /* Hero: stacked full-width CTAs, tighter stats */
  .hero { padding: calc(var(--header-h) + 40px) 0 56px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 34px; }
  .hero__cta .btn { width: 100%; padding: 16px 24px; }
  .hero__stats { gap: 24px 28px; margin-top: 48px; padding-top: 26px; }
  .stat { min-width: calc(50% - 14px); }

  /* CTA band button goes full width */
  .cta-band__inner .btn { width: 100%; }

  /* Order/contact submit buttons full width */
  .form-grid .btn, .form-card > .btn { width: 100%; }

  /* Product grids: 2-up swatches instead of one long column */
  #product-grid.grid--3, #featured-grid.grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  #product-grid .pcard__body, #featured-grid .pcard__body { padding: 12px 2px 0; }
  #product-grid .pcard__name, #featured-grid .pcard__name { font-size: 0.9375rem; }
  #product-grid .pcard__meta, #featured-grid .pcard__meta { font-size: 12px; }
  #product-grid .pcard__tag, #featured-grid .pcard__tag { top: 9px; left: 9px; padding: 4px 8px; font-size: 9.5px; }

  /* Auth strip actions stack */
  .auth-strip__actions { width: 100%; flex-direction: column; }
  .auth-strip__actions .btn { width: 100%; }

  /* Footer bar centered */
  .footer__bar { justify-content: center; text-align: center; }

  /* Contact rows and hours stay readable */
  .contact-item { gap: 15px; padding: 20px 0; }

  /* Spec table: label above value */
  .spec th { width: 46%; padding-right: 12px; }

  /* Timeline a bit tighter */
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -28px; }

  /* Language switch + burger: comfortable tap size */
  .lang__btn { padding: 6px 13px; }
  .burger { width: 46px; height: 46px; }
}

/* Very small phones (<=380px): product grid back to comfortable sizing */
@media (max-width: 380px) {
  .stat { min-width: 100%; }
  #product-grid .pcard__name, #featured-grid .pcard__name { font-size: 0.875rem; }
}

/* Touch devices: kill hover-only states globally */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Round 2 — desktop vs phone differentiation (2026-10-05)
   ========================================================= */

/* --- Wide desktop: use the screen, 4-up product grids --- */
@media (min-width: 1200px) {
  #product-grid.grid--3, #featured-grid.grid--3 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero .h-display { max-width: 15ch; }
}

/* --- Desktop pointers only: richer hover feedback --- */
@media (hover: hover) and (min-width: 901px) {
  .pcard { transition: transform 0.35s var(--ease); }
  .pcard:hover { transform: translateY(-4px); }
  .nav__link, .lang__btn, .pill { cursor: pointer; }
}

/* --- Phones: sticky filter bar + smoother admin tables --- */
@media (max-width: 720px) {
  /* Category filters stay reachable while scrolling long catalogues */
  .filters {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    background: linear-gradient(var(--paper) 78%, rgba(250, 249, 247, 0));
    padding-top: 10px;
  }

  /* Admin tables scroll sideways — styled inline in admin.html (its
     <style> block loads after this sheet, so it must win there) */

  /* Admin tab bar: swipe sideways instead of wrapping into 3 rows */
  .admin-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -22px;
    margin-right: -22px;
    padding: 0 22px;
  }
  .admin-tabs::-webkit-scrollbar { display: none; }
  .admin-tabs button { flex: none; white-space: nowrap; }
}
