:root {
  --ink: #152332;
  --muted: #627184;
  --line: #dce5ea;
  --surface: #ffffff;
  --soft: #f2f7f6;
  --sea: #078678;
  --sea-dark: #055c55;
  --navy: #142f45;
  --aqua: #dff5f2;
  --gold: #c48b1d;
  --gold-soft: #fff3d8;
  --danger: #b54432;
  --shadow: 0 20px 44px rgba(20, 47, 69, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f8faf9;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

code {
  border-radius: 5px;
  background: #edf3f5;
  padding: 2px 6px;
}

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

.contact-strip {
  background: var(--navy);
  color: #dce8ed;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  align-items: center;
}

.contact-strip-inner div {
  display: flex;
  gap: 20px;
}

.contact-strip a {
  color: #ffffff;
  text-decoration: none;
}

.contact-strip a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 234, 0.92);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav a {
  border-radius: 7px;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 12px;
  text-decoration: none;
}

.nav a:hover {
  background: var(--soft);
  color: var(--sea-dark);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  padding: 10px 16px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-cta {
  background: var(--sea);
  color: #fff;
  min-width: 92px;
}

.button.primary {
  background: var(--sea);
  color: #fff;
  box-shadow: 0 14px 28px rgba(8, 120, 111, 0.2);
}

.button.primary.light {
  background: #ffffff;
  color: var(--sea-dark);
  box-shadow: none;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.download {
  border-color: rgba(8, 120, 111, 0.28);
  background: #ffffff;
  color: var(--sea-dark);
}

.button.video {
  background: var(--aqua);
  color: var(--sea-dark);
}

.button.manual {
  background: var(--gold-soft);
  color: #795113;
}

.button.certificate {
  background: #eef7ff;
  color: #245070;
}

.button.disabled {
  border-color: var(--line);
  background: #eef2f4;
  color: #7c8795;
}

.is-hidden {
  display: none !important;
}

.header-cta:hover,
.button:not(.disabled):hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  overflow: hidden;
  background-color: #102d3b;
  background-image: url("../img/consulta-terceros-dian.jpg");
  background-position: center 43%;
  background-size: cover;
  color: #ffffff;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(9, 29, 42, 0.8);
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 570px;
  padding: 56px 0 62px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sea-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  color: var(--navy);
  font-size: 4.25rem;
}

h2 {
  color: var(--navy);
  font-size: 2.55rem;
}

h3 {
  color: var(--navy);
  font-size: 1.32rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero .eyebrow {
  color: #9ee9df;
}

.hero h1 {
  color: #ffffff;
}

.hero-offer {
  max-width: 780px;
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.28;
}

.hero .lead {
  max-width: 700px;
  margin-top: 18px;
  color: #dce8ed;
  font-size: 1.08rem;
}

.hero .button.primary {
  background: #0a9184;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(15, 37, 50, 0.72);
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(7, 35, 47, 0.76);
  color: #eaf7f5;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 9px 12px;
}

.hero-featured {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 650px;
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding-top: 16px;
}

.hero-featured span {
  color: #f4cf79;
  font-weight: 850;
}

.hero-featured small {
  color: #dce8ed;
  font-weight: 750;
}

.section {
  padding: 76px 0;
}

.section.compact {
  padding-bottom: 58px;
  background: #ffffff;
}

.section.muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.catalog-section {
  border-top: 1px solid var(--line);
  background: #f7faf9;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.section-head.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 30px;
  align-items: end;
}

.catalog-intro {
  display: grid;
  gap: 10px;
}

.exchange-note {
  border-left: 3px solid var(--gold);
  color: #6f5a2d;
  font-size: 0.82rem;
  line-height: 1.5;
  padding-left: 11px;
}

.section-head p,
.benefit-card p,
.template-card p,
.support-grid p,
.contact-band p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.benefit-grid,
.template-grid {
  display: grid;
  gap: 22px;
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card,
.template-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 35, 50, 0.08);
}

.benefit-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  border-top: 3px solid var(--sea);
}

.benefit-card span {
  color: var(--gold);
  font-weight: 900;
}

.template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.template-card:hover {
  border-color: rgba(8, 120, 111, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.template-card.featured {
  border-color: rgba(8, 120, 111, 0.38);
  border-top: 4px solid var(--sea);
  box-shadow: 0 18px 42px rgba(8, 120, 111, 0.13);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.category {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  margin-top: 7px;
}

.badge {
  border-radius: 999px;
  background: var(--aqua);
  color: var(--sea-dark);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.summary {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.price {
  color: var(--navy);
  font-size: 1.85rem;
  font-weight: 950;
}

.price-note {
  color: var(--muted);
  font-size: 0.93rem;
}

.price-usd {
  color: var(--sea-dark);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.55;
}

.feature-list li::marker {
  color: var(--sea);
}

.manual-note {
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  color: #67480f;
  line-height: 1.55;
  margin: 0;
  padding: 12px 14px;
}

.video-frame,
.video-placeholder,
.product-image {
  width: calc(100% + 44px);
  aspect-ratio: 16 / 9;
  margin-inline: -22px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #10253b;
}

.video-frame iframe,
.product-image img {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.product-image img {
  object-fit: cover;
}

.video-placeholder {
  display: grid;
  place-items: center;
  color: #d9e4ee;
  font-weight: 850;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4px;
}

.card-actions .button {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-list div,
.support-link {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.support-link {
  text-decoration: none;
}

.support-link:hover {
  border-color: rgba(8, 120, 111, 0.55);
  box-shadow: 0 10px 24px rgba(21, 35, 50, 0.08);
}

.support-list strong,
.support-link strong {
  color: var(--navy);
  font-size: 1.03rem;
}

.support-list span,
.support-link span {
  color: var(--muted);
  line-height: 1.5;
}

.contact-band {
  background: var(--navy);
  color: #fff;
  padding: 58px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact-band .eyebrow,
.contact-band h2 {
  color: #fff;
}

.contact-band p {
  max-width: 760px;
  color: #d5e8eb;
  margin-top: 12px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.button.contact-email {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.contribution-band {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 62px 0;
}

.contribution-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: center;
}

.contribution-copy {
  max-width: 790px;
}

.contribution-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.contribution-note {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contribution-methods {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(300px, 1.2fr);
  gap: 14px;
  margin-top: 20px;
}

.bold-method,
.contribution-methods .payment-key {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.bold-method {
  display: grid;
  align-content: start;
  gap: 8px;
}

.bold-method > span,
.payment-key > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.bold-method .button {
  width: 100%;
}

.bold-method small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.payment-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 20px;
}

.contribution-methods .payment-key {
  margin-top: 0;
}

.payment-key code {
  min-width: 184px;
  color: var(--navy);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: center;
}

.copy-key {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--sea-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  padding: 7px 11px;
}

.copy-key:hover {
  border-color: var(--sea);
  background: var(--aqua);
}

.payment-key small {
  min-width: 105px;
  color: var(--sea-dark);
  font-weight: 750;
}

.contribution-payment {
  display: grid;
  justify-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 20px;
}

.payment-provider {
  color: var(--sea-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contribution-payment .paypal-qr {
  display: block;
  width: 260px;
  height: 325px;
  background: #fff;
  object-fit: cover;
  object-position: center;
}

.contribution-payment strong {
  color: var(--navy);
  text-align: center;
}

.contribution-payment small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.footer {
  background: #0f1e2d;
  color: #dbe7ee;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-brand span {
  color: #fff;
  font-weight: 900;
}

.footer p {
  color: #b8c7d1;
}

.footer p a {
  color: #ffffff;
  text-decoration: none;
}

.footer p a:hover {
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 18px;
}

.visit-counter {
  min-width: 108px;
  border: 1px solid rgba(223, 245, 242, 0.22);
  border-radius: 7px;
  color: #b8c7d1;
  font-size: 0.9rem;
  padding: 7px 10px;
  text-align: center;
}

.visit-counter strong {
  color: #fff;
}

@media (max-width: 960px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .section-head.split,
  .support-grid,
  .contribution-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contribution-payment {
    width: min(100%, 360px);
    justify-self: start;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .contact-strip-inner {
    min-height: 30px;
  }

  .contact-strip-inner > span,
  .contact-strip-inner div a:first-child {
    display: none;
  }

  .contact-strip-inner div {
    width: 100%;
    justify-content: center;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
  }

  .header-inner {
    gap: 8px 12px;
    min-height: 0;
    padding-top: 8px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    overflow: visible;
    padding-bottom: 7px;
  }

  .nav a {
    padding: 8px 6px;
  }

  .nav a:nth-child(n + 4) {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero {
    min-height: 0;
    background-position: 56% center;
  }

  .hero-inner {
    min-height: 0;
    padding: 36px 0 40px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-offer {
    font-size: 1.35rem;
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .trust-row span {
    width: auto;
    padding: 8px 9px;
    font-size: 0.8rem;
    text-align: center;
  }

  .trust-row span:last-child {
    grid-column: 1 / -1;
  }

  .hero-featured {
    display: none;
  }

  .contact-actions {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
  }

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

  .card-actions {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .contribution-band {
    padding: 52px 0;
  }

  .contribution-methods {
    grid-template-columns: 1fr;
  }

  .payment-key {
    align-items: stretch;
  }

  .payment-key > span,
  .payment-key code,
  .payment-key .copy-key,
  .payment-key small {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}
