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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #1b1f22;
  background-image:
    radial-gradient(circle at 50% 14%, rgba(245, 158, 11, 0.08) 0%, rgba(27, 31, 34, 0) 56%),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  color: #e2e8f0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.68;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: #f8fafc;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.42);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #f59e0b;
  border-bottom-color: #f59e0b;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 600;
  line-height: 1.34;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
}

h1 {
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
  letter-spacing: 0.18rem;
}

h2 {
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  letter-spacing: 0.15rem;
}

h3 {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  letter-spacing: 0.11rem;
}

h4 {
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
}

.major {
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  max-width: 100%;
}

.major-amber {
  border-bottom: 1px solid #f59e0b;
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  max-width: 100%;
}

p {
  margin: 0 0 1.25rem 0;
  color: #cbd5e1;
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  color: #ffffff;
  font-weight: 600;
}

code, .mono-code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f59e0b;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(27, 31, 34, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.header-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo:hover {
  color: #f59e0b;
}

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #252a2e;
  color: #f59e0b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04rem;
  flex-shrink: 0;
}

.main-nav {
  overflow: visible !important;
}

.main-nav ul.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: #252a2e;
  overflow: visible !important;
}

.main-nav ul.nav > li {
  position: relative;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.main-nav ul.nav > li:first-child {
  border-left: 0;
}

.main-nav ul.nav > li > a {
  display: block;
  padding: 0.58rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11rem;
  text-transform: uppercase;
  color: #f1f5f9;
  border-bottom: 0;
  white-space: nowrap;
}

.main-nav ul.nav > li > a:hover,
.main-nav ul.nav > li > a:focus-visible,
.main-nav ul.nav > li > a.is-current {
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
}

.main-nav ul.nav > li > a.cta-cell {
  background: #f59e0b;
  color: #1b1f22;
  font-weight: 700;
}

.main-nav ul.nav > li > a.cta-cell:hover,
.main-nav ul.nav > li > a.cta-cell:focus-visible {
  background: #fbbf24;
  color: #111417;
}

.main-nav ul.nav > li.has-sub > ul.sub-blueprint {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: -1px;
  min-width: 300px;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  background: #1b1f22;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
  z-index: 100;
}

.main-nav ul.nav > li.has-sub:hover > ul.sub-blueprint,
.main-nav ul.nav > li.has-sub:focus-within > ul.sub-blueprint {
  display: block;
}

.main-nav ul.nav > li.has-sub > ul.sub-blueprint > li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.main-nav ul.nav > li.has-sub > ul.sub-blueprint > li:first-child {
  border-top: 0;
}

.main-nav ul.nav > li.has-sub > ul.sub-blueprint > li > a {
  display: block;
  padding: 0.62rem 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  color: #e2e8f0;
  border-bottom: 0;
}

.main-nav ul.nav > li.has-sub > ul.sub-blueprint > li > a:hover {
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
}

#wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.2rem 1.25rem 3.5rem;
}

.dimension-masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.8rem 0 2.6rem;
}

.dimension-medallion {
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: #252a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 4px rgba(245, 158, 11, 0.08);
}

.dimension-medallion svg {
  width: 2.3rem;
  height: 2.3rem;
}

.hairline-stem {
  width: 1px;
  height: 2.3rem;
  background: rgba(255, 255, 255, 0.4);
}

.masthead-frame {
  width: 100%;
  max-width: 980px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(37, 42, 46, 0.52);
  padding: 2.5rem 2rem;
}

.blueprint-coord {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1.15rem;
}

.masthead-acronym {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  color: #f8fafc;
  margin-bottom: 1rem;
  font-weight: 600;
}

.masthead-lead {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.02rem;
  color: #cbd5e1;
}

.masthead-module-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 4px;
  background: #252a2e;
  overflow: hidden;
}

.masthead-module-bar a {
  padding: 0.72rem 1.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  color: #ffffff;
  border-bottom: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.masthead-module-bar a:first-child {
  border-left: 0;
}

.masthead-module-bar a:hover {
  background: rgba(245, 158, 11, 0.16);
  color: #f59e0b;
}

.drafting-panel {
  background: #252a2e;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  padding: 2.1rem;
  margin-bottom: 2.25rem;
  position: relative;
}

.drafting-panel::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(245, 158, 11, 0.65);
  border-right: 1px solid rgba(245, 158, 11, 0.65);
  pointer-events: none;
}

.drafting-panel::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 14px;
  height: 14px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.65);
  border-left: 1px solid rgba(245, 158, 11, 0.65);
  pointer-events: none;
}

.elevation-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
}

.elevation-figure {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  overflow: hidden;
  background: #16191c;
}

.elevation-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.elevation-caption {
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: #1e2327;
  margin-bottom: 2.25rem;
}

.stat-cell {
  padding: 1.25rem 1.15rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.stat-cell:first-child {
  border-left: 0;
}

.stat-code {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.stat-val {
  display: block;
  font-size: 1.28rem;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.04rem;
  white-space: nowrap;
}

.stat-note {
  display: block;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 0.25rem;
}

.blueprint-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 1.25rem;
}

.blueprint-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.blueprint-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.blueprint-card {
  background: #1e2327;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blueprint-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 0.65rem;
  margin-bottom: 0.95rem;
}

.sheet-badge {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.71rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
}

.usd-tag {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  color: #f8fafc;
  white-space: nowrap;
}

.card-photo {
  margin: 0 0 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #15181b;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button,
button.button,
input[type="submit"].button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
button.button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f59e0b;
  color: #f59e0b;
}

.button.primary,
button.button.primary,
input[type="submit"].button.primary {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #16191c;
  font-weight: 700;
}

.button.primary:hover,
button.button.primary:hover,
input[type="submit"].button.primary:hover {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #111417;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

#asistente-galpon-sismico-nec-cotopaxi {
  background: #252a2e;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  padding: 2.2rem;
  margin-bottom: 2.4rem;
}

.wizard-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: #1b1f22;
  margin: 1.35rem 0 1.75rem;
  overflow: hidden;
}

.wiz-step-btn {
  appearance: none;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0.95rem 1rem;
  text-align: left;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: inherit;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wiz-step-btn:first-child {
  border-left: 0;
}

.wiz-step-btn.is-active {
  background: rgba(245, 158, 11, 0.14);
  color: #ffffff;
}

.wiz-step-num {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wiz-step-btn.is-active .wiz-step-num {
  border-color: #f59e0b;
  background: #f59e0b;
  color: #16191c;
}

.wiz-step-label {
  display: flex;
  flex-direction: column;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09rem;
  font-weight: 600;
}

.wiz-step-sub {
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0.02rem;
  color: #94a3b8;
  font-weight: 400;
}

.wiz-panel {
  display: none;
}

.wiz-panel.is-active {
  display: block;
}

.wiz-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.wiz-option-tile {
  background: #1b1f22;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  padding: 1.05rem 1.15rem;
  text-align: left;
  color: #e2e8f0;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.wiz-option-tile:hover {
  border-color: rgba(245, 158, 11, 0.65);
}

.wiz-option-tile.is-selected {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.11);
  box-shadow: inset 0 0 0 1px #f59e0b;
}

.wiz-tile-code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.73rem;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.wiz-tile-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.wiz-tile-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.wiz-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.55rem 0 1.25rem;
}

.wiz-pill {
  background: #1b1f22;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  padding: 0.52rem 0.95rem;
  color: #e2e8f0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  cursor: pointer;
}

.wiz-pill.is-selected {
  border-color: #f59e0b;
  background: #f59e0b;
  color: #16191c;
  font-weight: 700;
}

.wiz-svg-stage {
  background: #16191c;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  padding: 1rem;
  margin-top: 0.8rem;
}

.wiz-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
}

.wiz-dossier {
  margin-top: 1.75rem;
  background: #1b1f22;
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 4px;
  padding: 1.5rem;
}

.wiz-dossier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.wiz-metric-box {
  background: #252a2e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  padding: 0.9rem;
}

.wiz-metric-label {
  display: block;
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.09rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.wiz-metric-value {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1.08rem;
  font-weight: 700;
  color: #f59e0b;
  white-space: nowrap;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.15rem 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #1e2327;
  font-size: 0.9rem;
}

thead {
  background: #16191c;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

th {
  text-align: left;
  padding: 0.85rem 1rem;
  color: #f59e0b;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 600;
}

td {
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  vertical-align: top;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.elevation-blueprint-head {
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(37, 42, 46, 0.65);
  padding: 2rem 2rem 1.8rem;
  margin-bottom: 2.2rem;
  position: relative;
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09rem;
  color: #94a3b8;
  margin-bottom: 0.9rem;
}

.breadcrumb-trail a {
  color: #cbd5e1;
  border-bottom: 0;
}

.breadcrumb-trail a:hover {
  color: #f59e0b;
}

.elevation-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.spec-pill {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  color: #e2e8f0;
  background: #1b1f22;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0.28rem 0.7rem;
  border-radius: 3px;
  white-space: nowrap;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin: 1.25rem 0;
}

.step-node {
  background: #1e2327;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 3px solid #f59e0b;
  border-radius: 4px;
  padding: 1.15rem;
}

.step-index {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  color: #f59e0b;
  letter-spacing: 0.1rem;
  display: block;
  margin-bottom: 0.4rem;
}

.blueprint-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: #1b1f22;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.blueprint-tab-btn {
  flex: 1 1 auto;
  text-align: center;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0.72rem 0.85rem;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  cursor: pointer;
}

.blueprint-tab-btn:first-child {
  border-left: 0;
}

.blueprint-tab-btn.is-active {
  background: #f59e0b;
  color: #16191c;
  font-weight: 700;
}

.blueprint-tab-pane {
  display: none;
}

.blueprint-tab-pane.is-active {
  display: block;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.faq-item {
  background: #1e2327;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  padding: 0.95rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  color: #f59e0b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field.full-span {
  grid-column: 1 / -1;
}

label {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11rem;
  color: #f1f5f9;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: #1b1f22;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  padding: 0.72rem 0.9rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.94rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px #f59e0b;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #1b1f22;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.consent-row input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: #f59e0b;
  flex-shrink: 0;
  cursor: pointer;
}

.consent-row label {
  text-transform: none;
  letter-spacing: 0.01rem;
  font-size: 0.86rem;
  font-weight: 400;
  color: #cbd5e1;
  line-height: 1.5;
  cursor: pointer;
}

.latacunga-galpon-visado {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  background: #192024;
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  border-radius: 4px;
}

.latacunga-galpon-visado h4 {
  color: #f59e0b;
  margin: 0 0 0.75rem 0;
  font-size: 0.86rem;
}

.latacunga-galpon-visado table {
  margin: 0;
  background: #14181b;
}

.latacunga-galpon-visado th {
  width: 36%;
  color: #cbd5e1;
  font-size: 0.74rem;
}

.latacunga-galpon-visado td {
  color: #ffffff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
}

.cta-elevation-band {
  background: linear-gradient(135deg, #252a2e 0%, #1d2226 100%);
  border: 1px solid rgba(245, 158, 11, 0.48);
  border-radius: 4px;
  padding: 1.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

#footer {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: #15181b;
  padding: 2.8rem 1.25rem 2.2rem;
  margin-top: 3rem;
}

.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-list a {
  font-size: 0.86rem;
  color: #cbd5e1;
  border-bottom: 0;
}

.footer-list a:hover {
  color: #f59e0b;
}

.copyright-bar {
  padding-top: 1.4rem;
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
  }

  .header-shell {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
  }

  .logo {
    justify-content: center;
  }

  .main-nav ul.nav {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100%;
  }

  .main-nav ul.nav > li {
    flex: 1 1 calc(33.333% - 2px);
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .main-nav ul.nav > li > a {
    padding: 0.55rem 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.06rem;
    white-space: normal;
  }

  .main-nav ul.nav > li.has-sub > ul.sub-blueprint {
    display: none !important;
  }

  .elevation-split,
  .blueprint-grid-3,
  .blueprint-grid-4,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .telemetry-strip,
  .wiz-dossier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell:nth-child(3) {
    border-left: 0;
  }

  .stat-cell:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .timeline-steps {
    grid-template-columns: 1fr;
  }
}

.elevation-split > *,
.blueprint-grid-2 > *,
.blueprint-grid-3 > *,
.blueprint-grid-4 > *,
.form-grid > *,
.wiz-choice-grid > *,
.wiz-dossier-grid > *,
.footer-columns > *,
.drafting-panel {
  min-width: 0;
}

@media (max-width: 640px) {
  h1, h2, h3 {
    letter-spacing: 0.07rem;
    word-break: break-word;
  }

  #wrapper {
    padding: 1.4rem 0.9rem 2.5rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .drafting-panel,
  #asistente-galpon-sismico-nec-cotopaxi,
  .masthead-frame,
  .elevation-blueprint-head {
    padding: 1.35rem 1rem;
  }

  .button,
  button.button,
  input[type="submit"].button {
    white-space: normal;
    width: 100%;
    padding: 0.7rem 0.85rem;
    font-size: 0.74rem;
    letter-spacing: 0.07rem;
    line-height: 1.35;
  }

  .button-row {
    flex-direction: column;
  }

  .sheet-badge,
  .blueprint-coord,
  .spec-pill {
    white-space: normal;
    max-width: 100%;
    letter-spacing: 0.06rem;
  }

  .table-wrapper {
    max-width: 100%;
  }

  .main-nav ul.nav > li {
    flex: 1 1 calc(50% - 2px);
  }

  .wizard-rail,
  .wiz-choice-grid,
  .blueprint-grid-2,
  .form-grid,
  .telemetry-strip,
  .wiz-dossier-grid {
    grid-template-columns: 1fr;
  }

  .wiz-step-btn {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .wiz-step-btn:first-child {
    border-top: 0;
  }

  .stat-cell {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .stat-cell:first-child {
    border-top: 0;
  }

  .masthead-module-bar a {
    flex: 1 1 calc(50% - 2px);
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    padding: 0.6rem 0.65rem;
    font-size: 0.72rem;
    letter-spacing: 0.07rem;
  }
}
