:root {
  --plomo: #5A626B;
  --cordel: #A63D3D;
  --laton: #B8923A;
  --yeso: #E8E4DC;
  --tinta: #1A1C1F;
  --papel: #F4F1EB;
  --display: "Alegreya Sans SC", "Segoe UI", sans-serif;
  --body: "Crimson Pro", Georgia, serif;
  --mono: "Red Hat Mono", ui-monospace, monospace;
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--tinta);
  background:
    linear-gradient(180deg, rgba(90, 98, 107, 0.06), transparent 28%),
    radial-gradient(ellipse at 12% 0%, rgba(184, 146, 58, 0.12), transparent 42%),
    var(--yeso);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cordel); text-underline-offset: 3px; }
a:hover { color: var(--tinta); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--laton);
  outline-offset: 3px;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.55em;
  color: var(--tinta);
}
h1 { font-size: clamp(2.35rem, 5.4vw, 3.75rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.28rem; }

.wrap { width: min(var(--wrap), 100% - 2.4rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.4rem); margin-inline: auto; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cordel);
  color: #fff;
  padding: 0.55rem 1rem;
  z-index: 20;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.skip:focus { left: 1rem; top: 1rem; }

.top {
  background: var(--tinta);
  color: var(--yeso);
  border-bottom: 3px solid var(--cordel);
}
.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  flex-wrap: wrap;
}
.brand, .foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
}
.brand__mark { width: 22px; height: 34px; flex-shrink: 0; }
.nav { display: flex; gap: 1.35rem; flex-wrap: wrap; }
.nav a {
  color: var(--yeso);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
}
.nav a:hover, .nav a[aria-current="page"] {
  border-color: var(--laton);
  color: var(--laton);
}

.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cordel);
  margin: 0 0 0.85rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(105deg, rgba(26, 28, 31, 0.92) 0%, rgba(26, 28, 31, 0.72) 46%, rgba(90, 98, 107, 0.35) 100%),
    var(--plomo);
  color: var(--yeso);
  overflow: hidden;
}
.hero__plane {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(3.2rem, 8vw, 5.5rem) 0;
  width: min(var(--wrap), 100% - 2.4rem);
  margin-inline: auto;
}
.hero .brand-hero {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 0.35rem;
  color: #fff;
  line-height: 0.95;
}
.hero h1 {
  color: var(--yeso);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 500;
  max-width: 22ch;
  margin-bottom: 0.9rem;
}
.hero__lead {
  max-width: 36ch;
  color: #d9d4cb;
  font-size: 1.12rem;
  margin: 0 0 1.6rem;
}
.hero__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero__art {
  margin: 0;
  justify-self: end;
  width: min(100%, 420px);
}
.hero__art svg { width: 100%; height: auto; }

.btn {
  display: inline-block;
  background: var(--cordel);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.72rem 1.25rem;
  border: 2px solid var(--cordel);
}
.btn:hover { background: #8f3333; color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--yeso);
  border-color: var(--laton);
}
.btn--ghost:hover { background: rgba(184, 146, 58, 0.15); color: #fff; }

.plumb-cord { transform-origin: 200px 28px; animation: sway 5.5s ease-in-out infinite; }
.plumb-bob { animation: bob 5.5s ease-in-out infinite; }
@keyframes sway {
  0%, 100% { transform: rotate(-2.4deg); }
  50% { transform: rotate(2.4deg); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .plumb-cord, .plumb-bob { animation: none; }
  html { scroll-behavior: auto; }
}

.band {
  background: var(--papel);
  border-block: 1px solid rgba(90, 98, 107, 0.25);
  padding: 2.4rem 0;
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.band article {
  border-left: 3px solid var(--cordel);
  padding-left: 1rem;
}
.band h3 { margin-bottom: 0.35rem; }
.band p { margin: 0; color: var(--plomo); font-size: 1.02rem; }

.section { padding: clamp(2.8rem, 6vw, 4.4rem) 0; }
.section__head { margin-bottom: 1.8rem; max-width: 40rem; }
.section__head p { margin: 0; color: var(--plomo); }

.catalog { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(90, 98, 107, 0.28); }
.catalog li {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(90, 98, 107, 0.28);
  position: relative;
}
.catalog li::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cordel);
  opacity: 0.55;
}
.catalog__n {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--laton);
  position: relative;
  z-index: 1;
  background: var(--yeso);
  width: fit-content;
  padding: 0.15rem 0.35rem;
}
.catalog h3 { margin: 0 0 0.35rem; }
.catalog h3 a { color: var(--tinta); text-decoration: none; }
.catalog h3 a:hover { color: var(--cordel); }
.catalog p { margin: 0; color: var(--plomo); max-width: 58ch; }
.catalog__go {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cordel);
  white-space: nowrap;
  align-self: center;
}

.standards {
  background: var(--tinta);
  color: var(--yeso);
  padding: clamp(2.8rem, 6vw, 4.2rem) 0;
}
.standards h2 { color: #fff; }
.standards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2rem;
  margin-top: 1.4rem;
}
.standards__grid h3 {
  color: var(--laton);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.standards__grid p { margin: 0; color: #cfc9bf; }

.not-list {
  background: var(--papel);
  padding: clamp(2.6rem, 5vw, 3.8rem) 0;
}
.not-list ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.not-list li {
  padding: 0.75rem 0 0.75rem 1.1rem;
  border-left: 3px solid var(--plomo);
  color: var(--plomo);
}

.faq details {
  border-bottom: 1px solid rgba(90, 98, 107, 0.28);
  padding: 0.95rem 0;
}
.faq summary {
  font-family: var(--display);
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0.55rem 0 0; color: var(--plomo); }

.pagehead {
  background: var(--tinta);
  color: var(--yeso);
  padding: 2.6rem 0 2rem;
  border-bottom: 3px solid var(--cordel);
}
.pagehead h1, .pagehead .kicker { color: var(--yeso); }
.pagehead .kicker { color: var(--laton); }
.pagehead__intro { margin: 0; max-width: 48ch; color: #d2cdc4; }

.paper { padding: 2.2rem 0 3.6rem; }
.prose p, .prose li { max-width: 68ch; }
.prose h2 { margin-top: 1.8rem; }
.prose ol, .prose ul { padding-left: 1.2rem; }

.foot {
  background: var(--tinta);
  color: var(--yeso);
  padding: 2.3rem 0 1.2rem;
  border-top: 3px solid var(--cordel);
}
.foot a { color: #d9d0c4; }
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.foot__lead { color: #aeb6bd; max-width: 36ch; }
.foot__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}
.foot__nav a { text-decoration: none; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.foot__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(232, 228, 220, 0.15);
  font-size: 0.92rem;
  color: #9aa3ab;
}

@media (max-width: 860px) {
  .hero__inner, .band__grid, .standards__grid, .foot__grid, .catalog li {
    grid-template-columns: 1fr;
  }
  .catalog__go { justify-self: start; }
  .hero { min-height: auto; }
  .hero__art { justify-self: stretch; width: min(100%, 340px); margin-top: 0.5rem; }
}
