:root {
  --orange: #E85D04;
  --orange-dark: #C94E02;
  --dark: #111111;
  --dark2: #1A1A1A;
  --gray-bg: #F4F3F0;
  --border: #E2E0DC;
  --text2: #555555;
  --white: #ffffff;
  --ink: #111111;
  --ink-soft: #555555;
  --text-muted: #888888;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: -.3px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap,
.w {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Plataforma section at wider width */
.bg-grey:has(.section-head) .wrap {
  max-width: 1280px;
}

/* FAQ section back to 896px */
.bg-grey:has(.faq) .wrap {
  max-width: 896px;
}

/* CTA section at wider width */
.cta-sec .w {
  max-width: 1280px;
}

.hero {
  background: var(--dark);
  color: #fff;
  padding: 56px 0 64px;
}

.hero .wrap {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-brand {
  flex: 0 0 auto;
}

.hero-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  flex-shrink: 0;
}

.hero-copy {
  flex: 1;
  min-width: 280px;
}

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}

.hero p {
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
  margin-bottom: 24px;
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .3px;
  border-radius: 3px;
  transition: .15s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  opacity: .88;
}

.search-bar {
  margin-top: 36px;
}

.search-label {
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.search-bar form {
  display: flex;
  max-width: 520px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 3px;
  overflow: hidden;
}

.search-bar input {
  flex: 1;
  border: 0;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  color: #fff;
  background: transparent;
  outline: none;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, .35);
}

.search-bar input:focus {
  background: rgba(255, 255, 255, .05);
}

.search-bar button {
  background: var(--orange);
  border: 0;
  color: #fff;
  padding: 0 20px;
  cursor: pointer;
  font-size: 16px;
  transition: opacity .15s;
}

.search-bar button:hover {
  opacity: .88;
}

.search-bar .buscador {
  max-width: 520px;
}

.search-bar #form-buscador-home {
  display: flex;
  flex-wrap: wrap;
  background: transparent;
  border: 0;
  overflow: visible;
  max-width: 100%;
}

.search-bar #form-buscador-home .finder {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.search-bar #form-buscador-home .finder::placeholder {
  color: rgba(255, 255, 255, .35);
}

.search-bar #form-buscador-home .finder:focus {
  background: rgba(255, 255, 255, .05);
}

.search-bar #form-buscador-home .sendfind {
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  width: 52px;
  min-width: 52px;
  padding: 0;
  border-radius: 0 3px 3px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .15s;
}

.search-bar #form-buscador-home .sendfind:hover {
  opacity: .88;
}

.search-bar #form-buscador-home .icon-search::before {
  content: "\1F50D";
  font-size: 16px;
  line-height: 1;
}

.search-bar #form-buscador-home .small {
  width: 100%;
  margin-top: 9px;
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
}

.search-bar #form-buscador-home .small a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.search-bar #form-buscador-home .small a:hover {
  opacity: .9;
}

.search-bar .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section {
  padding: 60px 0;
  background: var(--white);
}

section.bg-grey {
  background: var(--gray-bg);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 32px;
  letter-spacing: -.3px;
}

.section-head p {
  color: var(--text2);
  font-size: 14px;
  margin-top: 4px;
  max-width: 520px;
}

.see-all {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .3px;
}

.see-all:hover {
  text-decoration: underline;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.why-card {
  background: var(--white);
  padding: 28px;
  border-left: 3px solid transparent;
  transition: border-color .15s;
}

.bg-grey .why-card {
  background: var(--gray-bg);
}

.why-card:hover {
  border-left-color: var(--orange);
}

.why-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -.2px;
}

.why-card h3 span {
  color: var(--orange);
}

.why-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

.why-icon {
  width: 36px;
  height: 36px;
  background: var(--dark);
  border-radius: 4px;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .5px;
}

.editorial {
  max-width: 896px;
}

.editorial h2 {
  font-size: 32px;
  margin-bottom: 14px;
  letter-spacing: -.3px;
}

.editorial h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 28px 0 8px;
  color: var(--dark);
  padding-left: 12px;
  border-left: 3px solid var(--orange);
}

.editorial p {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 10px;
}

.cta-sec {
  background: var(--orange);
  color: #fff;
  padding: 44px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 48px;
  align-items: center;
}

.cta-vid {
  flex-shrink: 0;
  width: 450px;
  aspect-ratio: 16/9;
  background: #222;
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-vid iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cta-content {
  flex: 1;
}

.cta-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.2px;
  line-height: 1.05;
}

.cta-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 15px;
  color: #fff;
}

.cta-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-btn {
  background: #fff;
  color: var(--orange);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 2px;
  letter-spacing: .3px;
  transition: opacity .15s;
  text-decoration: none;
}

.cta-btn:hover {
  opacity: .92;
}

.faq {
  max-width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
  transition: color .15s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--orange);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--orange);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  font-size: 14px;
  color: var(--text2);
  padding: 0 0 18px;
}

.faq-content p {
  line-height: 1.7;
}

.faq-content ul,
.faq-content ol {
  margin-left: 18px;
  line-height: 1.7;
}

table.stats {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.stats-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.stats thead {
  background: var(--dark);
}

table.stats th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-align: right;
  padding: 12px 14px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .5px;
  text-transform: uppercase;
}

table.stats th:first-child,
table.stats td:first-child {
  text-align: left;
}

table.stats td {
  padding: 12px 14px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}

table.stats tbody tr:hover {
  background: rgba(0, 0, 0, .02);
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 800px) {
  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .cta-vid {
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-brand img {
    width: 48px;
    height: 48px;
    padding: 6px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }

  .stats-wrap {
    overflow: visible;
  }

  table.stats {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  table.stats thead {
    display: none;
  }

  table.stats tbody,
  table.stats tr,
  table.stats td {
    display: block;
    width: 100%;
  }

  table.stats tbody tr {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }

  table.stats td {
    text-align: left;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
    font-size: 13px;
  }

  table.stats td:last-child {
    border-bottom: 0;
  }

  table.stats td:first-child {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
  }

  table.stats td:nth-child(2)::before {
    content: "Problema resuelto";
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-muted);
  }
}