:root {
  --ink: #071525;
  --ink-soft: #344354;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: rgba(7, 21, 37, .10);
  --mint: #36d6b6;
  --mint-dark: #18ae92;
  --blue: #2f6bff;
  --navy: #091c31;
  --shadow: 0 30px 90px rgba(16, 39, 66, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 110px 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 16px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(247,250,252,.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(7,21,37,.06); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.03em; }
.brand-logo { width: 54px; height: 54px; display: block; flex: 0 0 54px; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 24px rgba(7,21,37,.18); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--navy), #173f68); border-radius: 12px; box-shadow: 0 8px 24px rgba(7,21,37,.18); font-size: 14px; }
.brand-text { font-size: 18px; }
.brand-text strong { color: var(--mint-dark); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav a { color: #304052; transition: .2s; }
.main-nav a:hover { color: var(--ink); }
.nav-cta { padding: 12px 18px; color: var(--white) !important; background: var(--ink); border-radius: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; }

.hero { min-height: 830px; display: flex; align-items: center; padding-top: 150px; background: radial-gradient(circle at 85% 20%, rgba(54,214,182,.16), transparent 30%), linear-gradient(180deg, #f9fbfd 0%, #f4f8fb 100%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; color: #376076; }
.eyebrow span { width: 28px; height: 2px; background: var(--mint-dark); border-radius: 2px; }
.eyebrow.light { color: rgba(255,255,255,.75); }
.eyebrow.light span { background: var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(52px, 6vw, 82px); line-height: .98; letter-spacing: -.065em; }
h1 em { display: block; color: var(--mint-dark); font-style: normal; }
.hero-lead { max-width: 625px; margin-bottom: 34px; color: var(--ink-soft); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 35px; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 20px; border-radius: 16px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button small { display: block; font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.button-primary { color: white; background: var(--ink); box-shadow: 0 18px 36px rgba(7,21,37,.18); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.82); }
.button-icon { font-size: 25px; }
.play-icon { width: 26px; height: 26px; display: grid; place-items: center; color: var(--blue); background: #eef3ff; border-radius: 8px; font-size: 11px; }
.trust-row { display: flex; align-items: center; gap: 14px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 32px; height: 32px; display: grid; place-items: center; margin-left: -7px; color: white; background: var(--navy); border: 3px solid var(--paper); border-radius: 50%; font-size: 11px; font-weight: 700; }
.avatar-stack span:first-child { margin-left: 0; }
.trust-row strong, .trust-row small { display: block; }
.trust-row strong { font-size: 13px; }
.trust-row small { color: #73808f; font-size: 11px; }

.hero-visual { min-height: 610px; display: grid; place-items: center; position: relative; }
.phone-shell { width: 320px; height: 650px; position: relative; z-index: 3; padding: 10px; background: #07121f; border: 1px solid rgba(255,255,255,.25); border-radius: 45px; box-shadow: 0 45px 100px rgba(12,32,56,.26), inset 0 0 0 1px rgba(255,255,255,.08); transform: rotate(3deg); }
.phone-notch { width: 112px; height: 28px; position: absolute; z-index: 5; top: 17px; left: 50%; transform: translateX(-50%); background: #07121f; border-radius: 18px; }
.phone-screen { height: 100%; padding: 52px 18px 20px; background: linear-gradient(180deg,#f8fbfd,#eff5f9); border-radius: 36px; overflow: hidden; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.app-topbar small, .app-topbar strong { display: block; }
.app-topbar small { color: #788594; font-size: 10px; }
.app-topbar strong { font-size: 13px; }
.app-avatar { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 50%; font-size: 10px; font-weight: 800; }
.balance-card { padding: 18px; color: white; background: linear-gradient(135deg, #0a1d33, #153e63); border-radius: 20px; box-shadow: 0 16px 36px rgba(13,41,68,.2); }
.balance-card small, .balance-card strong { display: block; }
.balance-card small { color: rgba(255,255,255,.65); font-size: 10px; }
.balance-card strong { margin: 7px 0 12px; font-size: 27px; letter-spacing: -.04em; }
.balance-meta { display: flex; align-items: center; gap: 7px; }
.balance-meta span { padding: 3px 7px; color: #84f2d9; background: rgba(54,214,182,.14); border-radius: 999px; font-size: 9px; font-weight: 800; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.mini-grid article { padding: 13px; background: white; border: 1px solid rgba(7,21,37,.06); border-radius: 15px; box-shadow: 0 8px 24px rgba(7,21,37,.05); }
.mini-grid small, .mini-grid strong { display: block; }
.mini-grid small { color: #85919e; font-size: 9px; }
.mini-grid strong { font-size: 11px; }
.mini-icon { display: block; margin-bottom: 8px; color: var(--mint-dark); }
.chart-card { padding: 14px; background: white; border: 1px solid rgba(7,21,37,.06); border-radius: 18px; }
.chart-head { display: flex; justify-content: space-between; align-items: start; }
.chart-head small, .chart-head strong { display: block; }
.chart-head small { color: #85919e; font-size: 8px; }
.chart-head strong { font-size: 10px; }
.chart-head > span { padding: 4px 7px; color: #577086; background: #f0f5f8; border-radius: 7px; font-size: 8px; }
.chart-card svg { width: 100%; margin-top: 8px; }
.chart-area { fill: url(#area); }
.chart-line { fill: none; stroke: var(--mint-dark); stroke-width: 3; stroke-linecap: round; }
.ai-card { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; background: linear-gradient(135deg, #eafaf6, #f7fffd); border: 1px solid rgba(54,214,182,.2); border-radius: 15px; }
.ai-dot { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--mint-dark); border-radius: 10px; font-size: 9px; font-weight: 800; }
.ai-card small, .ai-card strong { display: block; }
.ai-card small { color: #6f827e; font-size: 8px; }
.ai-card strong { font-size: 9px; }
.ai-card > span { margin-left: auto; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: rgba(255,255,255,.91); border: 1px solid rgba(255,255,255,.8); border-radius: 15px; box-shadow: 0 20px 50px rgba(12,32,56,.15); backdrop-filter: blur(10px); }
.floating-card > span { width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--mint-dark); border-radius: 9px; font-weight: 800; }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: #7b8895; font-size: 8px; }
.floating-card strong { font-size: 10px; }
.float-card-one { left: 0; top: 24%; }
.float-card-two { right: -20px; bottom: 17%; }
.visual-orbit, .hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.visual-orbit { border: 1px solid rgba(54,214,182,.2); }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 420px; height: 420px; border-color: rgba(47,107,255,.11); }

.feature-strip { padding: 28px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.feature-strip-grid div { display: flex; gap: 14px; align-items: center; padding: 10px 28px; border-right: 1px solid var(--line); }
.feature-strip-grid div:last-child { border-right: 0; }
.feature-strip-grid strong { color: var(--mint-dark); font-size: 12px; }
.feature-strip-grid span { font-size: 13px; font-weight: 700; }

.section-heading { max-width: 760px; margin-bottom: 54px; }
h2 { margin-bottom: 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading p, .security-copy > p { color: var(--ink-soft); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card { min-height: 370px; position: relative; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 55px rgba(16,39,66,.06); }
.feature-card h3 { margin: 18px 0 12px; font-size: 27px; letter-spacing: -.035em; }
.feature-card p { max-width: 500px; color: var(--ink-soft); }
.feature-card-large { min-height: 470px; }
.feature-card-wide { grid-column: 1 / -1; min-height: 390px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; color: white; background: linear-gradient(135deg, #071525, #11385b); }
.feature-card-wide p { color: rgba(255,255,255,.7); }
.feature-card-wide a { display: inline-flex; gap: 10px; align-items: center; color: var(--mint); font-weight: 700; }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; color: var(--mint-dark); background: #eafaf6; border-radius: 15px; font-size: 14px; font-weight: 800; }
.card-art { height: 180px; position: absolute; left: 35px; right: 35px; bottom: 10px; }
.credit-card { width: 250px; height: 150px; position: absolute; right: 10%; padding: 22px; color: white; border-radius: 22px; box-shadow: 0 25px 60px rgba(7,21,37,.22); }
.card-back { right: 27%; bottom: -15px; background: linear-gradient(135deg, #9be8d7, #4bc8aa); transform: rotate(-12deg); opacity: .75; }
.card-front { bottom: 0; display: flex; flex-direction: column; background: linear-gradient(135deg, #0a1d33, #24577f); transform: rotate(4deg); }
.card-front span { font-size: 11px; opacity: .8; }
.card-front strong { margin: auto 0 8px; letter-spacing: .12em; }
.card-front small { opacity: .65; }
.account-list { position: absolute; left: 34px; right: 34px; bottom: 34px; display: grid; gap: 10px; }
.account-list span { display: flex; align-items: center; gap: 10px; padding: 14px; background: #f6f9fb; border-radius: 14px; font-size: 12px; }
.account-list i { width: 9px; height: 9px; background: var(--mint); border-radius: 50%; }
.account-list strong { margin-left: auto; }
.service-chips { position: absolute; left: 34px; bottom: 38px; display: flex; flex-wrap: wrap; gap: 9px; }
.service-chips span { padding: 9px 13px; background: #eff7f5; border-radius: 999px; color: #30715f; font-size: 11px; font-weight: 700; }
.ai-panel { min-height: 270px; padding: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; }
.ai-message { display: flex; align-items: start; gap: 12px; padding: 15px; background: rgba(255,255,255,.08); border-radius: 15px; }
.ai-message span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; background: var(--mint); color: var(--navy); border-radius: 10px; font-size: 10px; font-weight: 800; }
.ai-message p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; }
.ai-bars { height: 110px; display: flex; align-items: end; gap: 12px; margin-top: 28px; }
.ai-bars i { flex: 1; background: linear-gradient(180deg, var(--mint), rgba(54,214,182,.15)); border-radius: 7px 7px 2px 2px; }

.security-section { color: white; background: var(--navy); overflow: hidden; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.security-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.shield { width: 180px; height: 210px; position: relative; z-index: 3; display: grid; place-items: center; background: linear-gradient(180deg, var(--mint), #1aa98d); border-radius: 50% 50% 46% 46% / 35% 35% 65% 65%; box-shadow: 0 30px 80px rgba(54,214,182,.22); }
.shield:before { content:""; position:absolute; inset:15px; border:1px solid rgba(255,255,255,.55); border-radius: inherit; }
.shield span { width: 58px; height: 58px; display: grid; place-items: center; color: var(--mint-dark); background: white; border-radius: 50%; font-size: 28px; font-weight: 900; }
.security-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(54,214,182,.16); }
.ring-one { width: 360px; height: 360px; }
.ring-two { width: 500px; height: 500px; }
.security-pill { position: absolute; z-index: 4; padding: 9px 14px; color: #c8d8e5; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 999px; font-size: 11px; }
.pill-one { top: 23%; left: 7%; }
.pill-two { right: 2%; top: 37%; }
.pill-three { left: 15%; bottom: 20%; }
.security-copy > p { color: rgba(255,255,255,.68); }
.security-list { display: grid; gap: 17px; margin-top: 34px; }
.security-list > div { display: flex; align-items: start; gap: 14px; }
.security-list > div > span { flex: 0 0 28px; height: 28px; display: grid; place-items: center; color: var(--navy); background: var(--mint); border-radius: 50%; font-size: 12px; font-weight: 900; }
.security-list p { margin: 0; }
.security-list strong, .security-list small { display: block; }
.security-list small { margin-top: 4px; color: rgba(255,255,255,.55); }

.cta-section { background: #eef5f7; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 58px; color: white; background: linear-gradient(135deg, #0b2038, #17567a); border-radius: 34px; box-shadow: var(--shadow); }
.cta-card h2 { max-width: 680px; margin-bottom: 12px; }
.cta-card p { color: rgba(255,255,255,.7); }
.button-light { flex: 0 0 auto; color: var(--ink); background: white; }

.site-footer { padding: 65px 0 25px; background: #061321; color: white; }
.footer-grid { display: flex; align-items: start; justify-content: space-between; gap: 40px; padding-bottom: 45px; }
.footer-brand .brand-mark { background: var(--mint-dark); }
.footer-grid p { margin-top: 16px; color: rgba(255,255,255,.55); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: rgba(255,255,255,.72); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 82px 20px auto; display: none; padding: 20px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .nav-toggle { display: block; }
  .hero-grid, .security-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { margin-top: 20px; }
  .feature-strip-grid { grid-template-columns: repeat(2,1fr); }
  .feature-strip-grid div:nth-child(2) { border-right: 0; }
  .feature-strip-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-card-wide { grid-template-columns: 1fr; }
  .security-copy { text-align: center; }
  .security-copy .eyebrow { justify-content: center; }
  .security-list { max-width: 650px; margin-inline: auto; text-align: left; }
  .cta-card { flex-direction: column; align-items: start; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }
  .nav-wrap { height: 72px; }
  .main-nav { inset: 72px 14px auto; }
  .hero { padding-top: 120px; min-height: auto; }
  h1 { font-size: clamp(45px, 14vw, 66px); }
  h2 { font-size: clamp(35px, 10vw, 50px); }
  .hero-lead, .section-heading p, .security-copy > p { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 570px; transform: scale(.86); margin: -15px 0 -50px; }
  .phone-shell { width: 305px; height: 620px; }
  .float-card-one { left: -26px; }
  .float-card-two { right: -38px; }
  .feature-strip-grid { grid-template-columns: 1fr; }
  .feature-strip-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-strip-grid div:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: auto; }
  .feature-card { padding: 27px; }
  .credit-card { width: 220px; height: 135px; right: 4%; }
  .card-back { right: 19%; }
  .security-visual { min-height: 420px; transform: scale(.82); }
  .cta-card { padding: 36px 26px; }
  .button-light { width: 100%; }
  .footer-grid, .footer-bottom { flex-direction: column; }
}

/* === SELECTOR DE IDIOMA CREDICONTROL ONE === */
.language-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px;
  background: #f1f5f8;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.language-button {
  min-width: 42px;
  height: 34px;
  padding: 0 11px;
  color: #5c6c7c;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.language-button:hover {
  color: var(--ink);
}

.language-button.active,
.language-button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 5px 14px rgba(7, 21, 37, 0.16);
}

.legal-header .language-switch {
  margin-left: auto;
}

.legal-header .container {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 980px) {
  .main-nav .language-switch {
    width: fit-content;
    margin-top: 4px;
  }
}

@media (max-width: 680px) {
  .language-switch {
    padding: 3px;
    border-radius: 11px;
  }

  .language-button {
    min-width: 39px;
    height: 32px;
    padding: 0 9px;
  }

  .legal-header .container {
    gap: 12px;
  }
}
/* === FIN SELECTOR DE IDIOMA === */

