/* micuartelapp.com — estilos compartidos del selector de país y las landings por país */
/* ---------- Tokens: claro por defecto, oscuro según la configuración del sistema o del visor ---------- */
:root {
  color-scheme: light;
  --ground: #f5f8f6;
  --surface: #ffffff;
  --surface-2: #edf3ef;
  --line: rgba(11, 18, 32, 0.09);
  --line-strong: rgba(11, 18, 32, 0.16);
  --text: #0b1220;
  --muted: #475467;
  --faint: #667085;
  --accent: #047a36;
  --btn-bg: #00d657;
  --btn-bg-hover: #00c24f;
  --btn-ink: #03200f;
  --accent-soft: rgba(0, 161, 78, 0.09);
  --accent-line: rgba(0, 143, 61, 0.38);
  --header-bg: rgba(245, 248, 246, 0.86);
  --band-mid: #e6f2ea;
  --shot-shadow: 0 40px 80px -34px rgba(0, 120, 60, 0.28), 0 18px 36px -24px rgba(11, 18, 32, 0.22);
  --dot: rgba(11, 18, 32, 0.14);
  --step-stroke: rgba(0, 143, 61, 0.5);
  --final-glow: rgba(0, 200, 90, 0.16);
  --flag-ring: rgba(11, 18, 32, 0.12);
  --hover-bg: rgba(11, 18, 32, 0.04);
  --logo-on-light: block;
  --logo-on-dark: none;
  --band-brand: #00873b;
  --band-ink: rgba(255, 255, 255, 0.92);
  --card-shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 10px 30px -12px rgba(11, 18, 32, 0.18);

  --display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #0a0f1a;
    --surface: #111827;
    --surface-2: #0e1523;
    --line: rgba(226, 232, 240, 0.09);
    --line-strong: rgba(226, 232, 240, 0.16);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --faint: #7b8699;
    --accent: #00e85e;
    --btn-bg: #00e85e;
    --btn-bg-hover: #2bfd7b;
    --btn-ink: #03200f;
    --accent-soft: rgba(0, 232, 94, 0.1);
    --accent-line: rgba(0, 232, 94, 0.35);
    --header-bg: rgba(10, 15, 26, 0.82);
    --band-mid: #0b1a14;
    --shot-shadow: 0 40px 90px -30px rgba(0, 232, 94, 0.22), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
    --dot: rgba(255, 255, 255, 0.14);
    --step-stroke: rgba(0, 232, 94, 0.38);
    --final-glow: rgba(0, 232, 94, 0.16);
    --flag-ring: rgba(255, 255, 255, 0.14);
    --hover-bg: rgba(255, 255, 255, 0.04);
    --logo-on-light: none;
    --logo-on-dark: block;
    --band-brand: #0b3f24;
    --band-ink: rgba(226, 232, 240, 0.85);
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 36px -14px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0a0f1a;
  --surface: #111827;
  --surface-2: #0e1523;
  --line: rgba(226, 232, 240, 0.09);
  --line-strong: rgba(226, 232, 240, 0.16);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --faint: #7b8699;
  --accent: #00e85e;
  --btn-bg: #00e85e;
  --btn-bg-hover: #2bfd7b;
  --btn-ink: #03200f;
  --accent-soft: rgba(0, 232, 94, 0.1);
  --accent-line: rgba(0, 232, 94, 0.35);
  --header-bg: rgba(10, 15, 26, 0.82);
  --band-mid: #0b1a14;
  --shot-shadow: 0 40px 90px -30px rgba(0, 232, 94, 0.22), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  --dot: rgba(255, 255, 255, 0.14);
  --step-stroke: rgba(0, 232, 94, 0.38);
  --final-glow: rgba(0, 232, 94, 0.16);
  --flag-ring: rgba(255, 255, 255, 0.14);
  --hover-bg: rgba(255, 255, 255, 0.04);
  --logo-on-light: none;
  --logo-on-dark: block;
  --band-brand: #0b3f24;
  --band-ink: rgba(226, 232, 240, 0.85);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 36px -14px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/1.65 var(--body); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.eyebrow { font: 600 12px/1.4 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.num { font-variant-numeric: tabular-nums; }

.logo { height: 26px; width: auto; }
.logo-light { display: var(--logo-on-light); }
.logo-dark { display: var(--logo-on-dark); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
       font: 600 15px/1.2 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
       transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.flag { width: 44px; height: 29px; border-radius: 4px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--flag-ring); }
.flag svg { width: 100%; height: 100%; display: block; }
.flag-sm { width: 24px; height: 16px; border-radius: 3px; }

/* ---------- Header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--header-bg);
       backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav button { background: none; border: 0; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; }
.nav button:hover { color: var(--text); background: var(--hover-bg); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.country-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
                background: none; cursor: pointer; font-size: 14px; color: var(--text); text-decoration: none; }
.country-chip:hover { border-color: var(--accent-line); }

/* ---------- Selector: franja de marca + lista de países ---------- */
.ml-band { background: var(--band-brand); padding-block: 36px 92px; text-align: center; }
.ml-logo { height: 40px; width: auto; margin-inline: auto; }
.ml-band p { margin-top: 14px; color: var(--band-ink); font-size: 15px; font-weight: 500; }
.ml-main { max-width: 920px; }
.ml-card { margin-top: -60px; background: var(--surface); border-radius: 10px; box-shadow: var(--card-shadow);
           padding: 28px clamp(12px, 4vw, 36px) 24px; }
.ml-card h1 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; padding-inline: 12px; }
.ml-card h1 span { color: var(--faint); font-weight: 600; }
.countries { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
.country { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 12px; border: 0; border-radius: 8px; background: none;
           text-align: left; text-decoration: none; color: var(--text); transition: background-color .15s ease; }
a.country, button.country { cursor: pointer; }
a.country:hover, button.country:hover { background: var(--hover-bg); }
.country.is-suggested { background: var(--accent-soft); }
.flag-round { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--flag-ring); }
.flag-round svg { width: 100%; height: 100%; display: block; }
.country-name { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
.country-sub { display: block; font-size: 12.5px; color: var(--faint); line-height: 1.3; margin-top: 2px; }
.country.is-soon .country-name { color: var(--muted); }
.country.is-soon .flag-round { opacity: .7; }
.ml-foot { text-align: center; color: var(--faint); font-size: 13px; padding-block: 36px 40px; }

/* ---------- Landing ---------- */
section { padding-block: 88px; }
.sec-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.sec-head p { color: var(--muted); }

.hero { padding-block: 64px 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--faint); }
.shot { border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); overflow: hidden; box-shadow: var(--shot-shadow); }

.clients { padding-block: 28px 12px; }
.clients p { text-align: center; color: var(--faint); font-size: 13.5px; font-weight: 500; letter-spacing: .04em; margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
           mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; align-items: center; gap: 44px; width: max-content; animation: scroll 70s linear infinite; }
.track img { height: 58px; width: auto; filter: grayscale(1); opacity: .65; transition: opacity .2s ease, filter .2s ease; }
.track img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
.feature { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.12rem; font-weight: 700; margin-top: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

.band { background: linear-gradient(180deg, var(--ground) 0%, var(--band-mid) 50%, var(--ground) 100%); }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module { padding: 26px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.module .eyebrow { color: var(--faint); }
.module h3 { font-size: 1.5rem; font-weight: 800; }
.module p { color: var(--muted); font-size: 15px; }

.split { margin-top: 72px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.split img { border-radius: 14px; border: 1px solid var(--line); }
.split h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.split p { color: var(--muted); margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg, .price-list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { display: grid; gap: 10px; align-content: start; }
.step-n { font: 800 56px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--step-stroke); }
.step h3 { font-size: 1.2rem; font-weight: 700; }
.step p { color: var(--muted); font-size: 15px; }

.price { border-radius: 18px; border: 1px solid var(--line-strong); background: var(--surface); display: grid;
         grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); overflow: hidden; }
.price-main { padding: 32px; display: grid; gap: 18px; align-content: start; border-right: 1px solid var(--line); }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--ground); border: 1px solid var(--line); gap: 4px; justify-self: start; }
.seg button { border: 0; background: none; padding: 9px 14px; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted);
              display: inline-flex; gap: 8px; align-items: center; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong); }
.seg .save { font-size: 11.5px; color: var(--accent); font-weight: 700; }
.plan-name { font: 700 1rem/1.2 var(--display); color: var(--muted); }
.amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amount .cur { font: 700 1.1rem/1 var(--display); color: var(--muted); }
.amount .val { font: 800 clamp(3.2rem, 7vw, 4.4rem)/1 var(--display); letter-spacing: -0.03em; }
.amount .per { color: var(--muted); font-size: 1rem; }
.local { font-size: 15px; color: var(--text); }
.local span { color: var(--muted); }
.fx-note { font-size: 13px; color: var(--faint); max-width: 46ch; }
.price-list { padding: 32px; }
.price-list h3 { font: 600 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.price-list ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 20px; font-size: 15px; }
.price-list li { display: flex; gap: 9px; align-items: flex-start; }
.trust { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust div { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); }
.trust b { display: block; font-family: var(--display); font-size: 15px; margin-bottom: 4px; }
.trust span { color: var(--muted); font-size: 14px; }

.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font: 600 20px/1 var(--display); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

.final { padding-block: 40px 96px; }
.final-box { border-radius: 20px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--accent-line);
             background: radial-gradient(120% 140% at 0% 0%, var(--final-glow), transparent 60%), var(--surface);
             display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.final-box h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.final-box p { color: var(--muted); margin-top: 10px; }
.final-box .hero-cta { margin-top: 0; }

footer { border-top: 1px solid var(--line); padding-block: 28px 36px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer .foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer button { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
footer .phone { color: var(--text); user-select: all; }
footer a { color: var(--muted); text-underline-offset: 3px; }
footer a:hover { color: var(--text); }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .features, .modules, .steps, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { grid-template-columns: 1fr; }
  .price-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-box { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  section { padding-block: 64px; }
  .features, .modules, .steps, .trust, .countries { grid-template-columns: 1fr; }
  .price-list ul { grid-template-columns: 1fr; }
  .price-main, .price-list { padding: 24px; }
  .top-actions .btn { display: none; }
  .country-chip .chip-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .track img[aria-hidden="true"] { display: none; }
  .country, .btn { transition: none; }
}
