/* ============================================================================
   Landing page — hand-written HTML/CSS, no build step, no dependencies
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  /* brand */
  --green-deep:    #173c2d;   /* headings, brand wordmark              */
  --green-btn:     #123d2b;   /* primary button / dark surfaces        */
  --green-footer:  #263a2a;
  --coral:         #f36b57;   /* eyebrows, accent prices, links        */
  --coral-strong:  #c95a43;
  --coral-cta:     #ff6d59;   /* final CTA button                      */
  --gold:          #f5ca62;   /* badges                                */
  --gold-text:     #5b4216;
  --gold-footer:   #f4c95d;

  /* surfaces */
  --cream:         #fffdf8;   /* page background                       */
  --cream-warm:    #fffaf2;   /* inset panels                          */
  --paper:         #ffffff;
  --sage:          #eef2e8;   /* set-card chips                        */
  --sand:          #f5f0e8;

  /* lines */
  --line:          #eadfce;
  --line-soft:     #e9dfd2;
  --line-strong:   #d9ccbb;

  /* text */
  --ink:           #111814;
  --ink-body:      #2f332f;
  --ink-muted:     #5f554b;
  --ink-faint:     #9b9288;
  --cream-text:    #fffaf5;
  --cream-dim:     #e4d8c9;

  /* shape */
  --r-sm: 5px;
  --r:    8px;
  --r-lg: 10px;

  --shadow-card:  0 12px 26px rgba(53, 43, 31, .06);
  --shadow-panel: 0 16px 34px rgba(53, 43, 31, .06);
  --shadow-lift:  0 18px 42px rgba(53, 43, 31, .07);
  --shadow-green: 0 14px 26px rgba(18, 61, 43, .16);

  --shell: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--green-deep);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}
/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 34px;
  border-radius: var(--r);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn .ico { width: 26px; height: 26px; }

.btn-primary {
  background: var(--green-btn);
  color: #fff;
  box-shadow: 0 16px 30px rgba(18, 61, 43, .18);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--green-deep);
}

@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px rgba(18, 61, 43, .24); }
  .btn-ghost:hover   { transform: translateY(-2px); border-color: var(--green-deep); }
}
.btn:active { transform: translateY(0); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: saturate(140%) blur(8px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  width: min(100% - 48px, var(--shell));
  margin-inline: auto;
}

.nav-logo { line-height: 1; }
.nav-logo span {
  display: block;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nav-logo strong {
  display: block;
  color: var(--green-deep);
  font-size: 28px;
  font-weight: 900;
  line-height: .95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}
.nav-links a {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  padding-block: 6px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
  transition: width .22s ease;
}
@media (hover: hover) { .nav-links a:hover::after { width: 100%; } }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  background: var(--green-btn);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(18, 61, 43, .16);
  transition: transform .18s ease;
}
@media (hover: hover) { .nav-cta:hover { transform: translateY(-2px); } }

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--green-deep);
  cursor: pointer;
}

.mobile-nav {
  display: none;              /* desktop: never shown — see the 1023px block */
  gap: 2px;
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
  padding: 10px 24px 18px;
}
.mobile-nav a {
  padding: 13px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 800;
}
.mobile-nav .mobile-nav-cta {
  margin-top: 12px;
  border: 0;
  border-radius: var(--r);
  background: var(--green-btn);
  color: #fff;
  text-align: center;
}

/* ---------------------------------------------------------------- shell */
.home > section {
  width: min(100% - 64px, var(--shell));
  margin-inline: auto;
}
.home > .hero {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.band {
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

/* eyebrow + heading pair reused by several sections */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--coral);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
}

.section-title h2 {
  margin-top: 16px;
  color: var(--green-deep);
  font-size: 46px;
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.01em;
}
.section-title p {
  margin-top: 14px;
  max-width: 540px;
  color: #4c463f;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.fine-note {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 12px;
  font-style: italic;
  font-weight: 650;
}

/* ══════════════════════════════════════════════════════════════════ hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  min-height: 660px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
/* cream wash so the copy stays readable over the photo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    #fffdf8, #fffdf8 40%,
    rgba(255, 253, 248, .94) 48%,
    rgba(255, 253, 248, .58) 61%,
    rgba(255, 253, 248, .08) 74%,
    transparent);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: 72px 56px 72px 92px;
}
.hero-copy h1 {
  max-width: 640px;
  color: var(--green-deep);
  font-size: clamp(42px, 4.35vw, 76px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.015em;
}
.hero-copy h1 span { color: var(--coral); }
.hero-copy p {
  margin-top: 30px;
  max-width: 500px;
  color: #1f2923;
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 38px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-top: 62px;
}
.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17241d;
  font-size: 15px;
  font-weight: 900;
}
.hero-benefits .ico {
  width: 34px;
  height: 34px;
  padding: 5px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green-deep);
  stroke-width: 1.8;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 26%;
  min-height: 660px;
  overflow: hidden;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 54%;
}

.hero-prices {
  position: absolute;
  right: 78px;
  bottom: 42px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(620px, 54vw);
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 253, 248, .96);
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: 0 16px 32px rgba(53, 43, 31, .1);
}
.price-card p {
  color: #423c35;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}
.price-card strong {
  display: block;
  margin-top: 8px;
  color: var(--green-deep);
  font-size: 34px;
  font-weight: 900;
  line-height: .95;
}
.price-card span {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════ magnet sets band */
.magnet-layout {
  display: grid;
  grid-template-columns: minmax(380px, .88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: stretch;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream-warm);
  padding: 26px;
  box-shadow: var(--shadow-lift);
}

.magnet-visual {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--cream);
}
.magnet-visual > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border-radius: var(--r);
  object-fit: cover;
  object-position: 60% 50%;
  box-shadow: 0 20px 40px rgba(53, 43, 31, .1);
}

.magnet-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid hsla(36, 40%, 86%, .95);
  border-radius: var(--r);
  background: rgba(255, 253, 248, .92);
  padding: 14px 16px;
  box-shadow: 0 14px 28px rgba(53, 43, 31, .12);
  backdrop-filter: blur(4px);
}
.magnet-badge strong {
  display: block;
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.magnet-badge span {
  display: block;
  margin-top: 5px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 750;
}

.magnet-content { min-width: 0; }
.magnet-content .section-title h2 { max-width: 430px; font-size: 54px; }
.magnet-content .section-title p  { max-width: 420px; font-size: 18px; }

.set-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.set-card {
  position: relative;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 253, 248, .98);
  padding: 20px 16px 16px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.set-card.is-bonus {
  border-color: var(--green-btn);
  background: var(--cream);
  box-shadow: 0 16px 32px rgba(18, 61, 43, .12);
}
@media (hover: hover) {
  .set-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px rgba(53, 43, 31, .12); }
}

.set-card .ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.set-card p {
  color: #423c35;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}
.set-card strong {
  display: block;
  margin-top: 14px;
  color: var(--green-deep);
  font-size: 42px;
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.02em;
}
.set-card em {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--sage);
  color: var(--green-deep);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.calc {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  border: 1px dashed #d9c6ae;
  border-radius: var(--r);
  background: var(--cream);
  padding: 14px 16px;
}
.calc span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.calc strong {
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 850;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
}
.spec-grid article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  background: var(--paper);
  padding: 18px 14px;
}
.spec-grid .ico {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  color: var(--coral);
  stroke-width: 1.8;
}
.spec-grid strong {
  display: block;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
}
.spec-grid span {
  display: block;
  color: #776d61;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
}

.magnet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.magnet-actions .btn {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════ desk frames */
.frame-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 36px;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 0 0 0 34px;
  background:
    radial-gradient(circle at 78% 42%, hsla(0, 0%, 100%, .76), rgba(255, 250, 242, 0) 30%),
    linear-gradient(270deg, #edd7b8, #f5e6cf 24%, #fff5e8 48%, #fffdf8 70%, #fffdf8);
}

.frame-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 48px 0;
}
.frame-copy .section-title h2 {
  max-width: 650px;
  margin-top: 0;
  font-size: 54px;
  line-height: 1.04;
}
.frame-lede {
  margin-top: 20px;
  max-width: 600px;
  color: var(--ink-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.color-row {
  display: grid;
  grid-template-columns: auto repeat(7, minmax(48px, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 34px;
  color: var(--ink-body);
  font-size: 13px;
  font-weight: 750;
}
.color-row strong {
  align-self: start;
  padding-top: 10px;
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}
.color-row span {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #3d3933;
  font-size: 13px;
  line-height: 1;
}
.color-row i {
  width: 34px;
  height: 34px;
  border: 1px solid #c9baaa;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(53, 43, 31, .08);
}

.frame-prices {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 34px;
}
.frame-prices article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 253, 248, .98);
  padding: 22px 12px 16px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(53, 43, 31, .06);
}
.frame-prices .is-featured {
  border-color: var(--green-deep);
  box-shadow: 0 16px 32px rgba(18, 61, 43, .1);
}
.frame-prices p {
  min-height: 34px;
  color: var(--ink-body);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
}
.frame-prices strong {
  display: block;
  margin-top: 12px;
  color: var(--coral);
  font-size: clamp(22px, 2vw, 35px);
  font-weight: 900;
  line-height: 1;
}
.frame-prices span {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.frame-actions {
  display: grid;
  grid-template-columns: minmax(240px, .92fr) minmax(210px, .82fr);
  gap: 18px;
  margin-top: 34px;
}
.frame-actions .btn { padding: 0 20px; font-size: 20px; }

.frame-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 560px;
  place-items: center;
  padding: 30px 36px 30px 18px;
}
.frame-visual img {
  width: min(100%, 590px);
  height: auto;
  border-radius: var(--r-lg);
  object-fit: contain;
  box-shadow: 0 24px 34px rgba(72, 50, 24, .18);
}

/* ═══════════════════════════════════════════════════════ order / process */
.order-card {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 38px;
  align-items: center;
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  padding: 30px 34px;
  box-shadow: var(--shadow-panel);
}

.process h2 {
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.process article {
  position: relative;
  text-align: center;
}
/* connector line between the steps */
.process article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 28px);
  width: calc(100% - 32px);
  border-top: 2px dashed var(--line);
}
.process b {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font-size: 15px;
}
.process .ico {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  color: var(--coral);
  stroke-width: 1.6;
}
.process h3 {
  margin-top: 10px;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 900;
}
.process p {
  margin: 8px auto 0;
  max-width: 210px;
  color: #514940;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.delivery {
  display: grid;
  gap: 16px;
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.delivery-intl {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--sand);
  padding: 20px;
}
.delivery-intl .ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--green-deep);
}
.delivery-intl span {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
}
.delivery-intl a {
  color: var(--coral);
  font-weight: 900;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════ quality + proof */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 18px;
  margin-top: 26px;
}

.quality-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  padding: 28px;
  box-shadow: var(--shadow-panel);
}
.quality-card h2 {
  margin-top: 14px;
  color: var(--green-deep);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
}

.quality-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 22px;
}
.quality-body img {
  width: 100%;
  border-radius: var(--r);
  background: var(--cream-warm);
}
.layer-list p {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  color: var(--ink-body);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}
.layer-list p:first-child { margin-top: 0; }
.layer-list b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font-size: 12px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.gallery-row img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  border-radius: var(--r);
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(53, 43, 31, .08);
}
.gallery-row img.is-contain {
  background: var(--cream-warm);
  object-fit: contain;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.review-card h2 {
  color: var(--green-deep);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.05;
}
.review-header a {
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.feedback-grid img {
  width: 100%;
  aspect-ratio: .75;
  border-radius: var(--r);
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(53, 43, 31, .08);
}

/* ═══════════════════════════════════════════════════════════ final CTA */
.final-cta {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 42px;
  margin-bottom: 72px;
  border-radius: var(--r-lg);
  background: var(--green-btn);
  padding: 30px 42px;
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 61, 43, .18);
}
.final-cta img {
  width: 145px;
  aspect-ratio: .9 / 1;
  border-radius: var(--r);
  object-fit: cover;
  transform: rotate(-7deg);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .22);
}
.final-cta h2 {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
}
.final-cta p {
  margin-top: 10px;
  color: #fff3dd;
  font-size: 18px;
  font-weight: 700;
}
.final-cta .btn {
  min-width: 250px;
  background: var(--coral-cta);
  color: #fff;
}
@media (hover: hover) {
  .final-cta .btn:hover { transform: translateY(-2px); background: #ff8271; }
}

/* ═══════════════════════════════════════════════════════════════ footer */
.site-footer {
  background: var(--green-footer);
  color: var(--cream-text);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  width: min(100% - 64px, var(--shell));
  margin-inline: auto;
}
.footer-brand {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-footer);
}
.footer-tagline {
  max-width: 280px;
  margin-top: 8px;
  color: var(--cream-dim);
  font-size: 15px;
  line-height: 1.6;
}
.footer-title {
  color: var(--gold-footer);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.socials {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 245, .22);
  border-radius: var(--r);
  color: var(--cream-text);
  transition: background-color .18s ease, transform .18s ease;
}
.socials .ico { width: 22px; height: 22px; }
.socials img {
  width: 22px;
  height: 22px;
  filter: invert(1);   /* source glyphs are black-on-transparent → flip to white */
}
@media (hover: hover) {
  .socials a:hover { background: rgba(255, 250, 245, .12); transform: translateY(-2px); }
}

/* ══════════════════════════════════════════════════════════ responsive */

/* ---- 1279px and down: tighter desktop ---- */
@media (max-width: 1279px) {
  .home > section { width: min(100% - 40px, 1000px); }
  .footer-inner   { width: min(100% - 40px, 1000px); }

  .hero              { min-height: 620px; }
  .hero-copy         { padding: 58px 34px 58px 40px; }
  .hero-copy h1      { max-width: 520px; font-size: clamp(40px, 5.4vw, 62px); }
  .hero-copy p       { max-width: 430px; font-size: 21px; }
  .hero-actions      { gap: 14px; }
  .hero-actions .btn { min-height: 58px; padding: 0 24px; font-size: 16px; }
  .hero-benefits     { gap: 12px 20px; margin-top: 42px; }
  .hero-visual       { inset: 0 0 0 34%; min-height: 620px; }
  .hero-prices       { right: 38px; bottom: 40px; width: min(530px, 50vw); gap: 16px; }
  .price-card        { padding: 18px 12px 16px; }

  .magnet-layout            { grid-template-columns: 1fr; gap: 28px; }
  .magnet-content           { order: 1; }
  .magnet-visual            { order: 2; min-height: 360px; }
  .magnet-visual > img      { min-height: 360px; }
  .magnet-content .section-title h2 { max-width: none; }

  .delivery { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; padding-left: 0; }
}

/* ---- 1023px and down: single column ---- */
@media (max-width: 1023px) {
  .nav-links,
  .nav-cta   { display: none; }
  .nav-burger { display: flex; }
  .topbar     { width: min(100% - 32px, var(--shell)); }

  .mobile-nav          { display: grid; }
  .mobile-nav[hidden]  { display: none; }

  .home > section  { width: min(100% - 32px, 720px); }
  .footer-inner    { width: min(100% - 32px, 720px); }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero::before { display: none; }
  .hero-copy    { padding: 44px 16px 36px; }
  .hero-visual  { position: relative; inset: auto; min-height: 0; }
  .hero-visual > img { height: auto; aspect-ratio: 4 / 3; }
  .hero-prices {
    position: static;
    width: auto;
    gap: 10px;
    padding: 18px 16px 28px;
    background: var(--cream);
  }
  .price-card strong { font-size: 27px; }
  .price-card span   { font-size: 10px; padding: 6px 8px; }

  .band { padding: 40px 0; }
  .section-title h2,
  .magnet-content .section-title h2,
  .frame-copy .section-title h2 { font-size: 32px; }
  .section-title p, .frame-lede { font-size: 16px; }

  .magnet-layout  { padding: 18px; }
  .set-grid       { grid-template-columns: repeat(2, 1fr); }
  .set-card strong { font-size: 34px; }
  .spec-grid      { grid-template-columns: repeat(2, 1fr); }

  .frame-band    { grid-template-columns: 1fr; gap: 0; padding: 0 18px; }
  .frame-copy    { padding: 32px 0 0; }
  .frame-visual  { min-height: 0; padding: 18px 0 28px; }
  .frame-prices  { grid-template-columns: repeat(3, 1fr); }
  .frame-actions { grid-template-columns: 1fr; }
  .frame-actions .btn { font-size: 16px; min-height: 56px; }

  .order-card    { grid-template-columns: 1fr; gap: 24px; padding: 24px 18px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .process article:not(:last-child)::after { display: none; }

  .proof-grid    { grid-template-columns: 1fr; }
  .quality-card,
  .review-card   { padding: 20px; }
  .quality-card h2 { font-size: 26px; }
  .quality-body  { grid-template-columns: 1fr; gap: 20px; }
  .quality-body img { max-width: 320px; margin-inline: auto; }
  .gallery-row   { grid-template-columns: repeat(2, 1fr); }

  .final-cta {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    padding: 28px 20px;
    text-align: center;
  }
  .final-cta h2 { font-size: 28px; }
  .final-cta .btn { width: 100%; min-width: 0; }
}

/* ---- phones ---- */
@media (max-width: 599px) {
  .home > section,
  .footer-inner   { width: calc(100% - 32px); }

  .hero-copy h1   { font-size: clamp(34px, 9vw, 44px); }
  .hero-benefits  { grid-template-columns: 1fr; margin-top: 30px; }
  .hero-actions   { display: grid; }
  .hero-prices    { grid-template-columns: 1fr; }
  .price-card     { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .price-card strong { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; }
  .price-card span   { margin-top: 6px; justify-self: start; }

  .set-grid       { grid-template-columns: 1fr; }
  .set-card       { min-height: 0; }
  .spec-grid      { grid-template-columns: 1fr; }
  .frame-prices   { grid-template-columns: repeat(2, 1fr); }
  .color-row      { grid-template-columns: repeat(4, 1fr); }
  .color-row strong { grid-column: 1 / -1; padding-top: 0; }
  .process-steps  { grid-template-columns: 1fr; }
  .gallery-row    { grid-template-columns: 1fr 1fr; }
  .feedback-grid  { grid-template-columns: 1fr 1fr; }
  .magnet-actions { display: grid; }
  .magnet-actions .btn { width: 100%; }
  .calc { grid-template-columns: 1fr; gap: 6px; }
}

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

/* ==========================================================================
   TRANG PHỤ — products / reviews / about / contact / order
   ========================================================================== */

/* active state in the nav (all pages) */
.nav-links a.is-active { color: var(--coral); }
.nav-links a.is-active::after { width: 100%; }
.mobile-nav a.is-active { color: var(--coral); }

/* ------------------------------------------------------------ products */
.page-head { padding: 32px 0 0; }
.page-head .section-title h2 { font-size: 54px; }

/* ------------------------------------------------------------- reviews */
.reviews-page {
  width: min(100% - 64px, 1120px);
  margin-inline: auto;
  padding: 54px 0 64px;
  color: var(--green-deep);
}

.reviews-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream-warm);
  box-shadow: 0 14px 34px rgba(53, 43, 31, .07);
}
.reviews-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.reviews-hero > div {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 46px;
  background: linear-gradient(90deg,
    rgba(255, 253, 248, .95), rgba(255, 253, 248, .8) 40%,
    rgba(255, 253, 248, .3) 65%, transparent 85%);
}
.reviews-hero span {
  display: block;
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}
.reviews-hero h1 {
  max-width: 620px;
  margin-top: 10px;
  color: var(--green-deep);
  font-size: 58px;
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.015em;
}
.reviews-hero p {
  max-width: 520px;
  margin-top: 10px;
  color: var(--ink-body);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.45;
}

.reviews-gallery-section { margin-top: 24px; }
.reviews-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.reviews-section-heading h2 {
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.reviews-section-heading span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.reviews-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.reviews-gallery button {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(53, 43, 31, .06);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.reviews-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}
@media (hover: hover) {
  .reviews-gallery button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(53, 43, 31, .14);
  }
}

.reviews-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
  border-radius: var(--r-lg);
  background: var(--green-btn);
  padding: 22px 26px;
  color: #fff;
  box-shadow: 0 16px 32px rgba(53, 43, 31, .14);
}
.reviews-cta span,
.reviews-cta strong { display: block; line-height: 1.15; }
.reviews-cta span { color: #f8ddc3; font-size: 13px; font-weight: 850; }
.reviews-cta strong { margin-top: 4px; font-size: 22px; font-weight: 900; }
.reviews-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 7px;
  background: var(--coral-cta);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease;
}
@media (hover: hover) {
  .reviews-cta a:hover { transform: translateY(-2px); background: #ff8271; }
}

/* ------------------------------------------------- about + contact shell */
.doc-page {
  background: var(--cream);
  color: var(--green-deep);
  padding: 54px 0 86px;
}
.doc-page > section {
  width: min(100% - 64px, var(--shell));
  margin-inline: auto;
}

.doc-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--r-lg);
  background: var(--cream-warm);
}
.doc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    #fffaf2, #fffaf2 39%,
    rgba(255, 250, 242, .94) 47%,
    rgba(255, 250, 242, .58) 60%,
    rgba(255, 250, 242, .08) 74%, transparent);
}
.doc-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: 64px 58px;
}
.doc-copy > span,
.doc-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}
.doc-copy > span::before,
.doc-heading span::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
}
.doc-copy h1 {
  max-width: 620px;
  margin-top: 12px;
  color: var(--green-deep);
  font-size: clamp(38px, 4vw, 70px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.015em;
}
.doc-copy p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--ink-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.doc-actions { display: flex; gap: 16px; margin-top: 32px; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 62px;
  border-radius: var(--r);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pill-primary {
  background: var(--coral-cta);
  color: #fff;
  box-shadow: 0 12px 22px hsla(8, 87%, 65%, .25);
}
.pill-ghost {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--green-deep);
}
@media (hover: hover) {
  .pill:hover { transform: translateY(-2px); }
}

.doc-visual {
  position: absolute;
  inset: 0 0 0 32%;
  z-index: 0;
  height: 100%;
}
.doc-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 58%;
}

.doc-section { margin-top: 58px; }
.doc-heading h2 {
  max-width: 760px;
  margin-top: 10px;
  color: var(--green-deep);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.doc-story {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  padding: 28px;
  box-shadow: 0 10px 24px rgba(53, 43, 31, .04);
}
.doc-story p {
  color: #514940;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.65;
}
.doc-story p + p { margin-top: 14px; }

/* ------------------------------------------------------------ timeline */
.timeline {
  position: relative;
  display: grid;
  margin: 20px 0 0 24px;
  padding-left: 32px;
  border-left: 2px solid var(--line);
}
.timeline article { position: relative; padding-bottom: 32px; }
.timeline article:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  top: 2px;
  left: -40px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--cream);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 2px var(--line);
}
.timeline article:last-child .timeline-dot { background: var(--green-deep); }
.timeline strong {
  display: block;
  color: var(--coral);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.timeline p {
  margin-top: 6px;
  color: #514940;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}
.timeline-link {
  color: var(--coral);
  font-weight: 900;
  text-decoration: underline;
}

.doc-future {
  position: relative;
  overflow: hidden;
  margin: 64px 0 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #173c2d, #1a5c3a 40%, #2a7a4e 70%, #f36b57);
  padding: 72px 80px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(18, 61, 43, .25);
}
.doc-future::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 200px;
  line-height: 1;
  opacity: .2;
}
.doc-future p {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  color: var(--cream);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

/* ------------------------------------------------------------- contact */
.contact-panel {
  margin-top: 58px;
  border-radius: var(--r-lg);
  background: var(--green-btn);
  padding: 40px;
  color: #fff;
}
.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.contact-list a {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .08);
  padding: 20px;
  transition: background-color .2s ease, transform .18s ease;
}
@media (hover: hover) {
  .contact-list a:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
}
.contact-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: invert(1);
  opacity: .85;
}
.contact-icon.is-color { filter: none; opacity: 1; }   /* the Zalo mark is already coloured */
.contact-list span {
  color: #f5d9c6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}
.contact-list strong {
  display: block;
  min-width: 0;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

/* --------------------------------------------------------------- order */
.order-page {
  min-height: 70vh;
  background: var(--cream);
  color: var(--green-deep);
  padding: 56px 0 92px;
}
.order-shell {
  display: grid;
  width: min(100% - 64px, 900px);
  margin-inline: auto;
}
.order-flow-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  padding: 24px 24px 30px;
  box-shadow: var(--shadow-panel);
}

.order-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--cream);
  padding: 20px;
  color: #8c8579;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}
.order-steps li { display: flex; align-items: center; gap: 10px; }
.order-steps li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
}
.order-steps li.is-current { color: var(--green-deep); font-weight: 900; }
.order-steps li.is-current span { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.step-arrow { width: 14px; height: 12px; margin-left: 8px; flex-shrink: 0; }

.order-dropzone-wrap { display: grid; place-items: center; margin-top: 24px; }
.order-dropzone {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  width: 100%;
  min-height: 190px;
  border: 2px dashed #cdbfac;
  border-radius: var(--r);
  background: var(--cream-warm);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
@media (hover: hover) {
  .order-dropzone:hover { border-color: var(--green-deep); background: #fdf6ea; }
}
.order-dropzone svg {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  color: var(--green-deep);
}
.order-dropzone-title { color: var(--green-deep); font-size: 18px; font-weight: 900; }
.order-dropzone-hint  { color: var(--ink-faint); font-size: 14px; font-weight: 650; }

.order-empty {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}
.order-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.order-thumbs:empty { display: none; }

.order-submit { display: grid; place-items: center; margin-top: 24px; }
.btn-continue {
  min-width: 160px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--r);
  background: var(--green-btn);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.btn-continue:disabled { background: #d8d2c9; color: var(--ink-faint); cursor: not-allowed; }

/* --------------------------------------------------- desk-frame picker */
.frame-selector {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream-warm);
  padding: 16px;
}
.frame-selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.frame-selector-header h3 { color: var(--green-deep); font-size: 15px; font-weight: 900; }
.frame-selector-total { color: var(--coral); font-size: 16px; font-weight: 900; }

.frame-selector-list { display: grid; gap: 8px; margin-bottom: 12px; }
.frame-selector-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  padding: 10px 12px;
}
.frame-selector-color { width: 24px; height: 24px; border: 2px solid var(--line); border-radius: 50%; }
.frame-selector-info strong { display: block; color: var(--green-deep); font-size: 13px; font-weight: 850; }
.frame-selector-info span { color: #776d61; font-size: 11px; font-weight: 650; }
.frame-selector-remove {
  border: 0;
  background: none;
  color: var(--coral);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.frame-selector-form {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  padding: 14px;
}
.frame-selector-sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.frame-selector-sizes button {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 10px 4px;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.frame-selector-sizes button.active { border-color: var(--green-btn); background: var(--sage); }
.frame-selector-sizes span   { color: #423c35; font-size: 10px; font-weight: 850; }
.frame-selector-sizes strong { color: var(--green-deep); font-size: 15px; font-weight: 900; }

.frame-selector-colors { margin-top: 14px; }
.frame-selector-colors > p { margin-bottom: 8px; color: var(--green-deep); font-size: 12px; font-weight: 900; }
.frame-selector-colors > div { display: flex; flex-wrap: wrap; gap: 6px; }
.frame-selector-colors button {
  display: grid;
  gap: 3px;
  justify-items: center;
  align-items: center;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  padding: 5px 7px;
  font: inherit;
  cursor: pointer;
}
.frame-selector-colors button.active { border-color: var(--green-btn); background: var(--sage); }
.frame-selector-colors button span {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
}
.frame-selector-colors button small { color: #423c35; font-size: 9px; font-weight: 800; }

.frame-selector-count { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.frame-selector-count > p { color: var(--green-deep); font-size: 12px; font-weight: 900; }
.frame-selector-count > div {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.frame-selector-count button {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--sand);
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.frame-selector-count > div span {
  width: 36px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

/* `hidden` has to beat the display declarations below */
.frame-selector-form[hidden],
.frame-selector-list[hidden],
.frame-selector-total[hidden],
.frame-selector-add-btn[hidden] { display: none; }

.frame-selector-actions { display: flex; gap: 8px; margin-top: 14px; }
.frame-selector-confirm,
.frame-selector-cancel {
  flex: 1;
  min-height: 42px;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
.frame-selector-confirm { border: 0; background: var(--coral-cta); color: #fff; }
.frame-selector-cancel  { border: 1px solid var(--line-strong); background: var(--paper); color: var(--green-deep); }
@media (hover: hover) {
  .frame-selector-confirm:hover { background: #ff8271; }
  .frame-selector-cancel:hover  { border-color: var(--green-deep); }
}

.frame-selector-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r);
  background: transparent;
  color: var(--green-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}
@media (hover: hover) {
  .frame-selector-add-btn:hover { border-color: var(--green-deep); background: var(--paper); }
}

/* ══════════════════════════════════════════════ responsive — trang phụ */
@media (max-width: 1279px) {
  .reviews-page,
  .doc-page > section { width: min(100% - 40px, 1040px); }
  .order-shell        { width: min(100% - 40px, 900px); }

  .page-head .section-title h2 { font-size: 40px; }

  .doc-hero    { min-height: 520px; }
  .doc-copy    { padding: 48px 34px; }
  .doc-copy h1 { max-width: 500px; font-size: clamp(38px, 5vw, 56px); }
  .doc-copy p  { max-width: 430px; font-size: 18px; }
  .doc-visual  { left: 38%; }
  .doc-future  { padding: 56px 40px; }
}

@media (max-width: 1023px) {
  .reviews-page,
  .doc-page > section { width: min(100% - 32px, 720px); }
  .order-shell        { width: min(100% - 32px, 720px); }
  .reviews-page       { padding: 28px 0 40px; }
  .doc-page           { padding: 28px 0 48px; }
  .order-page         { padding: 28px 0 48px; }

  .page-head { padding-top: 20px; }
  .page-head .section-title h2 { font-size: 32px; }

  .reviews-hero      { min-height: 280px; }
  .reviews-hero > div { padding: 30px 22px; }
  .reviews-hero h1   { font-size: 36px; }
  .reviews-hero p    { font-size: 16px; }
  .reviews-gallery   { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .reviews-cta       { grid-template-columns: 1fr; }
  .reviews-cta a     { width: 100%; }

  /* hero stacks: photo on top, copy below — no more text-over-photo */
  .doc-hero    { grid-template-columns: 1fr; min-height: 0; }
  .doc-hero::before { display: none; }
  .doc-copy    { order: 2; padding: 26px 20px 28px; }
  .doc-copy h1 { max-width: none; font-size: clamp(28px, 6vw, 38px); }
  .doc-copy p  { max-width: none; font-size: 16px; }
  .doc-visual  { position: relative; inset: auto; order: 1; height: 240px; }
  .doc-actions { display: grid; gap: 10px; margin-top: 22px; }
  .pill        { min-width: 0; min-height: 52px; font-size: 16px; }

  .doc-section    { margin-top: 34px; }
  .doc-heading h2 { font-size: 28px; }
  .doc-story      { padding: 18px; }
  .doc-story p    { font-size: 15px; }
  .timeline       { margin-left: 16px; padding-left: 24px; }
  .timeline-dot   { left: -31px; width: 14px; height: 14px; }
  .timeline strong { font-size: 15px; }
  .timeline p      { font-size: 14px; }
  .doc-future      { margin-top: 40px; padding: 44px 24px; }
  .doc-future p    { font-size: 17px; }
  .doc-future::before { top: -24px; font-size: 130px; }

  .contact-panel { margin-top: 34px; padding: 20px; }
  .contact-list  { grid-template-columns: repeat(2, 1fr); }

  .order-flow-card { padding: 18px 16px 22px; }
  .order-steps     { flex-wrap: wrap; gap: 10px; padding: 14px; font-size: 13px; }
  .step-arrow      { margin-left: 4px; }
  .order-dropzone  { min-height: 150px; }
  .order-dropzone-title { font-size: 16px; }
}

@media (max-width: 599px) {
  .reviews-page,
  .doc-page > section,
  .order-shell { width: calc(100% - 32px); }

  .reviews-hero h1 { font-size: 28px; }
  .reviews-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .reviews-cta strong { font-size: 18px; }

  .contact-list { grid-template-columns: 1fr; }
  .contact-list strong { font-size: 15px; }

  .frame-selector-sizes { grid-template-columns: repeat(3, 1fr); }
  .order-steps li { font-size: 12px; }
}

/* ==========================================================================
   TRANG CHI TIẾT — details.html (ảnh nam châm) / khung-de-ban.html (khung)
   ========================================================================== */
.detail-page {
  background: var(--cream);
  color: var(--green-deep);
  padding: 54px 0 86px;
}
.detail-shell { width: min(100% - 64px, var(--shell)); margin-inline: auto; }

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--r-lg);
  background: var(--cream-warm);
}
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    #fffaf2, #fffaf2 39%,
    rgba(255, 250, 242, .94) 47%,
    rgba(255, 250, 242, .58) 60%,
    rgba(255, 250, 242, .08) 74%, transparent);
}
.detail-visual { position: absolute; inset: 0 0 0 30%; z-index: 0; height: 100%; }
.detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.detail-magnet .detail-visual img { object-position: 70% 61%; }
.detail-frame  .detail-visual img { object-position: left center; }

.detail-intro {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: 68px 58px;
}
.detail-intro > span {
  display: block;
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.detail-intro h1 {
  margin-top: 16px;
  color: var(--green-deep);
  font-size: clamp(34px, 4vw, 68px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.015em;
}
.detail-intro p {
  max-width: 520px;
  margin-top: 20px;
  color: var(--ink-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.detail-actions { display: flex; gap: 16px; width: min(100%, 620px); margin-top: 28px; }

.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: 0 10px 24px rgba(53, 43, 31, .05);
}

/* price row on the frame page */
.frame-price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 28px;
  background: var(--line);
}
.frame-price-grid article { min-width: 0; background: var(--paper); padding: 24px 18px 20px; text-align: center; }
.frame-price-grid p { min-height: 38px; color: #423c35; font-size: 14px; font-weight: 850; line-height: 1.2; }
.frame-price-grid strong { display: block; margin-top: 5px; color: var(--coral); font-size: 40px; font-weight: 900; line-height: .92; }
.frame-price-grid article > span {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.detail-note { margin-top: 10px; color: var(--ink-faint); font-size: 13px; font-style: italic; font-weight: 650; }

.detail-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 22px;
  color: var(--ink-body);
  font-size: 14px;
  font-weight: 800;
}
.detail-swatches strong { color: var(--green-deep); }
.detail-swatches span { display: inline-flex; align-items: center; gap: 6px; }
.detail-swatches i { width: 20px; height: 20px; border: 1px solid #c9baaa; border-radius: 999px; }

/* icon strips */
.detail-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 28px;
  background: var(--line);
}
.detail-icon-grid.is-compact { grid-template-columns: repeat(3, 1fr); }
.detail-icon-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  background: var(--paper);
  padding: 22px 24px;
}
.detail-icon-grid .ico { grid-row: 1 / span 2; width: 40px; height: 40px; color: var(--coral); stroke-width: 1.7; }
.detail-icon-grid strong { display: block; color: var(--green-deep); font-size: 18px; font-weight: 900; line-height: 1.18; }
.detail-icon-grid span { display: block; margin-top: 3px; color: #776d61; font-size: 13px; font-weight: 750; line-height: 1.18; }

/* feature list on the frame page */
.detail-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  background: var(--line);
}
.detail-feature-list article { background: var(--paper); padding: 28px 24px; text-align: center; }
.detail-feature-list .ico { display: block; width: 44px; height: 44px; margin: 0 auto 12px; color: var(--coral); stroke-width: 1.7; }
.detail-feature-list h3 { color: var(--green-deep); font-size: 18px; font-weight: 900; line-height: 1.2; }
.detail-feature-list p { margin-top: 6px; color: var(--ink-muted); font-size: 14px; font-weight: 650; line-height: 1.5; }

/* order process (detail page variant) */
.detail-process { margin-top: 28px; padding: 34px; }
.detail-process h2 { color: var(--green-deep); font-size: 28px; font-weight: 900; line-height: 1; text-align: center; text-transform: uppercase; }
.detail-process > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 30px; }
.detail-process article { text-align: center; }
.detail-process b {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font-size: 14px;
}
.detail-process .ico { display: block; width: 50px; height: 50px; margin: 0 auto 12px; color: var(--coral); stroke-width: 1.6; }
.detail-process h3 { color: var(--green-deep); font-size: 18px; font-weight: 900; }
.detail-process p { max-width: 230px; margin: 9px auto 0; color: #514940; font-size: 13px; font-weight: 650; line-height: 1.4; }

/* 6-layer block */
.detail-layer {
  display: grid;
  grid-template-columns: minmax(360px, .72fr) 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 28px;
  padding: 34px 38px;
}
.detail-layer h2 { grid-column: 1 / -1; color: var(--green-deep); font-size: 34px; font-weight: 900; line-height: 1.1; text-transform: uppercase; }
.detail-layer img { width: 100%; max-width: 420px; border-radius: var(--r); object-fit: contain; }
.detail-layer p {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  color: #2f3a33;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}
.detail-layer p:first-child { margin-top: 0; }
.detail-layer p span {
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

/* nano glue block */
.detail-nano { position: relative; overflow: hidden; min-height: 340px; margin-top: 28px; border-radius: var(--r-lg); }
.detail-nano img { position: absolute; top: 0; left: 0; width: 65%; height: 100%; object-fit: cover; }
.detail-nano-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 70%;
  min-height: inherit;
  margin-left: auto;
  padding: 42px;
  text-align: right;
  background: linear-gradient(270deg, #fffdf8, rgba(255, 253, 248, .95) 40%,
              rgba(255, 253, 248, .7) 70%, rgba(255, 253, 248, .2) 90%, transparent);
}
.detail-nano h2 { color: var(--green-deep); font-size: 28px; font-weight: 900; line-height: 1.1; text-transform: uppercase; }
.detail-nano p { margin-top: 12px; color: var(--ink-muted); font-size: 18px; font-weight: 650; line-height: 1.6; }

/* customer gallery */
.detail-section { margin-top: 58px; }
.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-heading h2 { color: var(--green-deep); font-size: 28px; font-weight: 900; line-height: 1.1; text-transform: uppercase; }
.detail-heading a { color: var(--coral); font-size: 14px; font-weight: 850; white-space: nowrap; }
.detail-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 18px; }
.detail-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r);
  object-fit: cover;
  box-shadow: 0 8px 15px rgba(53, 43, 31, .09);
}

/* the magnet detail page reuses .set-grid from the homepage */
.detail-set-grid { margin-top: 28px; }

@media (max-width: 1279px) {
  .detail-shell     { width: min(100% - 40px, 1040px); }
  .detail-hero      { min-height: 520px; }
  .detail-intro     { padding: 48px 34px; }
  .detail-intro h1  { max-width: 500px; font-size: clamp(34px, 5vw, 56px); }
  .detail-intro p   { max-width: 430px; font-size: 18px; }
  .detail-visual    { left: 38%; }
  .detail-layer     { grid-template-columns: 1fr; }
  .detail-layer img { justify-self: center; }
  .frame-price-grid strong { font-size: 34px; }
}

@media (max-width: 1023px) {
  .detail-page      { padding: 28px 0 48px; }
  .detail-shell     { width: min(100% - 32px, 720px); }

  /* hero stacks: photo on top, copy below */
  .detail-hero      { grid-template-columns: 1fr; min-height: 0; }
  .detail-hero::before { display: none; }
  .detail-visual    { position: relative; inset: auto; order: 1; height: 240px; }
  .detail-intro     { order: 2; padding: 24px 20px 26px; }
  .detail-intro h1  { max-width: none; font-size: clamp(24px, 6vw, 34px); }
  .detail-intro p   { max-width: none; margin-top: 12px; font-size: 15px; }
  .detail-actions   { display: grid; width: 100%; gap: 10px; margin-top: 18px; }

  .frame-price-grid { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
  .frame-price-grid article { padding: 14px 8px 12px; }
  .frame-price-grid p { min-height: 30px; font-size: 12px; }
  .frame-price-grid strong { font-size: 26px; }

  .detail-icon-grid,
  .detail-feature-list,
  .detail-process,
  .detail-layer,
  .detail-nano,
  .detail-set-grid  { margin-top: 18px; }

  .detail-icon-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-icon-grid article { padding: 14px 12px; }
  .detail-icon-grid strong { font-size: 14px; }
  .detail-icon-grid span { font-size: 11px; }
  .detail-feature-list { grid-template-columns: 1fr; }
  .detail-feature-list article { padding: 18px; }

  .detail-process   { padding: 18px; }
  .detail-process h2 { font-size: 20px; }
  .detail-process > div { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
  .detail-process .ico { width: 40px; height: 40px; }
  .detail-process h3 { font-size: 15px; }

  .detail-layer     { padding: 18px; }
  .detail-layer h2  { font-size: 20px; }
  .detail-layer p   { grid-template-columns: 24px 1fr; gap: 8px; margin-top: 8px; font-size: 13px; }
  .detail-layer p span { width: 21px; height: 21px; font-size: 10px; }

  .detail-nano      { min-height: 0; }
  .detail-nano img  { position: relative; width: 100%; height: 220px; }
  .detail-nano-content { width: 100%; margin-left: 0; padding: 20px; text-align: left; background: var(--cream-warm); }
  .detail-nano h2   { font-size: 20px; }
  .detail-nano p    { font-size: 15px; }

  .detail-section   { margin-top: 34px; }
  .detail-heading h2 { font-size: 20px; }
  .detail-gallery   { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .detail-swatches  { gap: 8px 12px; font-size: 12px; }
  .detail-swatches i { width: 16px; height: 16px; }
}

@media (max-width: 599px) {
  .detail-shell      { width: calc(100% - 32px); }
  .frame-price-grid  { grid-template-columns: repeat(2, 1fr); }
  .detail-icon-grid,
  .detail-icon-grid.is-compact { grid-template-columns: 1fr; }
  .detail-process > div { grid-template-columns: 1fr; }
  .detail-gallery    { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* ==========================================================================
   Trang chủ & Sản phẩm không có footer
   → bỏ viền đáy của khối cuối và chừa khoảng thở ở cuối trang
   ========================================================================== */
.home > section:last-child { border-bottom: 0; }
.home > .band:last-child   { padding-bottom: 72px; }

@media (max-width: 1023px) {
  .home > .band:last-child { padding-bottom: 48px; }
}
