:root {
  --bg: #f3efe6;
  --bg-2: #ebe4d6;
  --ink: #141414;
  --muted: #5d584f;
  --line: rgba(20, 20, 20, 0.12);
  --white: #fffaf3;
  --dark: #171717;
  --wa: #128c4a;
  --wa-hover: #0f7a40;
  --sheet: #9fd4f5;
  --sheet-edge: #6aa8c9;
  --radius: 22px;
  --shadow: 0 30px 60px rgba(20, 20, 20, 0.16);
  --dock-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--dock-h) + 16px);
}

body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(47, 111, 168, 0.16), transparent 55%),
    radial-gradient(900px 420px at 0% 20%, rgba(192, 132, 58, 0.14), transparent 50%),
    var(--bg);
  line-height: 1.5;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: Syne, Manrope, sans-serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(243, 239, 230, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner {
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 5px;
  background: var(--ink);
  border-radius: 9px;
}

.logo-mark span {
  border-radius: 1px;
}

.logo-mark span:nth-child(1) {
  background: #7eb8e8;
}
.logo-mark span:nth-child(2) {
  background: #c9843a;
}
.logo-mark span:nth-child(3) {
  background: #3a8f6b;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: Syne, sans-serif;
}

.logo-text small {
  font-family: Manrope, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: none;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
}

.catalog {
  padding: 20px 0 48px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "intro stage"
    "picker stage";
  gap: 12px 48px;
  align-items: start;
}

.catalog-intro {
  grid-area: intro;
}

.sheet-stage {
  grid-area: stage;
}

.catalog-picker {
  grid-area: picker;
}

.color-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 28px;
  padding: 18px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 8px 0 18px;
}

.color-meta {
  min-width: 0;
}

.color-kicker {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.color-panel h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  line-height: 1.2;
  height: 2.4em;
  overflow: hidden;
}

#color-use {
  margin: 0;
  height: 3em;
  line-height: 1.5;
  overflow: hidden;
}

.color-stats {
  display: flex;
  gap: 28px;
  margin: 0;
}

.color-stats dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.color-stats dd {
  margin: 4px 0 0;
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
  white-space: nowrap;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.swatch {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.6);
  border-radius: 14px;
  padding: 12px 8px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  font: inherit;
}

.swatch.is-active,
.swatch:hover {
  border-color: var(--ink);
  background: var(--white);
}

.swatch__chip {
  width: 100%;
  height: 28px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      90deg,
      color-mix(in srgb, var(--swatch) 78%, white) 0 8px,
      color-mix(in srgb, var(--swatch) 100%, black 18%) 8px 9px
    );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.swatch__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn,
.dock-btn,
.swatch,
.phone-xl {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cta-row {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.catalog-picker .cta-row .btn {
  min-height: 52px;
  height: 52px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
}

.btn-compact {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.btn-whatsapp {
  background: var(--wa);
  color: white;
}

.btn-whatsapp:hover {
  background: var(--wa-hover);
}

.btn-call {
  background: var(--ink);
  color: white;
}

.btn-call-light {
  background: white;
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: white;
}

.btn-light {
  background: white;
  color: var(--ink);
}

.sheet-stage {
  min-height: 280px;
  display: grid;
  place-items: center;
  position: relative;
}

.sheet-3d {
  width: min(100%, 400px);
  height: 260px;
  position: relative;
  perspective: 1200px;
}

.sheet-stack,
.sheet-body {
  position: absolute;
  inset: 40px 70px 70px 40px;
  border-radius: 8px;
}

.stack-1 {
  background: #c9843a;
  transform: rotate(-11deg) translate(18px, 12px);
  opacity: 0.55;
}

.stack-2 {
  background: #3a8f6b;
  transform: rotate(8deg) translate(-10px, 18px);
  opacity: 0.45;
}

.sheet-body {
  display: grid;
  grid-template-columns: 1fr 18px;
  transform: rotateY(-18deg) rotateX(8deg);
  filter: drop-shadow(var(--shadow));
}

.sheet-face,
.sheet-edge {
  transition: background 0.35s ease;
}

.sheet-face {
  --sheet: #9fd4f5;
  border-radius: 6px 0 0 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 28%),
    repeating-linear-gradient(
      90deg,
      color-mix(in srgb, var(--sheet) 72%, white) 0 14px,
      color-mix(in srgb, var(--sheet) 100%, #111 22%) 14px 16px
    );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.sheet-edge {
  --sheet-edge: #6aa8c9;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--sheet-edge) 70%, white), var(--sheet-edge));
}

.sheet-caption {
  position: absolute;
  bottom: 8px;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.accessories {
  margin-top: 56px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
}

.accessory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.accessory-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.accessory-photo {
  aspect-ratio: 4 / 3;
  background: #ece6d8;
  overflow: hidden;
}

.accessory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.accessory-photo--u img {
  object-position: 68% 48%;
  transform: scale(1.55);
}

.accessory-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}

.accessory-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.35em;
}

.accessory-card p {
  color: var(--muted);
  min-height: 0;
  margin-bottom: 16px;
  flex: 1;
}

.contact {
  background: var(--dark);
  color: #f6f1e8;
  padding: 48px 0 56px;
}

.contact-box {
  text-align: center;
}

.contact-box .eyebrow {
  color: rgba(246, 241, 232, 0.62);
}

.contact p {
  color: rgba(246, 241, 232, 0.74);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.contact .cta-row {
  max-width: 520px;
  margin: 8px auto 0;
}

.phone-xl {
  display: block;
  font-family: Syne, sans-serif;
  font-size: clamp(2.1rem, 8vw, 4.2rem);
  letter-spacing: -0.04em;
  text-decoration: none;
  color: white;
  margin: 8px 0 12px;
  line-height: 1;
}

.site-footer {
  padding: 28px 0 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-weight: 700;
}

.footer-nav a {
  text-decoration: none;
}

.footer-inner a {
  font-weight: 800;
  text-decoration: none;
}

.action-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 239, 230, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}

.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
}

.dock-btn svg {
  width: 20px;
  height: 20px;
}

.dock-call {
  background: var(--ink);
  color: white;
}

.dock-wa {
  background: var(--wa);
  color: white;
}

@media (min-width: 901px) {
  body {
    padding-bottom: 0;
  }

  .color-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .nav,
  .header-cta {
    display: flex;
  }

  .action-dock {
    display: none;
  }

  .cta-row {
    grid-template-columns: 1fr 1fr;
    max-width: 460px;
  }

  .contact .cta-row {
    max-width: 520px;
  }

  .sheet-stage {
    min-height: 460px;
  }

  .sheet-3d {
    height: 420px;
  }

  .sheet-caption {
    bottom: 24px;
  }
}

@media (max-width: 900px) {
  .wrap {
    width: min(1180px, calc(100% - 24px));
  }

  h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.6rem);
  }

  .lead {
    font-size: 1rem;
  }

  .catalog-grid,
  .accessory-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-areas:
      "intro"
      "stage"
      "picker";
    gap: 18px;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .swatches {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guides {
  padding: 8px 0 56px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.guide-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  text-decoration: none;
}

.guide-card h3 {
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: none;
  font-weight: 700;
}

.breadcrumb li {
  list-style: none;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line);
  font-weight: 600;
}

.article-page {
  padding: 28px 0 8px;
}

.article-hero {
  max-width: 42rem;
  margin-bottom: 28px;
}

.article-hero h1 {
  font-size: clamp(1.85rem, 5.2vw, 3rem);
  line-height: 1.05;
}

.article {
  max-width: 42rem;
}

.article h2 {
  font-size: clamp(1.28rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 1.7em 0 0.55em;
}

.article h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 1.2em 0 0.4em;
}

.article p,
.article li {
  color: var(--muted);
}

.article ul,
.article ol {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}

.article li {
  margin: 0 0 0.4rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  background: rgba(255, 250, 243, 0.7);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.faq {
  margin: 8px 0 28px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 4px 0;
}

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

.faq details p {
  margin: 8px 0 4px;
}

.related {
  display: grid;
  gap: 10px;
  margin: 0 0 36px;
}

.related a {
  text-decoration: none;
  font-weight: 800;
}

.page-cta {
  margin: 8px 0 48px;
}

.page-cta .btn {
  width: 100%;
  max-width: 28rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 40px 0 80px;
  text-align: center;
}

.error-page h1 {
  font-size: clamp(2.2rem, 8vw, 4rem);
}

.error-code {
  font-family: Syne, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

@media (min-width: 760px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sheet-body {
    transform: none;
  }

  .action-dock {
    backdrop-filter: none;
  }
}
