/* =========================================================
   prints16tb — landing page sections
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px);
}

.hero::before {
  /* warm radial glow, very subtle */
  content: "";
  position: absolute;
  top: -340px;
  right: -180px;
  width: 760px;
  height: 760px;
  background: radial-gradient(
    circle,
    rgba(255, 138, 0, 0.14),
    rgba(255, 138, 0, 0) 62%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 .accent {
  color: var(--accent-ink);
}

.hero-sub {
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 30ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* ----- Hero visual: estimate card + 3D cube ----- */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.preview-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, #ffffff 0%, #f6f2ec 100%);
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.preview-stage .grid-floor {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(27, 25, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 25, 22, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 35%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 55%, #000 35%, transparent 72%);
}

.preview-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.preview-tag .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* CSS 3D cube */
.cube-scene {
  perspective: 800px;
  width: 130px;
  height: 130px;
}

.cube {
  position: relative;
  width: 130px;
  height: 130px;
  transform-style: preserve-3d;
  animation: spin 16s linear infinite;
}

@keyframes spin {
  from {
    transform: rotateX(-24deg) rotateY(0deg);
  }
  to {
    transform: rotateX(-24deg) rotateY(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cube {
    animation: none;
    transform: rotateX(-24deg) rotateY(-32deg);
  }
}

.cube .face {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1.5px solid var(--accent);
  background: rgba(255, 138, 0, 0.13);
  border-radius: 8px;
}

.cube .f-front {
  transform: translateZ(65px);
}
.cube .f-back {
  transform: rotateY(180deg) translateZ(65px);
}
.cube .f-right {
  transform: rotateY(90deg) translateZ(65px);
  background: rgba(255, 138, 0, 0.2);
}
.cube .f-left {
  transform: rotateY(-90deg) translateZ(65px);
  background: rgba(255, 138, 0, 0.08);
}
.cube .f-top {
  transform: rotateX(90deg) translateZ(65px);
  background: rgba(255, 138, 0, 0.26);
}
.cube .f-bottom {
  transform: rotateX(-90deg) translateZ(65px);
  background: rgba(255, 138, 0, 0.04);
}

/* floating estimate card */
.est-card {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 256px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 16px 18px;
}

.est-card .est-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.est-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  white-space: nowrap;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.est-row .v {
  font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
}

.est-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.est-total .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.est-total .amt {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    align-items: flex-start;
  }
  .hero-sub {
    max-width: 46ch;
  }
  .hero-visual {
    min-height: 360px;
    margin-top: 12px;
  }
}

/* ---------- Logo / trust strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding: 22px 0;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
}

.strip-item .k {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-ink);
  font-weight: 700;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  box-shadow: var(--sh-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--line-strong);
}

.feature .ficon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  margin-bottom: 18px;
}

.feature .ficon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- How it works ---------- */
.steps-wrap {
  background: var(--surface-2);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.stepcard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 32px;
  box-shadow: var(--sh-sm);
}

.stepcard .num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
  letter-spacing: 0.1em;
}

.stepcard h3 {
  font-size: 1.22rem;
  margin: 16px 0 10px;
}

.stepcard p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.stepcard .step-illu {
  margin-top: 22px;
  height: 92px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stepcard .step-illu svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing & materials ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.price-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.price-table .pt-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-table .pt-head h3 {
  font-size: 1.15rem;
}

.pricerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  border-bottom: 1px solid var(--line);
}

.pricerow:last-child {
  border-bottom: none;
}

.pricerow .pr-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pricerow .pr-label .t {
  font-weight: 700;
  font-size: 15.5px;
}

.pricerow .pr-label .s {
  font-size: 13px;
  color: var(--muted);
}

.pricerow .pr-val {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

/* qualitative factor rows (no prices shown) */
.factorrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}

.factorrow:last-child {
  border-bottom: none;
}

.factorrow .fic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
}

.factorrow .fic svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.factorrow .pr-label .t {
  font-weight: 700;
  font-size: 15.5px;
}

.factorrow .pr-label .s {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.price-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.material-card,
.colors-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 24px 26px;
}

.material-card h3,
.colors-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.material-card p {
  color: var(--muted);
  font-size: 14px;
}

.material-card .spec {
  margin-top: 16px;
  display: flex;
  gap: 22px;
}

.material-card .spec div {
  display: flex;
  flex-direction: column;
}

.material-card .spec .num {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent-ink);
  letter-spacing: -0.02em;
}

.material-card .spec .cap {
  font-size: 12px;
  color: var(--muted);
}

.color-dots {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-dots .cd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
}

.color-dots .cd .sw {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(27, 25, 22, 0.14);
}

.price-note {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  border-radius: var(--r-md);
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .ic {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-size: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary .ic {
  transform: rotate(45deg);
  background: var(--accent-soft);
  border-color: var(--accent-soft-2);
}

.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 64ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(56px, 8vw, 96px) 0;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #1f1b17 0%, #2a2018 100%);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(
    circle,
    rgba(255, 138, 0, 0.32),
    rgba(255, 138, 0, 0) 64%
  );
  pointer-events: none;
}

.cta-inner .cta-copy {
  position: relative;
  max-width: 560px;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.12rem;
  margin-top: 14px;
}

.cta-inner .btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.cta-inner .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
