/*
 * Evapp — Revolut-inspired fintech marketing aesthetic
 * (Original layout; visual language inspired by public Revolut product pages:
 *  light surfaces, near-black type, soft cards, black CTAs — not a copy of Revolut assets.)
 */
:root {
  --r-ink: #0a0d12;
  --r-ink-soft: #3d454c;
  --r-muted: #6b7280;
  --r-line: #e8eaed;
  --r-line-strong: #d1d5db;
  --r-surface: #ffffff;
  --r-surface-subtle: #f6f7f8;
  --r-surface-band: #f0f1f3;
  --r-blue: #0066eb;
  --r-blue-hover: #0052cc;
  --r-radius: 16px;
  --r-radius-lg: 24px;
  --r-radius-xl: 28px;
  --r-shadow-sm: 0 1px 2px rgb(10 13 18 / 0.04);
  --r-shadow-md: 0 4px 24px rgb(10 13 18 / 0.06);
  --r-shadow-lg: 0 16px 48px rgb(10 13 18 / 0.08);
  --r-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --r-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --evapp-calc-bg: #ffffff;
  --evapp-calc-text: var(--r-ink);
  --evapp-calc-muted: var(--r-muted);
  --dg-floating-btn-color: var(--r-ink);
  /* TypeScript docs–style accent + Ant Design token–inspired neutrals */
  --evapp-ts-blue: #3178c6;
  --evapp-ant-primary: #1677ff;
  --evapp-ant-border: #f0f0f0;
  --evapp-ant-border-secondary: #d9d9d9;
  --evapp-code-font: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--r-font);
  background-color: var(--r-surface-subtle);
  color: var(--r-ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.page-section h2.section-heading,
.page-section h3.section-subheading,
#mainNav .navbar-brand,
#mainNav .navbar-nav .nav-item .nav-link {
  font-family: var(--r-display);
}

.text-muted {
  color: var(--r-muted) !important;
}

.page-section.bg-light .text-muted {
  color: var(--r-muted) !important;
}

/* Sections — white / soft gray bands */
.page-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background-color: var(--r-surface) !important;
}

.page-section.bg-light {
  background: var(--r-surface-band) !important;
}

.page-section h2.section-heading {
  font-size: clamp(1.875rem, 4.2vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-transform: none;
  color: var(--r-ink);
  text-shadow: none;
  margin-bottom: 1rem;
}

.page-section h2.section-heading.text-uppercase {
  text-transform: none;
}

/*
 * Section headings — typography only: size, weight, line-height, balanced line breaks.
 * No underlines or decorative color bars (minimal fintech-style landings).
 */
.page-section h2.section-heading.evapp-pro-headline {
  font-size: clamp(1.9375rem, 4.25vw, 2.6875rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.18;
  max-width: min(40rem, 100%);
  margin-bottom: 1.2rem;
  margin-top: 0;
  color: var(--r-ink);
  text-wrap: balance;
}

@media (min-width: 992px) {
  .page-section h2.section-heading.evapp-pro-headline {
    max-width: min(42rem, 100%);
  }
}

.page-section h3.section-subheading {
  font-weight: 500;
  color: var(--r-muted) !important;
  text-shadow: none;
  font-size: 1.125rem;
  line-height: 1.55;
}

.page-section.bg-light h3.section-subheading {
  color: var(--r-muted) !important;
}

/* Hero */
header.masthead {
  background: linear-gradient(180deg, var(--r-surface-band) 0%, var(--r-surface) 55%);
  color: var(--r-ink);
  padding-top: clamp(6.5rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

header.masthead .masthead-heading {
  color: var(--r-ink);
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-weight: 600;
  font-size: clamp(2.125rem, 5.5vw, 3.25rem);
  text-shadow: none;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  header.masthead .masthead-heading {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
}

header.masthead .masthead-subheading {
  color: var(--r-ink-soft);
  font-family: var(--r-font);
  font-weight: 400;
  line-height: 1.65;
  font-size: 1.125rem;
  max-width: 36rem;
}

header.masthead .row.text-center {
  text-align: center !important;
}

@media (min-width: 768px) {
  header.masthead .row.text-center {
    text-align: left !important;
  }
  header.masthead .masthead-subheading {
    text-align: left !important;
  }
}

header.masthead .masthead-head-one {
  border-radius: var(--r-radius-xl);
  box-shadow: var(--r-shadow-lg);
  overflow: hidden;
  min-height: 260px;
  background-size: cover;
  border: 1px solid var(--r-line);
}

@media (min-width: 768px) {
  header.masthead .masthead-head-one {
    min-height: 360px;
  }
}

/* Content images — app-style device cards */
.page-section .section-head-qs,
.page-section .section-head-qh,
.page-section .section-head-qn,
.page-section .section-head-clh,
.page-section .section-head-qo,
.page-section .section-head-listo,
.page-section .section-head-extranjero {
  border-radius: var(--r-radius-xl);
  box-shadow: var(--r-shadow-md);
  overflow: hidden;
  border: 1px solid var(--r-line);
}

.page-section.bg-light .section-head-qs,
.page-section.bg-light .section-head-qh,
.page-section.bg-light .section-head-qn,
.page-section.bg-light .section-head-clh,
.page-section.bg-light .section-head-qo,
.page-section.bg-light .section-head-listo,
.page-section.bg-light .section-head-extranjero {
  border: 1px solid var(--r-line);
  box-shadow: var(--r-shadow-sm);
}

/* Layout rhythm */
.content_evapp_divisor {
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.column_one_evapp,
.column_two_evapp {
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .column_one_evapp,
  .column_two_evapp {
    padding: 0.75rem;
  }
}

/* Nav — minimal, light */
#mainNav {
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background-color: rgb(255 255 255 / 0.92) !important;
  border-bottom: 1px solid transparent;
}

#mainNav > .container {
  align-items: center !important;
}

#mainNav .navbar-collapse {
  align-items: center !important;
}

#mainNav .navbar-brand {
  color: var(--r-ink) !important;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-size: 1.25rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2;
  min-height: 2.75rem;
}

#mainNav .navbar-nav {
  align-items: center;
}

#mainNav .navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: var(--r-ink-soft) !important;
  font-weight: 500;
  font-size: 0.875rem !important;
  text-transform: none;
  letter-spacing: -0.01em;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  min-height: 2.75rem;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: var(--r-ink) !important;
  background: rgb(10 13 18 / 0.05);
}

#mainNav .navbar-toggler {
  border-radius: 12px;
  border: 1px solid var(--r-line) !important;
  background: var(--r-surface) !important;
  color: var(--r-ink) !important;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 2.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

#mainNav #evapp-lang-toggle {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--r-ink) !important;
  background: var(--r-surface) !important;
  border: 1px solid var(--r-line-strong);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  margin-left: 0.25rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

#mainNav #evapp-lang-toggle:hover {
  background: rgb(10 13 18 / 0.06) !important;
  border-color: var(--r-line);
  color: var(--r-ink) !important;
}

#mainNav #evapp-lang-toggle .evapp-lang-flag {
  display: inline-block;
  font-size: 1.35rem;
  line-height: 1;
  vertical-align: middle;
}

/* reCAPTCHA (formularios Evapp) */
.evapp-mail-form .evapp-recaptcha-wrap {
  margin-bottom: 1rem;
}

.evapp-mail-form .evapp-g-recaptcha {
  min-height: 78px;
}

@media (min-width: 992px) {
  #mainNav {
    background-color: transparent !important;
    border-bottom-color: transparent;
  }

  #mainNav.navbar-shrink {
    background: rgb(255 255 255 / 0.94) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--r-shadow-sm);
    border-bottom: 1px solid var(--r-line);
    border-radius: 0;
  }
}

/* Forms */
.form-control,
select.form-control.form-textbox,
textarea.form-control {
  border-radius: 12px;
  border: 1px solid var(--r-line-strong);
  padding: 0.65rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: var(--r-surface) !important;
  color: var(--r-ink) !important;
}

.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: var(--r-blue);
  box-shadow: 0 0 0 3px rgb(0 102 235 / 0.15);
  background-color: var(--r-surface) !important;
}

.form-control::placeholder {
  color: #9ca3af !important;
}

.form-textbox {
  height: auto !important;
  min-height: 3rem;
}

section#contact textarea.form-control {
  min-height: 140px;
}

/* Contact: styles.css textarea height:100% can stretch the column and hide the submit button */
section#contact form#evapp-contact-form .form-group-textarea {
  height: auto !important;
}

section#contact form#evapp-contact-form .form-group-textarea textarea {
  height: auto !important;
  min-height: 11rem;
  max-height: 24rem;
}

/* Espacio bajo el formulario para que el FAB no tape "Enviar" en móvil */
section#contact.page-section .column_two_evapp {
  padding-bottom: clamp(3.5rem, 10vw, 5rem);
}

section#contact form#evapp-contact-form .evapp-contact-submit-wrap {
  margin-top: 1.25rem;
  position: relative;
  z-index: 2;
}

section#contact form#evapp-contact-form #evapp-contact-send {
  min-width: 10rem;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
}

/* Contact — soft map overlay for light theme */
section#contact.page-section {
  background-color: transparent !important;
  background-image: linear-gradient(
      rgb(240 241 243 / 0.94),
      rgb(246 247 248 / 0.96)
    ),
    url("../assets/img/contact-map-bg.jpg") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: auto, cover !important;
}

section#contact .section-heading {
  color: var(--r-ink) !important;
}

section#contact form#evapp-contact-form ::-webkit-input-placeholder,
section#contact form#evapp-contact-form :-moz-placeholder,
section#contact form#evapp-contact-form ::-moz-placeholder,
section#contact form#evapp-contact-form :-ms-input-placeholder {
  color: #9ca3af !important;
}

/* Simulator */
#simulator .price-box-main {
  width: 100% !important;
  max-width: 420px;
  margin-left: auto !important;
  margin-right: auto !important;
  background: var(--r-surface) !important;
  border: 1px solid var(--r-line) !important;
  border-radius: var(--r-radius-lg) !important;
  box-shadow: var(--r-shadow-md);
  padding: 1.75rem !important;
}

#simulator form.form-pricing {
  background: transparent !important;
  padding: 0 !important;
}

#simulator .price-slider h4.control-label,
#simulator .price-slider .control-label {
  color: var(--r-ink) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem !important;
}

#simulator .price-slider span {
  color: var(--r-muted) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

#simulator .w3l_form_group .control-label,
#simulator .price-form-one label {
  color: var(--r-ink) !important;
  font-weight: 600 !important;
}

#simulator .w3l_form_group .help-text {
  color: var(--r-muted) !important;
}

#simulator p.price.lead,
#simulator .price.lead {
  color: var(--r-ink) !important;
  font-family: var(--r-display);
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

#simulator .form-group span.price {
  color: var(--r-muted) !important;
}

#simulator .agileits_form_group {
  border-top-color: var(--r-line) !important;
}

#simulator .ui-widget-content {
  border: none !important;
  background: var(--r-surface-band) !important;
  border-radius: 999px !important;
  height: 10px !important;
  margin-top: 14px !important;
}

#simulator .ui-widget-header {
  background: var(--r-ink) !important;
  border-radius: 999px !important;
}

#simulator .ui-slider .ui-slider-handle,
#simulator .ui-slider a.ui-slider-handle {
  border-radius: 999px !important;
  background: var(--r-surface) !important;
  border: 2px solid var(--r-ink) !important;
  box-shadow: var(--r-shadow-md) !important;
  color: var(--r-ink) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

#simulator .ui-slider .ui-slider-handle label,
#simulator .ui-slider .ui-slider-handle a,
#simulator .ui-slider a.ui-slider-handle label {
  color: var(--r-ink) !important;
}

#simulator .ui-slider .ui-slider-handle .glyphicon {
  color: var(--r-muted) !important;
  opacity: 1 !important;
}

.price-box-main {
  width: 100% !important;
  max-width: 420px;
  margin-left: auto !important;
  margin-right: auto !important;
  background: var(--r-surface) !important;
  border: 1px solid var(--r-line) !important;
  border-radius: var(--r-radius-lg) !important;
  box-shadow: var(--r-shadow-sm);
  padding: 1.75rem !important;
}

.price-form-one label,
.w3l_form_group .control-label {
  color: var(--r-ink) !important;
  font-weight: 600;
}

.w3l_form_group .help-text {
  color: var(--r-muted);
  font-size: 0.875rem;
}

p.price.lead {
  font-family: var(--r-display);
  font-weight: 700;
  color: var(--r-ink);
  letter-spacing: -0.02em;
}

.ui-widget-content {
  border: none !important;
  background: var(--r-surface-band) !important;
  border-radius: 999px !important;
  height: 8px !important;
  margin-top: 12px !important;
}

.ui-widget-header {
  background: var(--r-ink) !important;
  border-radius: 999px !important;
}

.ui-slider .ui-slider-handle {
  border-radius: 999px !important;
  background: var(--r-surface) !important;
  border: 2px solid var(--r-ink) !important;
  box-shadow: var(--r-shadow-sm) !important;
  color: var(--r-ink) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

.ui-slider .ui-slider-handle label,
.ui-slider .ui-slider-handle a {
  color: var(--r-ink) !important;
}

.ui-slider .ui-slider-handle .glyphicon {
  color: var(--r-muted) !important;
  opacity: 1 !important;
}

/* Buttons — black pill CTAs */
.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  font-family: var(--r-display);
  letter-spacing: -0.02em;
  text-transform: none;
  font-size: 0.9375rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.text-uppercase {
  text-transform: none;
}

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

.btn-info {
  background: var(--r-ink) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: var(--r-shadow-sm);
}

.btn-info:hover,
.btn-info:focus {
  background: #1f2937 !important;
  color: #fff !important;
  box-shadow: var(--r-shadow-md);
}

.btn-primary {
  background: var(--r-ink) !important;
  border: none !important;
  color: #fff !important;
}

.btn-dark.btn-social {
  background: var(--r-surface) !important;
  border: 1px solid var(--r-line) !important;
  color: var(--r-ink) !important;
}

.btn-dark.btn-social:hover {
  background: var(--r-surface-band) !important;
  color: var(--r-ink) !important;
}

/* Footer */
.footer {
  background: var(--r-ink);
  color: #9ca3af;
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
  border-radius: var(--r-radius-xl) var(--r-radius-xl) 0 0;
  margin-top: 0;
  border-top: none;
}

.footer .col-lg-4.text-lg-left {
  color: #d1d5db;
}

.footer .col-lg-4.text-lg-right a {
  color: #9ca3af;
}

.footer a:hover {
  color: #fff;
}

/* FAB — robot / futuro asistente, mismo lenguaje que iconos Font Awesome del sitio */
.circular-menu-mini .floating-btn {
  background: var(--r-ink) !important;
  box-shadow: var(--r-shadow-lg) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  text-decoration: none;
  color: #fff !important;
}

.circular-menu-mini .floating-btn:hover {
  transform: scale(1.05);
  background: #1f2937 !important;
  color: #fff !important;
}

.circular-menu-mini .floating-btn .evapp-fab-icon {
  font-size: 1.35rem;
  opacity: 0.95;
}

.circular-menu-mini.active .floating-btn .evapp-fab-icon {
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

/* intl-tel-input — teléfono con bandera + prefijo (Listo para invertir) */
#evapp-invest-form .iti {
  width: 100%;
  display: block;
}

#evapp-invest-form .iti__flag-container {
  border-right: 1px solid var(--r-line-strong);
  border-radius: 0;
}

#evapp-invest-form .iti--separate-dial-code .iti__selected-flag {
  background: var(--r-surface-band);
}

#evapp-invest-form .iti__selected-dial-code {
  font-weight: 500;
  color: var(--r-ink);
  font-size: 0.9375rem;
}

#evapp-invest-form .iti__country-list {
  border-radius: 10px;
  box-shadow: var(--r-shadow-md);
  border: 1px solid var(--r-line);
}

::selection {
  background: rgb(0 102 235 / 0.2);
  color: var(--r-ink);
}

::-moz-selection {
  background: rgb(0 102 235 / 0.2);
  color: var(--r-ink);
}

/* Trust bar (hero follow-up) */
.evapp-trust {
  background: var(--r-surface-band);
  border-bottom: 1px solid var(--r-line);
  padding: 1.75rem 0;
}

.evapp-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.75rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.evapp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  max-width: 300px;
}

.evapp-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--r-surface);
  border: 1px solid var(--r-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--r-ink);
  flex-shrink: 0;
  font-size: 1rem;
  box-shadow: var(--r-shadow-sm);
}

.evapp-trust-title {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--r-ink);
  margin-bottom: 0.2rem;
}

.evapp-trust-text {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--r-muted);
}

/* Feature grid */
#ventajas .section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
  max-width: 20rem;
}

@media (min-width: 576px) {
  #ventajas .section-heading.text-center {
    max-width: 100%;
  }
}

.evapp-features-eyebrow {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--r-muted);
  margin-bottom: 0.35rem;
}

.evapp-features-lead {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
  font-size: 1.0625rem;
}

.evapp-feature-grid {
  margin-top: 0.25rem;
}

.evapp-feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: var(--r-radius);
  border: 1px solid var(--r-line);
  background: var(--r-surface);
  box-shadow: var(--r-shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
  color: inherit !important;
}

.evapp-feature-card:hover {
  box-shadow: var(--r-shadow-md);
  transform: translateY(-3px);
  border-color: var(--r-line-strong);
}

.evapp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--r-surface-band);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--r-ink);
  margin-bottom: 1.1rem;
  font-size: 1.15rem;
}

.evapp-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--r-ink);
  font-family: var(--r-display);
}

.evapp-feature-text {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--r-muted);
  margin: 0 0 1.15rem;
  line-height: 1.55;
}

.evapp-feature-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--r-blue);
  margin-top: auto;
}

.evapp-feature-card:hover .evapp-feature-cta {
  color: var(--r-blue-hover);
  text-decoration: underline;
}

/* Honeypot: off-screen for humans, still in DOM for naive bots */
.evapp-hp-wrap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

/* —— Offer showcase: Ant Design–inspired segmented tabs + Revolut-style phone cards —— */
#other .evapp-offer-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
  max-width: 28rem;
}

#other .evapp-offer-tab {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid var(--r-line-strong);
  border-radius: 10px;
  background: var(--r-surface);
  color: var(--r-ink);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  font: inherit;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

#other .evapp-offer-tab-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgb(10 13 18 / 0.06);
  color: var(--r-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

#other .evapp-offer-tab:hover .evapp-offer-tab-icon {
  background: rgb(0 102 235 / 0.08);
  color: var(--r-blue);
}

#other .evapp-offer-tab.is-active .evapp-offer-tab-icon {
  background: rgb(0 102 235 / 0.12);
  color: var(--r-blue);
}

#other .evapp-offer-tab-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

#other .evapp-offer-tab:hover {
  border-color: rgb(0 102 235 / 0.45);
}

#other .evapp-offer-tab.is-active {
  border-color: var(--r-blue);
  background: rgb(0 102 235 / 0.04);
  box-shadow: 0 0 0 1px var(--r-blue);
}

#other .evapp-offer-tab:focus {
  outline: none;
}

#other .evapp-offer-tab:focus-visible {
  outline: 2px solid var(--r-blue);
  outline-offset: 2px;
}

#other .evapp-offer-tab-title {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--r-ink);
}

#other .evapp-offer-tab-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--r-muted);
  line-height: 1.45;
}

#other .evapp-offer-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#other .evapp-offer-device {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2a2f3a 0%, #0e1118 55%, #06080c 100%);
  box-shadow:
    var(--r-shadow-lg),
    inset 0 1px 0 rgb(255 255 255 / 0.06);
  position: relative;
}

#other .evapp-offer-notch {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

#other .evapp-offer-notch::after {
  content: "";
  width: 88px;
  height: 22px;
  border-radius: 999px;
  background: #0a0c10;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

#other .evapp-offer-screen {
  border-radius: 26px;
  background: linear-gradient(180deg, #eef0f3 0%, #e4e7ec 100%);
  overflow: hidden;
  min-height: 300px;
  position: relative;
  border: 1px solid rgb(0 0 0 / 0.12);
}

#other .evapp-offer-slides {
  position: relative;
  min-height: 300px;
  padding: 1.35rem 1rem 1.5rem;
}

#other .evapp-offer-slide {
  position: absolute;
  inset: 1.35rem 1rem 1.5rem;
  z-index: 0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}

#other .evapp-offer-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  #other .evapp-offer-slide {
    transition: none;
  }
}

#other .evapp-offer-slide-inner {
  position: relative;
  min-height: 200px;
}

#other .evapp-offer-card {
  border-radius: 14px;
  background: var(--r-surface);
  box-shadow:
    0 4px 16px rgb(10 13 18 / 0.08),
    0 0 0 1px rgb(10 13 18 / 0.04);
}

#other .evapp-offer-card--back {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: 0.35rem;
  height: 72px;
  opacity: 0.72;
  transform: scale(0.96);
  transform-origin: top center;
}

#other .evapp-offer-card--front {
  position: relative;
  margin-top: 1.5rem;
  padding: 0.9rem 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

#other .evapp-offer-card-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgb(0 102 235 / 0.1);
  color: var(--r-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

#other .evapp-offer-card-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

#other .evapp-offer-card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--r-ink);
  letter-spacing: -0.02em;
}

#other .evapp-offer-card-body {
  font-size: 0.75rem;
  color: var(--r-muted);
  line-height: 1.45;
}

#other .evapp-offer-card-meta {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--r-muted);
  align-self: flex-start;
  margin-top: 0.1rem;
}

#other .evapp-offer-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}

#other .evapp-offer-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--r-line-strong);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#other .evapp-offer-dot.is-active {
  background: var(--r-blue);
  transform: scale(1.15);
}

#other .evapp-offer-dot:focus-visible {
  outline: 2px solid var(--r-blue);
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  #other .evapp-offer-device {
    max-width: 320px;
  }

  #other .evapp-offer-slides {
    min-height: 320px;
  }

  #other .evapp-offer-screen {
    min-height: 320px;
  }
}

#other.evapp-offer-resp .evapp-offer-tabs {
  max-width: none;
}

/* --------------------------------------------------------------------------
   Fused sections — identity (about + what) & process (how + need)
   Visual refs: sober fintech split + bento metrics; Ant-style cards/tags/steps;
   TypeScript-doc kicker + blue accent (not a copy of either brand).
   -------------------------------------------------------------------------- */

.evapp-fusion-header {
  max-width: 42rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.evapp-code-kicker {
  font-family: var(--evapp-code-font);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--evapp-ts-blue);
  margin-bottom: 0.5rem;
  padding-left: 0.65rem;
  border-left: 3px solid var(--evapp-ts-blue);
  opacity: 0.92;
}

.evapp-fusion-hero-title {
  margin-bottom: 0.65rem !important;
}

.evapp-fusion-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 38rem;
}

/* Section photos: sharp, centered cover; light edge veil only */
.evapp-fusion-photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--r-radius-lg);
}

.evapp-fusion-photo {
  position: relative;
  min-height: clamp(168px, 32vw, 300px);
  border-radius: var(--r-radius);
  overflow: hidden;
  border: 1px solid var(--r-line);
  box-shadow: var(--r-shadow-sm);
  background-color: var(--r-surface-band);
}

.evapp-fusion-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--evapp-fusion-bg, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: none;
  transform: none;
}

/* Barely-there bottom edge so the icon stays legible; image stays clear */
.evapp-fusion-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 72%,
    rgb(10 13 18 / 0.07) 100%
  );
}

.page-section.evapp-fusion-process .evapp-fusion-photo::after {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 72%,
    rgb(10 13 18 / 0.08) 100%
  );
}

.evapp-fusion-photo--quienes {
  --evapp-fusion-bg: url("../assets/img/quienes_somos.jpg");
}

.evapp-fusion-photo--hacemos {
  --evapp-fusion-bg: url("../assets/img/que_hacemos.jpg");
}

.evapp-fusion-photo--como {
  --evapp-fusion-bg: url("../assets/img/como_lo_hacemos.jpg");
}

.evapp-fusion-photo--necesidad {
  --evapp-fusion-bg: url("../assets/img/que_necesitamos.jpg");
}

.evapp-fusion-photo-icon {
  position: absolute;
  z-index: 1;
  right: 0.65rem;
  bottom: 0.55rem;
  left: auto;
  top: auto;
  transform: none;
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: var(--r-ink);
  opacity: 0.38;
  pointer-events: none;
  text-shadow:
    0 0 8px rgb(255 255 255 / 0.95),
    0 1px 2px rgb(255 255 255 / 0.8);
}

.evapp-fusion-panel-title--with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.evapp-fusion-heading-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 1rem;
  color: var(--r-muted);
  opacity: 0.88;
}

.evapp-fusion-identity-inner {
  max-width: 1140px;
}

.evapp-fusion-identity-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 992px) {
  .evapp-fusion-identity-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(220px, 280px);
    grid-template-rows: auto auto;
  }

  .evapp-fusion-panel:first-of-type {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .evapp-fusion-panel.evapp-ant-card {
    grid-column: 2;
    grid-row: 1;
  }

  .evapp-bento {
    grid-column: 2 / span 2;
    grid-row: 2;
  }

  @media (min-width: 1100px) {
    .evapp-bento {
      grid-column: 3;
      grid-row: 1 / span 2;
      flex-direction: column;
      height: 100%;
    }

    .evapp-fusion-panel.evapp-ant-card {
      grid-row: 1 / span 2;
    }
  }
}

.evapp-fusion-panel-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--r-ink);
  margin-bottom: 0.65rem;
}

.evapp-fusion-panel-title--sm {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.evapp-fusion-panel-body {
  line-height: 1.65;
  margin-bottom: 0;
}

.evapp-ant-card {
  background: var(--r-surface);
  border: 1px solid var(--evapp-ant-border);
  border-radius: 8px;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  box-shadow: var(--r-shadow-sm);
}

.page-section.bg-light .evapp-ant-card {
  background: var(--r-surface);
}

.evapp-ant-card--subtle {
  box-shadow: none;
  background: var(--r-surface-subtle);
  border-color: var(--r-line);
}

.evapp-ant-card-elevated {
  box-shadow: var(--r-shadow-md);
  border-color: var(--evapp-ant-border);
  position: relative;
  overflow: hidden;
}

.evapp-ant-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.evapp-ant-tag {
  display: inline-block;
  font-family: var(--evapp-code-font);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--evapp-ant-border-secondary);
  color: var(--r-ink-soft);
  background: var(--r-surface-subtle);
}

.evapp-ant-tag-ts {
  color: var(--evapp-ts-blue);
  border-color: rgb(49 120 198 / 0.35);
  background: rgb(49 120 198 / 0.06);
}

.evapp-ant-tag-primary {
  color: var(--evapp-ant-primary);
  border-color: rgb(22 119 255 / 0.35);
  background: rgb(22 119 255 / 0.06);
}

.evapp-bento {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 1100px) {
  .evapp-bento {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

.evapp-bento-cell {
  flex: 1 1 auto;
  min-width: 6.5rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--r-line);
  background: linear-gradient(145deg, var(--r-surface) 0%, var(--r-surface-subtle) 100%);
  box-shadow: var(--r-shadow-sm);
}

.evapp-bento-cell--accent {
  border-color: var(--r-line-strong);
  background: linear-gradient(
    145deg,
    var(--r-surface-band) 0%,
    var(--r-surface) 58%
  );
  box-shadow: var(--r-shadow-sm);
}

.evapp-bento-label {
  display: block;
  font-family: var(--evapp-code-font);
  font-size: 0.6875rem;
  text-transform: lowercase;
  letter-spacing: 0.06em;
  color: var(--r-muted);
  margin-bottom: 0.25rem;
}

.evapp-bento-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--r-ink);
  line-height: 1.1;
}

.evapp-bento-value--sm {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Process section — light grid, futuristic but sober */
.evapp-fusion-process {
  position: relative;
  background-color: var(--r-surface) !important;
  background-image:
    radial-gradient(rgb(10 13 18 / 0.045) 1px, transparent 1px),
    linear-gradient(180deg, var(--r-surface) 0%, var(--r-surface-subtle) 100%);
  background-size: 20px 20px, 100% 100%;
  background-position: 0 0, 0 0;
}

.evapp-fusion-process-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
}

.evapp-fusion-process-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: start;
}

@media (min-width: 992px) {
  .evapp-fusion-process-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  }
}

.evapp-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.evapp-step {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.85rem 1rem;
  padding-bottom: 1.35rem;
  padding-left: 0.15rem;
}

.evapp-step:last-child {
  padding-bottom: 0;
}

.evapp-step-rail {
  position: absolute;
  left: 0.45rem;
  top: 1.35rem;
  bottom: -0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--evapp-ant-primary) 0%, var(--evapp-ant-border-secondary) 100%);
  border-radius: 1px;
  opacity: 0.55;
}

.evapp-step:last-child .evapp-step-rail {
  display: none;
}

.evapp-step-dot {
  grid-column: 1;
  width: 11px;
  height: 11px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--r-surface);
  border: 2px solid var(--evapp-ant-primary);
  box-shadow: 0 0 0 3px rgb(22 119 255 / 0.12);
  z-index: 1;
}

.evapp-step-dot--end {
  border-color: var(--evapp-ts-blue);
  box-shadow: 0 0 0 3px rgb(49 120 198 / 0.12);
}

.evapp-step-body {
  grid-column: 2;
}

.evapp-step-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--r-ink);
  margin: 0 0 0.35rem;
}

.evapp-step-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

.evapp-process-narrative {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.evapp-process-aside {
  padding: clamp(1.25rem, 3vw, 1.65rem);
}

.evapp-ant-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--evapp-ant-primary);
  background: rgb(22 119 255 / 0.08);
  border: 1px solid rgb(22 119 255 / 0.22);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.evapp-ts-accent-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--evapp-ts-blue) 0%, var(--evapp-ant-primary) 50%, transparent 100%);
  opacity: 0.85;
}

/* País (inversión): <select> nativo oculto + lista con banderas flag-icons; datos ISO2 vía intl-tel-input.getCountryData */
.evapp-country-form-group {
  position: relative;
}

select.evapp-country-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.evapp-country-ui {
  position: relative;
}

.evapp-country-ui__trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  cursor: pointer;
  background-color: var(--r-surface) !important;
}

.evapp-country-ui__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

/* Con país: fi fi-xx (p. ej. fi-es). Sin país: solo "fi" → no reservar hueco antes del placeholder */
.evapp-country-ui__inner .evapp-country-ui__flag.fi:not([class*="fi-"]) {
  display: none;
}

.evapp-country-ui__inner .evapp-country-ui__flag.fi[class*="fi-"] {
  width: 1.35em;
  line-height: 1;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06);
  flex-shrink: 0;
}

.evapp-country-ui__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--r-ink);
}

.evapp-country-ui__text.evapp-country-ui__placeholder {
  color: var(--r-muted);
}

.evapp-country-ui__chev {
  flex-shrink: 0;
  font-size: 0.65rem;
  opacity: 0.55;
}

.evapp-country-ui__dropdown {
  position: absolute;
  z-index: 1080;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: min(280px, 50vh);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--r-line);
  background: var(--r-surface);
  box-shadow: var(--r-shadow-md);
}

.evapp-country-ui__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  max-height: min(272px, 48vh);
  overflow-y: auto;
}

.evapp-country-ui__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--r-ink);
}

.evapp-country-ui__item:hover,
.evapp-country-ui__item:focus {
  background: var(--r-surface-subtle);
  outline: none;
}

.evapp-country-ui__opt-flag.fi {
  width: 1.25em;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06);
}

.evapp-country-ui__opt-text {
  flex: 1;
  min-width: 0;
}
