[hidden] { display: none !important; }

:where(#problema, #solucion, #configurador, #necesidades, #catalogo,
       #proveedores, #valor-proveedor, #vision, #contacto) {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.site-nav ul a { white-space: nowrap; }
.site-nav .nav-cta { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 901px) {
  .site-nav { flex-shrink: 1; min-width: 0; }
  .site-nav ul { flex-wrap: nowrap; }
}
@media (min-width: 901px) and (max-width: 1260px) {
  .site-nav { gap: 20px; }
  .site-nav ul { gap: 16px; }
  .site-nav a { font-size: .88rem; }
  .site-nav .nav-cta { padding: .6rem 1.05rem; font-size: .86rem; }
}

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--terra);
  padding: .5rem 1rem;
  border-radius: 999px;
}

.brandkit {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 54px;
  align-items: center;
}
.brandkit-showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.brandkit-showcase img.bk-word {
  width: min(100%, 300px);
  height: auto;
}
.brandkit-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.brandkit-row .bk-mark {
  width: auto;
  height: 46px;
}

.brandkit-copy h3 { font-size: 1.2rem; margin-bottom: 10px; }
.brandkit-copy p { color: var(--muted); font-size: .96rem; margin-bottom: 22px; }
.brandkit-copy p:last-child { margin-bottom: 0; }

.swatches { display: flex; gap: 14px; margin-top: 22px; }
.swatch {
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  font-family: var(--font-head);
}
.swatch-navy { background: var(--navy); color: var(--white); }
.swatch-terra { background: var(--terra); color: var(--white); }
.swatch-white { background: var(--white); color: var(--navy); border: 1px solid var(--line-strong); }
.swatch-name { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.swatch-hex { display: block; margin-top: 4px; font-size: .92rem; font-weight: 600; }

.avoid-list { margin-top: 20px; }
.avoid-list p.avoid-title {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 10px;
}
.avoid-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.avoid-chips span {
  font-size: .82rem;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: .35rem .8rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.offer-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.offer-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--terra-soft);
  color: var(--terra-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
}
.offer-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.offer-card p { font-size: .94rem; color: var(--muted); margin-bottom: 16px; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.offer-tags span {
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .7rem;
}

.offer-phases {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offer-phases li { display: flex; gap: 10px; align-items: baseline; font-size: .9rem; color: var(--muted); }
.offer-phases b { font-family: var(--font-head); color: var(--navy); font-weight: 600; flex-shrink: 0; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.diff-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.diff-card svg {
  width: 30px; height: 30px;
  stroke: var(--terra);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}
.diff-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.diff-card p { font-size: .92rem; color: var(--muted); line-height: 1.6; }

.compare {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-cell { padding: 20px 26px; font-size: .95rem; }
.compare-cell.is-before { color: var(--muted); background: var(--bg); }
.compare-cell.is-after { color: var(--navy); font-weight: 500; background: var(--white); }
.compare-cell b { display: block; font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.compare-cell.is-before b { color: var(--muted-light); }
.compare-cell.is-after b { color: var(--terra); }
@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell.is-before { border-bottom: 1px solid var(--line); }
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--terra-dark);
  background: var(--terra-soft);
  padding: .45rem .9rem;
  border-radius: 999px;
  margin-top: 24px;
}
.demo-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 900px) { .demo-shell { grid-template-columns: 1fr; } }

.demo-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 3vw, 30px);
}
@media (min-width: 901px) { .demo-panel { position: sticky; top: calc(var(--header-h) + 20px); } }
.demo-panel h3 { font-size: 1.1rem; margin-bottom: 4px; }
.demo-panel .panel-sub { font-size: .88rem; color: var(--muted); margin-bottom: 26px; }

.demo-panel .field { margin-bottom: 20px; position: relative; }
.demo-panel .field label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 9px;
  transition: color .2s var(--ease);
}
.demo-panel .field:focus-within label { color: var(--terra-dark); }
.demo-panel .field-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--terra-soft);
  color: var(--terra-dark);
  font-size: .62rem;
  font-weight: 700;
  flex-shrink: 0;
}

.demo-panel .select-wrap { position: relative; }
.demo-panel .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
  background-color: var(--bg-alt);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 44px 14px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease);
}
.demo-panel .select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--terra);
  border-bottom: 2px solid var(--terra);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: border-color .2s var(--ease), opacity .2s var(--ease);
}
.demo-panel .select-wrap:has(select:disabled)::after { opacity: .35; border-color: var(--muted-light); }
.demo-panel .field select:hover:not(:disabled) { border-color: var(--terra); }
.demo-panel .select-wrap.is-filled select:not(:focus-visible) { border-color: var(--terra); background-color: var(--terra-soft); }
.demo-panel .select-wrap.is-filled::after { border-color: var(--terra); }
.demo-panel .field select:focus-visible {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 4px rgba(193, 98, 45, .16);
}
.demo-panel .field select:disabled {
  color: var(--muted-light);
  background-color: var(--bg);
  border-style: dashed;
  cursor: not-allowed;
}
.demo-panel .field-hint {
  margin-top: 7px;
  font-size: .78rem;
  color: var(--muted-light);
}

.demo-panel .field-optional-tag {
  margin-left: auto;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: none;
  color: var(--muted-light);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .12rem .5rem;
}

.demo-panel .panel-reset {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
  font-size: .88rem;
}

.demo-results-col { min-height: 260px; }
.demo-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 18px;
}
.demo-results-head h3 { font-size: 1.15rem; }
.demo-count {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--terra-dark);
  background: var(--terra-soft);
  padding: .3rem .68rem;
  border-radius: 999px;
}

.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 560px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 18px 20px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.demo-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.demo-card.is-out { opacity: .5; }
.demo-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.demo-card h4 { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--navy); }
.demo-card .demo-cat { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 8px; }
.demo-compat {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
}
.demo-compat.is-yes { color: var(--terra-dark); }
.demo-compat.is-no { color: var(--muted-light); }
.demo-compat svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.demo-also {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}
.demo-also strong {
  display: block;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 3px;
}

.demo-size-warn {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border-top-style: solid;
  border-top-color: #f0b48a;
  color: #9a3412;
}
.demo-size-warn svg {
  width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.demo-pending {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border-top-style: dashed;
  border-top-color: var(--line-strong);
  color: var(--muted);
  font-style: italic;
}
.demo-pending svg {
  width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.demo-empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 48px);
  text-align: center;
  color: var(--muted);
}
.demo-empty svg { width: 38px; height: 24px; fill: var(--terra); stroke: none; margin-bottom: 14px; }

.demo-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--muted-light);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .brandkit { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .offer-grid, .diff-grid { grid-template-columns: 1fr; }
}

.hero-lead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  color: var(--navy);
  max-width: 42ch;
  margin-bottom: .5rem;
}
.hero-text + .hero-text { margin-top: .9rem; }
.hero-text strong { color: var(--navy); font-weight: 600; }

.qlist {
  max-width: 720px;
  margin: 44px auto 0;
}
.qlist li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  font-weight: 500;
  color: var(--navy);
}
.qlist li:first-child { border-top: 1px solid var(--line); }
.qlist li::before {
  content: "?";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--terra-soft);
  color: var(--terra-dark);
  font-size: .95rem;
  font-weight: 700;
}
.problem-close {
  max-width: 620px;
  margin: 38px auto 0;
  text-align: center;
  font-size: .98rem;
  color: var(--muted);
}
.problem-close strong {
  display: block;
  margin-top: .7rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--navy);
}

.flow-value { align-items: flex-start; }
.flow-desc {
  margin-top: 12px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
}

.need-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}
.need-grid li {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .7rem 1.2rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.need-grid li:hover { border-color: var(--terra); transform: translateY(-2px); }

.need-formula {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  letter-spacing: -.01em;
  color: var(--navy);
  line-height: 1.4;
}

.need-example {
  max-width: 520px;
  margin: 40px auto 0;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--terra);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.need-example-q {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 18px;
}
.need-example-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.need-example-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  color: var(--muted);
}
.need-example-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
}
.need-example-list li.is-on { color: var(--navy); font-weight: 500; }
.need-example-list li.is-on::before {
  border-color: var(--terra);
  background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.need-example-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--terra-dark);
}

.section .cat-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0;
}
.cat-chips span {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
}
.section-alt .cat-chips span { background: var(--white); }

.compat-states {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.compat-state {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.section-alt .compat-state { background: var(--white); }
.compat-state .cs-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 10px;
}
.compat-state .cs-tag svg { flex-shrink: 0; }
.compat-state.is-yes .cs-tag { color: var(--terra-dark); }
.compat-state.is-check .cs-tag { color: #9a3412; }
.compat-state.is-univ .cs-tag { color: var(--muted); }
.compat-state p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

.product-example {
  max-width: 420px;
  margin: 24px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.section-alt .product-example { background: var(--white); }
.product-example .pe-thumb {
  height: 118px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--line-strong);
}
.product-example .pe-thumb .van-ico { width: 52px; height: 32px; }
.product-example .pe-body { padding: 22px 24px 24px; }
.product-example .pe-cat {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 6px;
}
.product-example h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.product-example .pe-compat {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--terra-dark);
  margin-bottom: 3px;
}
.product-example .pe-compat svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-example .pe-fit {
  font-size: .82rem;
  color: var(--muted-light);
  margin-bottom: 16px;
}
.product-example .pe-rows { border-top: 1px solid var(--line); }
.product-example .pe-rows div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.product-example .pe-rows dt { color: var(--muted-light); }
.product-example .pe-rows dd {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--navy);
  text-align: right;
}

.req-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.req-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.req-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
}
.req-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.value-close {
  max-width: 720px;
  margin: 44px auto 0;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: var(--navy);
}

.vision-copy {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.vision-copy p { color: var(--muted); }
.vision-copy p + p { margin-top: 1rem; }
.vision-copy p strong {
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
}

.final-cta { margin-bottom: 8px; }

@media (max-width: 720px) {
  .compat-states { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .req-list { grid-template-columns: 1fr; }
}
