:root {
  --orange: #C2410C;
  --orange-dark: #9A3412;
  --ink: #1B1410;
  --paper: #FAF8F5;
  --muted: #4A3F39;
  --gold: #FFC857;
  --line: #E7E1D8;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand span { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--orange); color: var(--paper); font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid var(--orange); transition: background .15s, transform .15s; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-small { min-height: 44px; padding: 0 18px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); }

/* Hero */
.hero { padding-block: clamp(56px, 10vw, 112px) clamp(40px, 6vw, 72px); }
.eyebrow { margin: 0 0 18px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(38px, 7vw, 76px); max-width: 15ch; text-wrap: balance; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 52ch; margin: 22px 0 0; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Productos */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 24px 56px; }
.products h2, .custom h2, .contact h2 { font-size: clamp(30px, 4.4vw, 44px); }
.products > h2 { grid-column: 1 / -1; margin-bottom: 8px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 36px); border-radius: 28px; }
.card-orange { background: var(--orange); color: var(--paper); }
.card-ink { background: var(--ink); color: var(--paper); }
.card h3 { font-size: clamp(34px, 5vw, 48px); }
.tag { margin: 6px 0 0; font-weight: 600; font-size: 15px; color: var(--gold); }
.card-lead { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 500; text-wrap: pretty; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231B1410' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.card-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid rgb(250 248 245 / .28); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.price { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.price span { font-family: var(--body); font-weight: 500; font-size: 16px; letter-spacing: 0; margin-right: 4px; }
.price small { font-size: 18px; font-weight: 600; }
.price-text { font-size: 26px; }
.note { margin: 0; flex-basis: 100%; font-size: 15px; font-weight: 500; }
.card-foot .btn { margin-left: auto; }

/* A medida */
.custom { padding-block: 16px 56px; }
.custom p { margin: 14px 0 0; max-width: 56ch; font-size: 19px; color: var(--muted); text-wrap: pretty; }

/* Contacto */
.contact { padding: clamp(32px, 6vw, 56px); margin-bottom: 64px; background: var(--ink); color: var(--paper); border-radius: 28px; }
.contact .lead { color: #E4DDD3; margin-top: 12px; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.contact-list span { min-width: 92px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.contact-list a { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 4vw, 30px); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Pie */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; font-size: 14px; color: var(--muted); }

@media (max-width: 480px) {
  .brand { font-size: 18px; gap: 8px; }
  .nav { gap: 12px; }
  .btn-small { padding: 0 14px; }
}
@media (max-width: 820px) {
  .products { grid-template-columns: 1fr; }
  .card-foot .btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
