:root {
  --bg: #061626;
  --bg-2: #0A1E33;
  --bg-3: #0E2844;
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.10);
  --border: rgba(255,255,255,0.12);
  --text: #F5F8FF;
  --muted: #AAB7CB;
  --muted-2: #77849A;
  --blue: #159DE8;
  --cyan: #4CC9F0;
  --blue-dark: #10365E;
  --white: #FFFFFF;
  --shadow: 0 24px 80px rgba(76, 201, 240, 0.22);
  --radius: 24px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(76, 201, 240, 0.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(21, 157, 232, 0.16), transparent 35%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.section {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(6, 22, 38, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 132px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  box-shadow: 0 12px 35px rgba(76, 201, 240, 0.30);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: white;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.16);
  color: var(--muted);
}

.btn-large {
  min-height: 52px;
  padding: 0 24px;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: white;
  margin: 7px 0;
  border-radius: 999px;
}

.hero {
  padding-top: 112px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% 0 -20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76,201,240,.55), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 66px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 4.35vw, 4.35rem);
  line-height: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.75rem, 5.4vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  max-width: 760px;
}

.lead {
  color: #D5DEEF;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.microcopy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-card {
  width: min(360px, 92vw);
  min-height: 500px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)),
    #071326;
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: -80px -60px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(76,201,240,.38), transparent 70%);
  filter: blur(4px);
}

.phone-top,
.payment-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.phone-top {
  color: #EAF7FF;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22E6A8;
  box-shadow: 0 0 18px #22E6A8;
}

.qr-card {
  margin: 54px auto 32px;
  width: 210px;
  min-height: 210px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  text-align: center;
}

.qr-grid {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.qr-grid span {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 5px;
}

.qr-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.payment-line {
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 14px;
}

.payment-line span {
  color: var(--muted);
}

.payment-line strong {
  color: white;
}

.payment-line.muted {
  opacity: .78;
}

.floating-card {
  position: absolute;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(7,19,38,0.82);
  border: 1px solid rgba(76,201,240,0.24);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 60px rgba(0,0,0,.25);
}

.floating-card strong {
  display: block;
  font-size: .94rem;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: .84rem;
}

.floating-top {
  top: 72px;
  right: 0;
}

.floating-bottom {
  left: 0;
  bottom: 92px;
}

.section-heading {
  max-width: 700px;
}

.section-heading.center {
  text-align: center;
  margin: 0 auto 46px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 12px 0 18px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.sector-card,
.step,
.country-card,
.trust-cards div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  min-width: 0;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.card:hover,
.sector-card:hover,
.step:hover,
.country-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76,201,240,.34);
  background: rgba(255,255,255,0.08);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(76,201,240,.12);
  margin-bottom: 18px;
}

.card h3,
.sector-card h3,
.step h3,
.country-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.card p,
.sector-card p,
.step p,
.country-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.benefit-list div {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(76,201,240,0.12), rgba(255,255,255,0.045));
  border: 1px solid rgba(255,255,255,0.12);
}

.benefit-list span {
  color: var(--cyan);
  font-weight: 900;
  font-size: .8rem;
}

.benefit-list strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.1rem;
}

.benefit-list p {
  margin: 0;
  color: var(--muted);
}


/* Benefits: concrete value for client, team and business */
.benefits-heading {
  max-width: 820px;
}

.benefits-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-audience-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.benefit-audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: .9;
}

.benefit-audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76,201,240,.34);
  background: rgba(255,255,255,0.08);
}

.benefit-audience-card--business {
  background: linear-gradient(180deg, rgba(76,201,240,.10), rgba(255,255,255,.05));
}

.benefit-audience-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.benefit-audience-card .audience-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(76,201,240,.11);
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.benefit-marker {
  color: rgba(255,255,255,.34);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.benefit-audience-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.benefit-audience-card > p {
  margin: 0;
  color: var(--muted);
}

.benefit-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.benefit-points li {
  position: relative;
  padding-left: 24px;
  color: rgba(255,255,255,.88);
  font-size: .94rem;
}

.benefit-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 900;
}

.benefits-note {
  max-width: 780px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
}

.benefits-note strong {
  color: var(--text);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.sector-card {
  grid-column: span 2;
  min-height: 210px;
}

.sector-card.featured {
  grid-column: span 4;
  background:
    linear-gradient(135deg, rgba(76,201,240,.18), rgba(21,157,232,.10)),
    var(--surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.step {
  padding: 26px;
  grid-column: span 2;
}

.step:nth-child(4),
.step:nth-child(5) {
  grid-column: span 3;
}

.step > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
  margin-bottom: 18px;
}

.center-action {
  text-align: center;
  margin-top: 34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.trust-cards strong {
  display: block;
  margin-bottom: 8px;
}

.trust-cards span {
  color: var(--muted);
}

/* Home: acceso destacado a la guía de cobros, aislado de las tarjetas de confianza. */
.stripe-connect-guide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding: 28px 32px;
  border: 1px solid rgba(76,201,240,.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(76,201,240,.10), rgba(21,157,232,.06));
}

.stripe-connect-guide-card__copy {
  max-width: 760px;
}

.stripe-connect-guide-card .section-kicker {
  margin: 0 0 8px;
}

.stripe-connect-guide-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.stripe-connect-guide-card p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
}

.stripe-connect-guide-card .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}


.countries {
  background: linear-gradient(180deg, rgba(76,201,240,0.05), transparent);
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.country-card > span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(76,201,240,.12);
  font-weight: 850;
  font-size: .86rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 14px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 22px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  color: var(--muted);
  margin: 12px 0 0;
}

.contact {
  padding-top: 40px;
}

.contact-card {
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 20%, rgba(76,201,240,.18), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,0.14);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 10px 0 14px;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.contact-actions small {
  color: var(--muted-2);
  text-align: center;
}

.site-footer {
  padding: 54px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: #030816;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.footer-grid img {
  width: 124px;
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-company p {
  margin: 0 0 6px;
}

.footer-company strong {
  color: #fff;
  font-weight: 700;
}

.footer-company small {
  display: block;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: .78rem;
}

.footer-grid a {
  display: block;
  margin-top: 8px;
}

.footer-grid a:hover {
  color: white;
}

.footer-grid h4 {
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav.is-open .nav-links,
  .nav.is-open .nav-actions {
    display: flex;
  }

  .nav.is-open {
    flex-wrap: wrap;
    padding: 16px 0 20px;
  }

  .nav.is-open .nav-links,
  .nav.is-open .nav-actions {
    width: 100%;
    flex-direction: column;
    margin-left: 0;
  }

  .hero-grid,
  .split,
  .trust-grid,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .cards-grid-3,
  .benefit-list,
  .benefits-audience-grid,
  .country-grid,
  .trust-cards {
    grid-template-columns: 1fr;
  }

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

  .sector-card,
  .sector-card.featured {
    grid-column: auto;
  }

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

  .step,
  .step:nth-child(4),
  .step:nth-child(5) {
    grid-column: auto;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 70px 0;
  }

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

  .btn-large {
    width: 100%;
  }

  .floating-card {
    display: none;
  }

  .phone-card {
    min-height: 440px;
  }

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

  .contact-card {
    padding: 28px;
  }

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


/* V6: mobile-first refinements for the hero and responsive layout */
html {
  scroll-padding-top: 96px;
}

h1,
.section-heading h2 {
  text-wrap: balance;
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(5, 11, 24, 0.92);
  }

  .nav {
    min-height: 80px;
  }

  .brand img {
    width: 136px;
  }

  .hero {
    padding-top: 54px;
    padding-bottom: 66px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    width: 100%;
    min-height: auto;
    display: block;
  }

  h1 {
    font-size: clamp(2.85rem, 13.2vw, 3.55rem);
    line-height: 0.98;
    letter-spacing: -0.048em;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 100%;
  }

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

  .microcopy {
    font-size: .94rem;
    line-height: 1.5;
  }

  .phone-card {
    width: 100%;
    min-height: auto;
    padding: 26px;
    border-radius: 30px;
  }

  .qr-card {
    width: min(230px, 100%);
    min-height: 218px;
    margin: 42px auto 28px;
  }

  .floating-card {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .nav {
    min-height: 78px;
  }

  .brand img {
    width: 132px;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(2.55rem, 12.4vw, 3.15rem);
  }

  .phone-card {
    padding: 24px;
  }

  .qr-card {
    width: min(220px, 100%);
  }
}


/* V7: keep the contextual floating messages visible on mobile without breaking layout */
@media (max-width: 640px) {
  .hero-visual {
    position: relative;
    overflow: visible;
    padding-top: 0;
  }

  .floating-card {
    display: block !important;
    z-index: 3;
    padding: 12px 14px;
    border-radius: 14px;
    max-width: 210px;
    background: rgba(7, 19, 38, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  }

  .floating-card strong {
    font-size: .88rem;
    line-height: 1.2;
  }

  .floating-card span {
    font-size: .78rem;
    line-height: 1.35;
  }

  .floating-top {
    top: 72px;
    right: -2px;
  }

  .floating-bottom {
    left: -2px;
    bottom: 146px;
  }
}

@media (max-width: 420px) {
  .floating-card {
    max-width: 190px;
    padding: 11px 13px;
  }

  .floating-card strong {
    font-size: .82rem;
  }

  .floating-card span {
    font-size: .72rem;
  }

  .floating-top {
    top: 62px;
    right: -8px;
  }

  .floating-bottom {
    left: -8px;
    bottom: 142px;
  }
}


/* V8: mobile polish after real-device review */
@media (max-width: 640px) {
  .section {
    padding: 58px 0;
  }

  .section-heading.center {
    margin-bottom: 34px;
  }

  .section-heading p {
    font-size: 1rem;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 58px;
  }

  .hero-grid {
    gap: 34px;
  }

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

  .microcopy {
    margin-top: 16px;
  }

  .hero-visual {
    max-width: 352px;
    margin: 0 auto;
  }

  .phone-card {
    width: 100%;
    padding: 22px;
    border-radius: 28px;
  }

  .phone-top {
    font-size: .96rem;
  }

  .qr-card {
    width: min(196px, 100%);
    min-height: 196px;
    padding: 20px;
    margin: 34px auto 24px;
    border-radius: 24px;
  }

  .qr-grid {
    width: 98px;
    height: 98px;
    gap: 7px;
    margin-bottom: 16px;
  }

  .payment-line {
    padding: 12px 14px;
    margin-top: 12px;
    border-radius: 15px;
    font-size: .94rem;
  }

  .floating-card {
    max-width: 188px;
    padding: 11px 13px;
  }

  .floating-card strong {
    font-size: .82rem;
  }

  .floating-card span {
    font-size: .72rem;
  }

  .floating-top {
    top: 58px;
    right: -6px;
  }

  .floating-bottom {
    left: -6px;
    bottom: 120px;
  }

  .card,
  .sector-card,
  .step,
  .country-card,
  .trust-cards div {
    padding: 22px;
    border-radius: 20px;
  }

  .cards-grid,
  .benefit-list,
  .sector-grid,
  .steps-grid,
  .country-grid,
  .trust-cards,
  .accordion {
    gap: 14px;
  }

  .step > span {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .contact-card {
    padding: 26px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-visual {
    max-width: 340px;
  }

  .phone-card {
    padding: 21px;
  }

  .qr-card {
    width: min(188px, 100%);
    min-height: 188px;
    margin: 32px auto 22px;
  }

  .qr-grid {
    width: 94px;
    height: 94px;
    gap: 6px;
  }

  .floating-top {
    top: 54px;
    right: -5px;
  }

  .floating-bottom {
    left: -5px;
    bottom: 116px;
  }
}

@media (max-width: 375px) {
  .hero-visual {
    max-width: 324px;
  }

  .floating-card {
    max-width: 176px;
  }

  .floating-top {
    right: -2px;
  }

  .floating-bottom {
    left: -2px;
  }
}


/* V10: real Spain/Mexico contact details and footer cleanup */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  min-width: min(560px, 100%);
}

.contact-option {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  background: rgba(5, 18, 37, 0.42);
  display: grid;
  gap: 12px;
}

.contact-option > span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #4CC9F0;
  background: rgba(76, 201, 240, 0.14);
  font-weight: 800;
  font-size: .88rem;
}

.contact-option .btn {
  width: 100%;
  justify-content: center;
  padding-inline: 16px;
}

@media (max-width: 760px) {
  .contact-options {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .contact-option {
    padding: 16px;
  }
}


/* V11: footer social links instead of repeating contact details */
.footer-muted {
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
}


/* V13: rebalance single-country contact layout for Spain */
.contact-card-single {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 430px);
  gap: 42px;
}

.contact-options-single {
  grid-template-columns: 1fr;
  min-width: 0;
  width: 100%;
  max-width: 430px;
}

.contact-option-single {
  padding: 24px;
  gap: 14px;
}

.contact-option-single h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.contact-option-copy {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
}

.contact-note {
  display: block;
  color: var(--muted-2);
  text-align: center;
  font-size: .87rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .contact-card-single {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-options-single {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .contact-option-single {
    padding: 18px;
  }

  .contact-option-single h3 {
    font-size: 1.2rem;
  }

  .contact-option-copy {
    font-size: .95rem;
  }
}


/* Home hero: Kanra QR + digital tipping visual */
.hero-visual-image {
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
}

.hero-main-visual {
  display: block;
  width: min(680px, 100%);
  max-width: 100%;
  height: auto;
  border-radius: 28px;
  background: transparent;
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, .24));
}

@media (max-width: 980px) {
  .hero-visual-image {
    min-height: auto;
  }

  .hero-main-visual {
    width: min(680px, 100%);
  }
}

@media (max-width: 640px) {
  .hero-visual-image {
    max-width: 390px;
    margin: 0 auto;
  }

  .hero-main-visual {
    width: 100%;
    border-radius: 22px;
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .20));
  }
}

@media (max-width: 420px) {
  .hero-visual-image {
    max-width: 360px;
  }

  .hero-main-visual {
    width: 100%;
  }
}

/* Campaign readiness: forms, landing pages and tracking-friendly CTAs */
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 800;
}

.text-link:hover {
  color: var(--white);
}

.sector-card .text-link,
.country-card .text-link {
  position: relative;
  z-index: 1;
}

.contact-panel {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,0.06);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(5,11,24,.62);
  color: var(--white);
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea {
  min-height: 98px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(213,222,239,.48);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--muted-2);
  font-size: .92rem;
}

.landing-hero {
  padding-top: 110px;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 54px;
  align-items: start;
}

.landing-card {
  padding: 32px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.landing-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.landing-card li + li {
  margin-top: 10px;
}

.landing-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Stripe Connect: cuatro estados equilibrados sin afectar las rejillas generales. */
.stripe-connect-statuses {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Mantiene la continuidad entre el registro pendiente y la ayuda oficial. */
.stripe-connect-compact-section {
  padding-bottom: 48px;
}

.stripe-connect-followup-section {
  padding-top: 48px;
}

.tracking-note {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: .9rem;
}

@media (max-width: 980px) {
  .landing-grid,
  .landing-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stripe-connect-statuses {
    grid-template-columns: 1fr;
  }

  .stripe-connect-compact-section {
    padding-bottom: 42px;
  }

  .stripe-connect-followup-section {
    padding-top: 42px;
  }

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

  .contact-panel {
    padding: 20px;
    border-radius: 22px;
  }
}


/* Stripe trust badge */
.stripe-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 24px;
  padding: 0 10px;
  margin-right: 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #635BFF, #7A73FF);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: -.03em;
  text-transform: lowercase;
  vertical-align: middle;
  box-shadow: 0 10px 24px rgba(99, 91, 255, .22);
}

.stripe-trust-card strong {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}


/* Hidden anti-spam field */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status.is-success {
  color: #30e59b;
  font-weight: 800;
}

.form-status.is-error {
  color: #ff8f8f;
  font-weight: 800;
}


/* Stable form submit button states */
.contact-form .form-actions .btn[type="submit"] {
  min-width: 188px;
}

.contact-form .form-actions .btn[type="submit"].is-sent {
  opacity: 1;
  cursor: default;
}

.form-status {
  min-height: 24px;
}


/* V1 Spain color adaptation to current Kanra logo */
.site-header { border-bottom-color: rgba(76,201,240,0.10); }
.nav-links a:hover { color: var(--cyan); }
.btn-secondary:hover, .btn-ghost:hover { border-color: rgba(76,201,240,.28); color: var(--white); }
.eyebrow span { box-shadow: 0 0 18px rgba(76,201,240,.75); }
.section-kicker, .eyebrow, .text-link, .benefit-list span, .country-card > span { color: var(--cyan); }
.hero-main-visual { filter: drop-shadow(0 26px 66px rgba(76,201,240,.12)) drop-shadow(0 18px 44px rgba(0,0,0,.24)); }
.card:hover, .sector-card:hover, .step:hover, .country-card:hover, details:hover { box-shadow: 0 10px 26px rgba(76,201,240,.08); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: rgba(76,201,240,.55); box-shadow: 0 0 0 3px rgba(76,201,240,.12); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(76,201,240,.34); }
.stripe-badge { box-shadow: 0 10px 24px rgba(99, 91, 255, .18); }


/* Payment methods block */
.payment-methods {
  padding-top: 0;
}

.payment-methods-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 42px;
  background:
    radial-gradient(circle at 15% 0%, rgba(76,201,240,.20), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.052));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 28px 90px rgba(0,0,0,.20);
  text-align: center;
}

.payment-methods-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(76,201,240,.20), transparent 42%, rgba(255,255,255,.06));
}

.payment-methods-card > * {
  position: relative;
  z-index: 1;
}

.payment-methods-card .section-kicker {
  margin-bottom: 10px;
}

.payment-methods-card h2 {
  margin: 0 auto 12px;
  max-width: 760px;
}

.payment-methods-card p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.payment-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px auto 18px;
}

.payment-badge {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  color: #07162A;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
  font-weight: 900;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.payment-badge .payment-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(76,201,240,.14);
  color: var(--blue-dark);
  font-size: .86rem;
  font-weight: 950;
}

.payment-badge--stripe {
  color: #635BFF;
  text-transform: lowercase;
  font-size: 1.08rem;
  letter-spacing: -.055em;
}

.payment-badge--stripe .payment-icon {
  background: linear-gradient(135deg, #635BFF, #7A73FF);
  color: #fff;
}

.payment-badge--apple {
  letter-spacing: -.035em;
}

.payment-badge--google .g-blue {
  color: #4285F4;
}

.payment-badge--google .g-red {
  color: #EA4335;
}

.payment-badge--google .g-yellow {
  color: #FBBC05;
}

.payment-badge--google .g-green {
  color: #34A853;
}

.payment-badge--bizum {
  color: #00AEEF;
}

.payment-badge--bizum .payment-icon {
  background: linear-gradient(135deg, rgba(0,174,239,.16), rgba(0,194,168,.18));
  color: #00AEEF;
}

.payment-note {
  margin: 0 auto;
  color: var(--muted-2) !important;
  font-size: .88rem;
}

@media (max-width: 640px) {
  .payment-methods-card {
    padding: 28px 18px;
    border-radius: 28px;
  }

  .payment-badges {
    gap: 10px;
  }

  .payment-badge {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    font-size: .94rem;
  }
}


/* V11: clear form feedback for email-only contact flow */
.form-status.is-success {
  color: #9de7bd;
  font-weight: 700;
}

.form-status.is-error {
  color: #ffb4b4;
  font-weight: 700;
}

.contact-form button.is-sent {
  opacity: 1;
}


/* Lead form: low-friction contact and privacy context */
.field-optional {
  color: var(--muted-2);
  font-weight: 600;
  font-size: .84rem;
}

.form-privacy {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--muted-2);
  font-size: .82rem;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* V16: HOME conversion structure — simple, reusable and mobile-first */
.usage {
  background: linear-gradient(180deg, rgba(76,201,240,.045), transparent);
}

.usage-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: center;
}

.placement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.placement-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 0;
}

.placement-card h3 {
  margin: 12px 0 8px;
  font-size: 1.12rem;
}

.placement-card p {
  margin: 0;
  color: var(--muted);
}

.placement-tag,
.audience-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(76,201,240,.12);
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 850;
}

.audience-card h3 {
  margin-top: 14px;
}

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

.sector-grid-home .sector-card {
  grid-column: auto;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.sector-grid-home .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.trust-payments {
  margin-top: 34px;
  text-align: center;
}

.trust-payments .payment-badges {
  margin-top: 0;
}

@media (max-width: 900px) {
  .usage-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .sector-grid-home .sector-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .placement-grid {
    grid-template-columns: 1fr;
  }
}

/* V17: visual use cases for QR placement */
.usage-heading {
  max-width: 760px;
}

.placement-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.placement-showcase {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.placement-showcase:hover {
  transform: translateY(-4px);
  border-color: rgba(76,201,240,.34);
  background: rgba(255,255,255,.08);
}

.placement-media {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(76,201,240,.14), transparent 42%),
    #091423;
}

.placement-media img {
  display: block;
  max-width: 100%;
  height: auto;
}

.placement-media--card {
  padding: 42px 26px;
}

.placement-media--card img {
  width: min(100%, 410px);
  border-radius: 12px;
  box-shadow: 0 24px 54px rgba(0,0,0,.32);
}

.placement-media--sticker {
  padding: 26px;
}

.placement-media--sticker img {
  width: min(100%, 340px);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(0,0,0,.28);
}

.qr-badge {
  position: absolute;
  display: grid;
  place-items: center;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0,0,0,.34), 0 0 0 2px rgba(0,207,255,.6);
}

.qr-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-badge--card {
  width: 24%;
  aspect-ratio: 1;
  right: 9%;
  top: 35%;
}

.qr-badge--sticker {
  width: 27%;
  aspect-ratio: 1;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
}

.placement-copy {
  padding: 24px;
}

.placement-copy h3 {
  margin: 12px 0 8px;
  font-size: 1.16rem;
}

.placement-copy p {
  margin: 0;
  color: var(--muted);
}

.placement-media--ticket {
  padding: 30px;
}

.ticket-mockup {
  width: min(100%, 250px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 24px 24px;
  background: #fff;
  color: #18202d;
  border-radius: 8px 8px 18px 18px;
  box-shadow: 0 28px 60px rgba(0,0,0,.32);
  transform: rotate(-1.2deg);
  position: relative;
}

.ticket-mockup::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 16px;
  background: linear-gradient(135deg, transparent 50%, #fff 50%) 0 0 / 16px 16px repeat-x;
}

.ticket-brand {
  text-align: center;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.ticket-rule {
  border-top: 1px dashed #a8b0bb;
  margin: 18px 0;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .86rem;
  margin-bottom: 8px;
}

.ticket-title {
  text-align: center;
  font-size: 1rem;
  margin-top: 2px;
}

.ticket-subtitle,
.ticket-powered {
  text-align: center;
  color: #5d6876;
  font-size: .72rem;
}

.ticket-subtitle {
  margin-top: 5px;
}

.qr-badge--ticket {
  position: relative;
  width: 112px;
  aspect-ratio: 1;
  margin: 18px auto 14px;
  box-shadow: none;
  border-color: #eef2f6;
  outline: 2px solid rgba(0,174,239,.55);
}

.ticket-powered {
  margin-top: auto;
  padding-top: 4px;
  font-weight: 700;
}

.placement-note {
  max-width: 900px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 980px) {
  .placement-visual-grid {
    grid-template-columns: 1fr;
  }

  .placement-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: stretch;
  }

  .placement-media {
    min-height: 280px;
  }

  .placement-copy {
    align-self: center;
    padding: 30px;
  }
}

@media (max-width: 680px) {
  .placement-showcase {
    display: block;
  }

  .placement-media {
    min-height: 250px;
  }

  .placement-media--card {
    padding: 30px 18px;
  }

  .placement-media--sticker,
  .placement-media--ticket {
    padding: 22px;
  }

  .placement-copy {
    padding: 22px;
  }
}

/* V17: hero compacto con una fotografía completa y recorrido visible en portada. */
.hero--v17 {
  min-height: 590px;
  padding: 122px 0 76px;
  isolation: isolate;
  background: #061d35;
}

.hero--v17::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 80% 35%, rgba(44, 174, 233, .18), transparent 28%),
    linear-gradient(112deg, #06192f 0%, #08294a 54%, #0a3157 100%);
}

.hero--v17::after {
  display: none;
}

.hero--v17 .hero-grid {
  position: relative;
  z-index: 1;
  min-height: 360px;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: clamp(34px, 5vw, 76px);
}

.hero--v17 .hero-copy {
  max-width: 620px;
}

.hero--v17 .hero-copy h1 {
  max-width: 620px;
  font-size: clamp(3rem, 4.55vw, 5rem);
}

.hero--v17 .lead {
  max-width: 575px;
  line-height: 1.58;
}

.hero--v17 .microcopy {
  color: var(--cyan);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 800;
}

.hero-v17-visual {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 4 / 3;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(167, 225, 255, .25);
  border-radius: 24px;
  background: #0a2948;
  box-shadow: 0 26px 58px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hero-v17-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 27, 49, .18), transparent 30%);
}

.hero-v17-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.how-it-works-summary {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(76, 201, 240, .11), transparent 32%),
    linear-gradient(180deg, #0a3554 0%, #103f5f 100%);
}

.how-it-works-summary .section-heading {
  margin-bottom: 34px;
}

.how-it-works-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.how-it-works-summary__card {
  min-height: 186px;
  padding: 20px;
  border: 1px solid rgba(191, 233, 255, .22);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
}

.how-it-works-summary__card > span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #51d5f5, #1a9fe0);
}

.how-it-works-summary__card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.how-it-works-summary__card p {
  margin: 0;
  color: rgba(232, 243, 252, .74);
  font-size: .94rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero--v17 {
    min-height: 0;
    padding-top: 112px;
  }

  .hero--v17 .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .hero--v17 {
    padding: 90px 0 62px;
  }

  .hero--v17 .hero-grid {
    display: block;
    min-height: 0;
  }

  .hero--v17 .hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 3.7rem);
  }

  .hero--v17 .eyebrow {
    font-size: .67rem;
  }

  .hero-v17-visual {
    max-width: 390px;
    margin: 32px auto 0;
    border-radius: 20px;
  }

  .how-it-works-summary__grid {
    grid-template-columns: 1fr;
  }

  .how-it-works-summary__card {
    min-height: 0;
  }
}

/* Home sectors: make each visitor recognize their use case quickly */
.sectors-heading {
  max-width: 820px;
}

.sector-grid-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sector-card-home {
  grid-column: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.sector-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.sector-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(76,201,240,.11);
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sector-number {
  color: rgba(255,255,255,.34);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.sector-card-home h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.sector-card-home > p {
  margin-bottom: 20px;
  line-height: 1.65;
}

.sector-use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.sector-use-list li {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  font-size: .82rem;
  font-weight: 700;
}

.sector-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sectors-fit {
  margin-top: 28px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(76,201,240,.08), rgba(255,255,255,.035));
}

.sectors-fit p {
  margin: 0;
  color: var(--muted);
}

.sectors-fit strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .sector-grid-home {
    grid-template-columns: 1fr;
  }

  .sector-card-home {
    min-height: 0;
  }

  .sectors-fit {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* V20: clearer payment and trust section */
.trust-card-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(76,201,240,.12);
  color: var(--cyan) !important;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.trust-cards strong {
  font-size: 1.08rem;
}

.trust-payment-title {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 750;
}

.trust-payment-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.trust-payment-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
}

.trust-payments .payment-note strong {
  color: var(--text);
}

@media (max-width: 640px) {
  .trust-payment-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-payment-strip span {
    padding-inline: 12px;
  }
}


/* Accessibility and interaction consistency */
a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(76, 201, 240, .9);
  outline-offset: 3px;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: rgba(76,201,240,.65);
  box-shadow: 0 0 0 3px rgba(76,201,240,.14);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* V24: replace improvised QR overlays with final showcase assets */
.placement-media--asset {
  padding: 22px;
  min-height: 340px;
  background:
    radial-gradient(circle at 50% 0%, rgba(76,201,240,.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    #091423;
}

.placement-asset {
  display: block;
  width: min(100%, 420px);
  height: auto;
  border-radius: 24px;
  box-shadow: 0 22px 52px rgba(0,0,0,.34);
}

.placement-media--card .placement-asset,
.placement-media--ticket .placement-asset {
  width: min(100%, 360px);
}

.placement-media--sticker .placement-asset {
  width: min(100%, 320px);
  border-radius: 24px;
}

.placement-asset--ticket {
  width: min(100%, 300px);
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

/* Make hero visual feel more naturally integrated */
.hero-main-visual {
  width: min(710px, 100%);
  filter: drop-shadow(0 26px 54px rgba(0, 0, 0, .26));
}

/* V24: payment methods with image badges */
.trust-payment-strip--logos {
  gap: 14px;
  align-items: center;
}

.trust-payment-strip--logos img {
  display: block;
  width: auto;
  max-width: 196px;
  height: 52px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.16));
}

@media (max-width: 980px) {
  .placement-media--asset {
    min-height: 280px;
  }

  .placement-media--card .placement-asset,
  .placement-media--ticket .placement-asset {
    width: min(100%, 320px);
  }
}

@media (max-width: 640px) {
  .placement-media--asset {
    padding: 18px;
    min-height: 240px;
  }

  .placement-media--card .placement-asset,
  .placement-media--sticker .placement-asset,
  .placement-media--ticket .placement-asset {
    width: min(100%, 280px);
  }

  .trust-payment-strip--logos {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .trust-payment-strip--logos img {
    height: 48px;
    max-width: 188px;
  }
}

/* V3: polished glass header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(111, 210, 255, .14);
  background:
    linear-gradient(180deg, rgba(7, 25, 43, .92), rgba(6, 22, 38, .82));
  -webkit-backdrop-filter: saturate(140%) blur(22px);
  backdrop-filter: saturate(140%) blur(22px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .16);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 4%, rgba(76,201,240,.42) 28%, rgba(21,157,232,.22) 68%, transparent 96%);
}

.nav {
  min-height: 78px;
}

.nav-links {
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  color: #AEBBD0;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(76,201,240,.15), rgba(21,157,232,.10));
  box-shadow: inset 0 0 0 1px rgba(76,201,240,.15), 0 8px 20px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

.nav-links a:active {
  transform: translateY(0);
  background: rgba(76,201,240,.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}

.brand img {
  filter: drop-shadow(0 5px 16px rgba(21,157,232,.12));
}

/* V5: simplify the hero media panel so the image leads the composition */
.hero-visual-image {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    radial-gradient(circle at 72% 18%, rgba(76,201,240,.10), transparent 34%),
    rgba(7, 23, 38, .38);
  box-shadow:
    0 28px 72px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.hero-visual-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72%;
  height: 66%;
  right: 2%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,201,240,.15), rgba(21,157,232,.05) 42%, transparent 74%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-visual-image::after {
  content: none;
}

.hero-main-visual {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  display: block;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(0,0,0,.24);
  filter: none;
}

/* V3: full payment method names */
.trust-payment-strip--logos img {
  height: 54px;
  max-width: 216px;
}

@media (max-width: 980px) {
  .nav-links {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    border-radius: 14px;
  }

  .hero-visual-image {
    min-height: auto;
    padding: 16px;
    border-radius: 26px;
  }
}

@media (max-width: 640px) {
  .hero-visual-image {
    max-width: 420px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 22px;
  }

  .hero-main-visual {
    border-radius: 18px;
  }
}

/* Privacy consent */
.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(640px, calc(100vw - 32px));
  padding: 22px 24px;
  border: 1px solid rgba(110, 201, 255, .35);
  border-radius: 22px;
  background: rgba(7, 20, 39, .98);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .34);
  color: var(--white);
}

.cookie-banner[hidden] { display: none; }
.cookie-banner__content { flex: 1; }
.cookie-banner__content strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.cookie-banner__content p { margin: 0 0 8px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.cookie-banner__content a { color: var(--cyan); font-size: .88rem; font-weight: 800; }
.cookie-banner__actions { display: flex; flex: 0 0 auto; gap: 10px; }
.cookie-banner .btn { min-height: 42px; padding: 10px 16px; font-size: .86rem; }

.legal-page { min-height: 100vh; padding: 132px 0 72px; }
.legal-page__content { max-width: 820px; }
.legal-page__content h1 { margin: 0 0 12px; }
.legal-page__content h2 { margin-top: 42px; }
.legal-page__content p,
.legal-page__content li { color: var(--muted); line-height: 1.7; }
.legal-page__content ul { padding-left: 22px; }
.legal-page__updated { color: var(--muted-2); }

@media (max-width: 640px) {
  .cookie-banner { right: 16px; bottom: 16px; display: block; padding: 20px; }
  .cookie-banner__actions { margin-top: 16px; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* V8: product-led landing composition */

.hero-visual-image {
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-main-visual {
  width: min(760px, 100%);
  border: 1px solid rgba(112, 218, 255, .2);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .3), 0 0 0 1px rgba(76, 201, 240, .06);
}

.transparency-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  align-items: center;
  gap: 36px;
  max-width: 1000px;
  margin: 42px auto 0;
  padding: 30px 34px;
  border: 1px solid rgba(76,201,240,.26);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(76,201,240,.10), rgba(255,255,255,.035));
}

.transparency-statement .section-kicker { margin: 0 0 8px; }
.transparency-statement h3 { margin: 0 0 10px; font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.15; }
.transparency-statement p { margin: 0; color: var(--muted); }

.transparency-statement__example {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 13px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(5, 16, 29, .42);
  text-align: center;
}

.transparency-statement__example span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.transparency-statement__example strong {
  color: var(--white);
  font-size: 2rem;
  letter-spacing: -.05em;
}

.transparency-statement__example b {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--cyan);
  font-size: 1.4rem;
}

.placement-media--ticket {
  min-height: 440px;
  padding: 28px;
}

.placement-media--ticket .placement-asset--ticket {
  width: auto;
  height: min(384px, 80vw);
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.pdf-document {
  min-height: 100vh;
  background: #091423;
}

.pdf-document__bar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #071727;
}

.pdf-document__bar img { display: block; width: 106px; height: auto; }
.pdf-document__bar .btn { min-height: 38px; padding: 8px 14px; font-size: .84rem; }
.pdf-document__frame { display: block; width: 100%; height: calc(100vh - 66px); border: 0; background: #202124; }

@media (max-width: 640px) {
  .pdf-document__bar { height: 58px; padding: 8px 16px; }
  .pdf-document__bar img { width: 84px; }
  .pdf-document__bar .btn { padding: 7px 10px; font-size: .75rem; }
  .pdf-document__frame { height: calc(100vh - 58px); }
}

@media (max-width: 640px) {
  .hero-visual-image { display: block; min-height: auto; }
  .hero-main-visual { border-radius: 22px; }
  .transparency-statement { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; padding: 24px; }
  .placement-media--ticket { min-height: 380px; }
  .placement-media--ticket .placement-asset--ticket { height: 332px; }
}


/* Kanra V8: documentos legales HTML accesibles */
.legal-page { background:#f3f7fb; color:#15304b; min-height:100vh; }
.legal-page .pdf-document__bar { position:sticky;top:0;z-index:30; }
.legal-page .pdf-document__bar .btn { color:#fff; }
.legal-page__main {max-width:890px;margin:40px auto 64px;padding:0 18px;}
.legal-page__paper {background:white;border:1px solid #dce8f3;border-radius:18px;padding:clamp(25px,5.5vw,66px);box-shadow:0 12px 44px rgba(13,37,65,.07);font-size:15px;line-height:1.72;}
.legal-page__paper .legal-intro {text-align:center;padding-bottom:21px;border-bottom:1px solid #e7edf3;margin-bottom:28px;}
.legal-page__paper .legal-intro img {max-width:175px;width:55%;height:auto;margin:0 auto 28px;display:block;}
.legal-page__paper .legal-kicker {color:#0e88d0;text-transform:uppercase;font-weight:750;letter-spacing:.07em;font-size:.75rem;}
.legal-page__paper h1 {color:#123551;font-size:clamp(1.65rem,4vw,2.2rem);line-height:1.2;margin:12px 0;}
.legal-page__paper .legal-version {color:#60768c;font-size:.87rem;}
.legal-page__paper h2 {color:#123551;font-size:1.12rem;line-height:1.4;margin:28px 0 11px;}
.legal-page__paper p {margin:0 0 13px;color:#263f54;}
.legal-page__paper ul {list-style:disc;padding-left:23px;margin:0 0 16px;color:#263f54;}
.legal-page__paper li {margin-bottom:8px;}
.legal-page__paper .legal-notice {padding:16px 18px;background:#edf7fe;border-left:4px solid #1fb4ed;margin:15px 0 22px;border-radius:4px;}
.legal-page__paper .legal-notice p {margin:0;}
.legal-page__paper .legal-footer {margin-top:42px;padding-top:20px;border-top:1px solid #e4ebf1;color:#667b8d;font-size:.79rem;}

/* V15: hero corporativo continuo y estructura de tutoriales sin enlaces publicados. */
.hero--v15 {
  min-height: 660px;
  padding: 142px 0 96px;
  isolation: isolate;
  background: #082d52;
}

.hero--v15::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 30, 56, .99) 0%, rgba(7, 40, 72, .97) 35%, rgba(7, 40, 72, .78) 51%, rgba(7, 40, 72, .20) 69%, rgba(7, 40, 72, .04) 100%);
}

.hero--v15::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  height: auto;
  width: min(52vw, 660px);
  pointer-events: none;
  background-image:
    linear-gradient(90deg, #082d52 0%, rgba(8, 45, 82, .98) 12%, rgba(8, 45, 82, 0) 30%),
    url("../img/hero-kanra-v15-product.png");
  background-position: left center, right center;
  background-repeat: no-repeat;
  background-size: 100% 100%, auto 100%;
}

.hero--v15 .hero-grid {
  position: relative;
  z-index: 1;
  min-height: 420px;
  grid-template-columns: minmax(0, 640px) minmax(300px, 1fr);
  gap: 0;
}

.hero--v15 .hero-copy {
  max-width: 640px;
}

.hero--v15 .eyebrow {
  max-width: 620px;
  line-height: 1.35;
}

.hero--v15 .hero-copy h1 {
  max-width: 620px;
  font-size: clamp(2.85rem, 5vw, 5rem);
}

.hero--v15 .lead {
  max-width: 580px;
  line-height: 1.55;
}

.hero--v15 .microcopy {
  color: var(--cyan);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 800;
}

.tutorials {
  background: linear-gradient(180deg, rgba(76, 201, 240, .055), transparent 70%);
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tutorial-card {
  min-height: 240px;
  padding: 30px;
  border: 1px solid rgba(76, 201, 240, .18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 53, 88, .92), rgba(8, 29, 52, .82));
}

.tutorial-card > span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.tutorial-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.tutorial-card p,
.tutorials-status {
  color: var(--muted);
}

.tutorials-status {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  font-size: .96rem;
}

@media (max-width: 980px) {
  .hero--v15 {
    min-height: 620px;
    padding-top: 124px;
  }

  .hero--v15 .hero-grid {
    grid-template-columns: minmax(0, 560px) minmax(180px, 1fr);
  }

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

  .tutorial-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hero--v15 {
    min-height: 690px;
    padding: 92px 0 255px;
  }

  .hero--v15::before {
    background-image:
      linear-gradient(90deg, rgba(5, 30, 56, 1) 0%, rgba(5, 30, 56, 1) 12%, rgba(7, 40, 72, .92) 53%, rgba(7, 40, 72, .32) 76%, rgba(7, 40, 72, .12) 100%),
      linear-gradient(180deg, rgba(5, 30, 56, 1) 0%, rgba(5, 30, 56, .96) 48%, rgba(5, 30, 56, .12) 72%, rgba(5, 30, 56, .05) 100%);
    background-position: center, center;
    background-size: cover, cover;
  }

  .hero--v15::after {
    inset: auto 0 0 auto;
    width: min(100%, 360px);
    height: 34%;
    background-position: left center, right bottom;
    background-size: 100% 100%, auto 100%;
  }

  .hero--v15 .hero-grid {
    min-height: 0;
    display: block;
  }

  .hero--v15 .hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.65rem);
  }

  .hero--v15 .eyebrow {
    font-size: .67rem;
  }

  .hero--v15 .lead {
    font-size: 1rem;
  }

  .tutorial-card {
    padding: 26px;
  }
}
/* Kanra V8: lista personalizada anclada al campo, sin modificar el grid */
.contact-form .business-type-field {position:relative;min-width:0;}
.contact-form .business-type-field > label {display:block;margin:0 0 7px;}
.business-type-select-native {position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0;pointer-events:none;left:8px;top:24px;padding:0!important;border:0!important;}
.business-type-trigger {width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(5,11,24,.62);color:#fff;padding:12px 14px;font:inherit;text-align:left;cursor:pointer;}
.business-type-trigger:focus-visible {outline:2px solid #4cc9f0;outline-offset:2px;}
.business-type-trigger::after {content:'';width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);flex:none;}
.business-type-trigger.is-placeholder {color:rgba(213,222,239,.53);}
.business-type-menu {position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:90;padding:5px;border:1px solid #47677e;border-radius:13px;background:#142635;box-shadow:0 14px 28px rgba(0,0,0,.32);max-height:260px;overflow-y:auto;}
.business-type-menu[hidden] {display:none!important;}
.business-type-option {width:100%;display:block;border:0;border-radius:8px;padding:10px 12px;text-align:left;color:#fff;background:transparent;font:inherit;cursor:pointer;}
.business-type-option:hover,.business-type-option:focus,.business-type-option[aria-selected='true'] {background:#135fa4;outline:0;}
@media(max-width:640px){.legal-page__main {margin:20px auto 40px;} .legal-page__paper{border-radius:12px;} .business-type-menu{max-height:240px;}}

/* Kanra legal navigation: v9 */
.legal-page__main {max-width:1250px;}
.legal-page__layout {display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px;align-items:start;}
.legal-sidebar {position:sticky;top:90px;max-height:calc(100vh - 108px);min-width:0;}
.legal-sidebar__details {background:#fff;border:1px solid #dce8f3;border-radius:16px;box-shadow:0 10px 35px rgba(13,37,65,.05);overflow:hidden;}
.legal-sidebar__details summary {list-style:none;cursor:pointer;padding:19px 20px;font-weight:750;color:#123551;border-bottom:1px solid #e7edf3;}
.legal-sidebar__details summary::-webkit-details-marker{display:none;}
.legal-sidebar__nav {padding:10px;overflow-y:auto;max-height:calc(100vh - 195px);overscroll-behavior:contain;}
.legal-sidebar__link {display:block;padding:10px 12px;margin:2px 0;border-radius:9px;color:#3e5870;text-decoration:none;font-size:.85rem;line-height:1.42;overflow-wrap:break-word;border-left:3px solid transparent;transition:background .15s,color .15s;}
.legal-sidebar__link:hover,.legal-sidebar__link:focus-visible{background:#eef7fe;color:#006eb6;}
.legal-sidebar__link.is-active {background:#e8f6ff;color:#0569ae;border-left-color:#1fb4ed;font-weight:700;}
.legal-page__layout .legal-page__paper{min-width:0;}
.legal-page__paper h2[id]{scroll-margin-top:92px;}
@media(max-width:860px){
 .legal-page__layout{grid-template-columns:minmax(0,1fr);gap:16px;}
 .legal-sidebar{position:relative;top:auto;max-height:none;}
 .legal-sidebar__details summary{padding:14px 17px;display:list-item;list-style:revert;list-style-position:inside;}
 .legal-sidebar__details summary::-webkit-details-marker{display:inline;}
 .legal-sidebar__nav{max-height:320px;}
 .legal-page__paper h2[id]{scroll-margin-top:80px;}
}


/* Kanra legal documents: v10 refinements */
.legal-page { padding: 0; }
.legal-page .pdf-document__bar {
  min-height: 80px;
  padding: 14px clamp(18px, 4vw, 36px);
  background: linear-gradient(180deg, #08192a 0%, #061626 100%);
}
.pdf-document__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.pdf-document__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.legal-page__main { margin: 30px auto 64px; }
.legal-sidebar { top: 104px; max-height: calc(100vh - 122px); }
.legal-sidebar__nav { max-height: calc(100vh - 210px); }
.legal-page__paper .legal-intro img {
  max-width: 360px;
  width: min(82%, 360px);
  margin: 0 auto 24px;
}
.legal-page__paper h2[id] { scroll-margin-top: 112px; }
@media(max-width:860px){
  .legal-page__paper h2[id]{scroll-margin-top:96px;}
}
@media(max-width:640px){
  .legal-page .pdf-document__bar {
    min-height: 68px;
    padding: 10px 14px;
    gap: 12px;
  }
  .pdf-document__bar img { width: 92px; }
  .pdf-document__actions { gap: 8px; }
  .pdf-document__actions .btn {
    min-height: 36px;
    padding: 7px 12px;
    font-size: .74rem;
  }
  .legal-page__main { margin: 16px auto 40px; }
}

/* v12: solo el elemento activo recibe fondo resaltado; hover/foco no simulan una segunda selección */
.legal-sidebar__link:hover:not(.is-active) { background: transparent; color: #006eb6; }
.legal-sidebar__link:focus:not(.is-active) { background: transparent; }
.legal-sidebar__link:focus-visible { outline: 2px solid #0579c3; outline-offset: -2px; }
.legal-page__paper h2[id] { scroll-margin-top: 96px; }
@media(max-width:640px) { .legal-page__paper h2[id] { scroll-margin-top: 84px; } }

@media (max-width: 980px) {
  .stripe-connect-guide-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .stripe-connect-guide-card {
    gap: 20px;
    margin-top: 26px;
    padding: 24px;
  }

  .stripe-connect-guide-card .btn {
    justify-content: center;
    width: 100%;
  }
}

/* V16: hero limpio, recursos alineados y formulario de contacto completo. */
.hero--v16 {
  min-height: 650px;
  padding: 132px 0 90px;
  isolation: isolate;
  overflow: hidden;
  background: #061d35;
}

.hero--v16::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(44, 174, 233, .18), transparent 29%),
    linear-gradient(115deg, #06192f 0%, #08294a 51%, #0b365f 100%);
}

.hero--v16::after {
  display: none;
}

.hero--v16 .hero-grid {
  position: relative;
  z-index: 1;
  min-height: 428px;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: clamp(32px, 5vw, 82px);
}

.hero--v16 .hero-copy {
  max-width: 610px;
}

.hero--v16 .hero-copy h1 {
  max-width: 610px;
  font-size: clamp(3.1rem, 4.75vw, 5.2rem);
}

.hero--v16 .lead {
  max-width: 570px;
  line-height: 1.58;
}

.hero--v16 .microcopy {
  color: var(--cyan);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 800;
}

.hero-v16-visual {
  position: relative;
  width: min(100%, 500px);
  justify-self: end;
  min-height: 440px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 52% 45%, rgba(76, 201, 240, .18), transparent 57%),
    url("../img/hero-kanra-v15-product.png");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, auto 100%;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, .25));
}

.hero-v16-visual::before {
  content: none;
}

.placement-visual-grid {
  align-items: stretch;
}

.placement-showcase {
  display: flex;
  flex-direction: column;
}

.placement-media--asset,
.placement-media--ticket.placement-media--asset {
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 360px;
  min-height: 360px;
  padding: 22px;
}

.placement-media--asset .placement-asset,
.placement-media--card .placement-asset,
.placement-media--sticker .placement-asset,
.placement-media--ticket .placement-asset,
.placement-media--ticket .placement-asset--ticket {
  width: auto;
  height: 316px;
  max-width: 100%;
  max-height: 316px;
  margin: 0;
  object-fit: contain;
}

.placement-copy {
  flex: 1 0 auto;
}

@media (max-width: 980px) {
  .hero--v16 {
    min-height: 0;
    padding-top: 116px;
  }

  .hero--v16 .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    gap: 32px;
  }

  .hero-v16-visual {
    min-height: 400px;
  }
}

@media (max-width: 680px) {
  .hero--v16 {
    padding: 90px 0 62px;
  }

  .hero--v16 .hero-grid {
    display: block;
    min-height: 0;
  }

  .hero--v16 .hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 3.7rem);
  }

  .hero--v16 .eyebrow {
    font-size: .67rem;
  }

  .hero-v16-visual {
    min-height: 300px;
    max-width: 330px;
    margin: 34px 0 0 auto;
  }

  .placement-media--asset,
  .placement-media--ticket.placement-media--asset {
    height: 310px;
    min-height: 310px;
    padding: 18px;
  }

  .placement-media--asset .placement-asset,
  .placement-media--card .placement-asset,
  .placement-media--sticker .placement-asset,
  .placement-media--ticket .placement-asset,
  .placement-media--ticket .placement-asset--ticket {
    height: 274px;
    max-height: 274px;
  }
}

/* V18: recupera la densidad y jerarquía visual aprobadas en Sectores y Confianza. */
.sector-card-home {
  padding: 22px;
}

.sector-card-head {
  margin-bottom: 16px;
}

.sector-card-home h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.sector-card-home > p {
  margin-bottom: 16px;
  line-height: 1.55;
}

.sector-use-list {
  margin-bottom: 18px;
}

.trust-cards div {
  padding: 22px;
}

.trust-cards strong {
  font-size: 1rem;
}

/* V19: composiciones compactas recuperadas de la versión original aprobada. */
.trust-cards div {
  padding: 20px;
}

.trust-card-label {
  margin-bottom: 8px;
  padding: 4px 8px;
  font-size: .7rem;
}

.trust-cards strong {
  margin-bottom: 6px;
  font-size: .95rem;
}

.trust-cards span {
  font-size: .93rem;
  line-height: 1.45;
}

.stripe-activation .landing-benefits {
  gap: 14px;
}

.stripe-activation .landing-benefits .card {
  padding: 20px;
}

.stripe-activation .landing-benefits .card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.stripe-activation .landing-benefits .card p {
  font-size: .93rem;
  line-height: 1.45;
}

/* V20: referencia aprobada para el recorrido de tres pasos y enlaces de Stripe. */
.how-it-works-summary {
  padding-bottom: 32px;
}

.how-it-works-summary__grid {
  grid-auto-rows: 186px;
}

.how-it-works-summary__card h3 {
  font-size: .98rem;
}

#transparencia {
  padding-top: 0;
  padding-bottom: 86px;
}

.stripe-connect-followup-section .cards-grid-3 .card {
  display: flex;
  flex-direction: column;
}

.stripe-connect-followup-section .cards-grid-3 .text-link {
  margin-top: auto;
  padding-top: 18px;
}

/* V21: bloque de estados de Stripe con las proporciones y foco aprobados. */
.stripe-status-section {
  padding-top: 86px;
}

.stripe-status-section .section-heading.center {
  margin-bottom: 37px;
}

.stripe-connect-statuses {
  gap: 14px;
}

.stripe-connect-statuses .stripe-status-card,
.stripe-connect-statuses .card {
  padding: 22px;
}

.stripe-connect-statuses .card:hover,
.stripe-connect-statuses .card:focus-within {
  border-color: rgba(76, 201, 240, .72);
  box-shadow: 0 0 0 1px rgba(76, 201, 240, .12);
}

/* V24 · Biblioteca de videotutoriales de Kanra. Se evita cargar YouTube antes de pulsar reproducir. */
.tutorials-home { padding-top: 64px; padding-bottom: 64px; background: linear-gradient(110deg, rgba(16,54,94,.75), rgba(7,26,47,.92)); border-top: 1px solid rgba(76,201,240,.11); border-bottom: 1px solid rgba(76,201,240,.11); }
.tutorials-home__inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: clamp(24px,5vw,72px); align-items: center; }
.tutorials-home__copy h2 { margin: 10px 0 14px; font-size: clamp(1.9rem,3.15vw,3rem); line-height: 1.14; }
.tutorials-home__copy > p:not(.section-kicker) { color: var(--muted); max-width: 650px; margin: 0 0 19px; }
.tutorials-home__link { font-weight: 800; color: var(--cyan); }
.tutorials-home__tags { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.tutorials-home__tags span { padding: 11px 15px; border-radius: 13px; background: rgba(76,201,240,.075); border: 1px solid rgba(76,201,240,.22); color: #d9eafa; font-weight: 650; font-size: .88rem; }
.tutorial-library-intro { padding: 88px 0 46px; background: radial-gradient(ellipse at 82% 10%,rgba(76,201,240,.11),transparent 40%); }
.tutorial-library-intro h1 { font-size: clamp(2.2rem,4.5vw,4.5rem); line-height: 1.1; letter-spacing: -.035em; max-width: 850px; margin: 12px 0 20px; }
.tutorial-library-intro__lead { font-size: clamp(1.05rem,1.6vw,1.2rem); max-width: 810px; color: var(--muted); margin: 0; }
.tutorial-library { padding: 45px 0 112px; }
.tutorial-library__header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.tutorial-library__header h2 { font-size: clamp(1.55rem,2.7vw,2.5rem); margin: 6px 0 10px; }
.tutorial-library__header p:last-child { color: var(--muted); max-width: 630px; margin: 0; }
.tutorial-library__count { border: 1px solid rgba(76,201,240,.22); border-radius: 999px; padding: 8px 14px; font-size: .84rem; color: var(--cyan); white-space: nowrap; }
.tutorial-library__layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(325px,.93fr); gap: clamp(26px,4vw,48px); align-items: start; }
.tutorial-library__topics { display: grid; gap: 12px; }
.tutorial-topic { border: 1px solid rgba(76,201,240,.16); border-radius: 18px; padding: 20px 24px 19px; background: linear-gradient(135deg,rgba(21,57,93,.72),rgba(10,30,51,.9)); }
.tutorial-topic__header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tutorial-topic__number { color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.tutorial-topic h3 { font-size: 1.12rem; margin: 0; flex: 1; }
.tutorial-topic__count { color: var(--muted); font-size: .82rem; }
.tutorial-topic ol { display: grid; gap: 5px; margin: 11px 0 0 28px; padding: 0; color: #c9d8e8; font-size: .92rem; }
.tutorial-library__media { position: sticky; top: 104px; border: 1px solid rgba(76,201,240,.17); background: linear-gradient(145deg,rgba(17,48,80,.85),rgba(6,22,38,.97)); border-radius: 22px; padding: 22px; box-shadow: 0 20px 55px rgba(0,0,0,.15); }
.tutorial-player { width: 100%; max-width: 410px; margin: 0 auto; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; overflow: hidden; background: #050f1e; aspect-ratio: 9 / 16; }
.tutorial-player__poster, .tutorial-player__frame { height: 100%; width: 100%; position: relative; }
.tutorial-player__poster > img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; opacity: .55; }
.tutorial-player__poster-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(3,17,30,.18),rgba(3,17,30,.24) 30%,rgba(3,17,30,.9) 100%); padding: 28px 22px; display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 13px; text-align: center; }
.tutorial-player__eyebrow { color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.tutorial-player__poster-overlay strong { font-size: clamp(1.3rem,2vw,1.8rem); line-height: 1.18; }
.tutorial-player__button { cursor: pointer; font: inherit; font-weight: 800; padding: 10px 16px; white-space: normal; }
.tutorial-player__frame video { height: 100%; width: 100%; display: block; border: 0; background: #050f1e; object-fit: contain; }
.tutorial-player__frame[hidden] { display: none; }
.tutorial-player__poster[hidden] { display: none; }
.tutorial-library__privacy { margin: 17px 0 12px; font-size: .8rem; line-height: 1.55; color: var(--muted); }
.tutorial-library__youtube { color: var(--cyan); font-size: .9rem; font-weight: 750; }
@media (max-width: 980px) { .tutorial-library__layout { grid-template-columns: minmax(0,1fr) minmax(295px,.9fr); gap: 22px; } }
@media (max-width: 760px) { .tutorials-home__inner, .tutorial-library__layout { grid-template-columns: 1fr; } .tutorial-library__media { position: static; } .tutorial-library__header { align-items: flex-start; flex-direction: column; } .tutorial-library__count { align-self: flex-start; } .tutorial-library-intro { padding-top: 54px; } .tutorial-library { padding-bottom: 70px; } }
@media (max-width: 480px) { .tutorial-library__media { padding: 12px; border-radius: 15px; } .tutorial-topic { padding: 17px; } .tutorial-player { max-width: 350px; } .tutorials-home { padding-top: 48px; padding-bottom: 48px; } }

/* V25 · Selector discreto de tutoriales: conserva las tarjetas de V24. */
.tutorial-topic__select {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.tutorial-topic__select:hover {
  background: rgba(76,201,240,.10);
  border-color: rgba(76,201,240,.28);
  color: #ffffff;
  transform: translateX(3px);
}
.tutorial-topic__select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.tutorial-topic__select[aria-pressed="true"] {
  background: rgba(76,201,240,.15);
  border-color: rgba(76,201,240,.42);
  color: #ffffff;
  font-weight: 700;
}
.tutorial-topic__select[aria-pressed="true"]::after {
  content: ' ▶';
  color: var(--cyan);
  font-size: .78em;
}
.tutorial-player__button[hidden] { display: none; }
@media (max-width: 760px) {
  .tutorial-library__media { scroll-margin-top: 88px; }
  .tutorial-topic__select { min-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .tutorial-topic__select { transition: none; }
  .tutorial-topic__select:hover { transform: none; }
}
