:root {
  --purple-950: #2f093c;
  --purple-900: #430754;
  --purple-800: #5a0a72;
  --purple-700: #71118f;
  --purple-600: #8b20aa;
  --yellow: #ffc61a;
  --yellow-soft: #fff1b8;
  --ink: #1e1722;
  --muted: #6e6473;
  --paper: #fffdfa;
  --line: #eadfed;
  --success: #15845b;
  --shadow: 0 24px 70px rgba(57, 8, 70, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 198, 26, .15), transparent 30rem),
    linear-gradient(180deg, #fffdf8 0%, #fff 45%, #fbf6fc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .8rem 1rem; background: white; border-radius: .7rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: .7rem clamp(1rem, 5vw, 5rem);
  color: white;
  background: rgba(67, 7, 84, .94);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 92px; height: 54px; object-fit: contain; }
nav { display: flex; gap: clamp(.7rem, 3vw, 2rem); }
nav a { color: white; text-decoration: none; font-weight: 800; font-size: .95rem; }
nav a:hover, nav a:focus-visible { color: var(--yellow); }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: 670px;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 7vw, 7rem);
  color: white;
  background:
    linear-gradient(120deg, rgba(47, 9, 60, .98), rgba(113, 17, 143, .92)),
    url('/assets/beach.jpg') center/cover;
}
.hero::after { content: ""; position: absolute; inset: auto -10% -30% 35%; height: 450px; border-radius: 50%; background: rgba(255,198,26,.12); filter: blur(40px); }
.hero-copy, .hero-art { position: relative; z-index: 1; }
.eyebrow { display: inline-block; color: var(--purple-700); font-size: .76rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow, .eyebrow.light { color: var(--yellow); }
h1 { max-width: 800px; margin: .8rem 0 1rem; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 650px; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 1.3rem; border: 0; border-radius: 999px; text-decoration: none; font-weight: 900; cursor: pointer; }
.button.primary { color: var(--purple-950); background: var(--yellow); box-shadow: 0 12px 36px rgba(255,198,26,.25); }
.button.secondary { color: white; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.trust-line { font-size: .9rem !important; }
.trust-line span { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; margin-right: .35rem; color: var(--purple-950); background: var(--yellow); border-radius: 50%; font-weight: 900; }

.hero-art { display: grid; place-items: center; min-height: 460px; }
.hero-art img { position: relative; z-index: 2; width: min(78%, 420px); aspect-ratio: 1; object-fit: cover; border: 10px solid rgba(255,255,255,.1); border-radius: 38% 62% 52% 48% / 47% 41% 59% 53%; box-shadow: 0 35px 90px rgba(0,0,0,.35); }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.orbit-one { width: 95%; aspect-ratio: 1; }
.orbit-two { width: 72%; aspect-ratio: 1; border-style: dashed; transform: rotate(28deg); }
.currency-chip { position: absolute; z-index: 3; display: grid; place-items: center; width: 72px; height: 72px; color: var(--purple-950); background: var(--yellow); border: 5px solid rgba(255,255,255,.8); border-radius: 50%; font-weight: 950; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.chip-usd { top: 8%; left: 8%; }.chip-pyg { right: 1%; top: 45%; }.chip-ves { left: 14%; bottom: 4%; }

.rates-strip { position: relative; z-index: 5; width: min(940px, calc(100% - 2rem)); margin: -68px auto 0; }
.today-rate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 190px;
  padding: clamp(1.6rem, 4vw, 2.7rem) clamp(1.5rem, 5vw, 4rem);
  color: var(--purple-950);
  background: linear-gradient(135deg, #fff7d0, var(--yellow));
  border: 9px solid rgba(255,255,255,.96);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(57,8,70,.23);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.today-rate-card:hover, .today-rate-card:focus-visible { transform: translateY(-4px); box-shadow: 0 34px 90px rgba(57,8,70,.3); outline: none; }
.today-rate-copy { display: grid; }
.today-rate-label { color: var(--purple-800); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.today-rate-card strong { margin: -.1rem 0; color: var(--purple-900); font-size: clamp(4rem, 9vw, 7rem); line-height: 1; letter-spacing: -.07em; }
.today-rate-action { display: inline-flex; align-items: center; gap: .8rem; flex: 0 0 auto; padding: 1rem 1.25rem; color: white; background: var(--purple-900); border-radius: 999px; font-weight: 950; }
.today-rate-action b { font-size: 1.5rem; line-height: 1; }

.calculator-section, .steps, .about { padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 6vw, 6rem); }
.section-heading { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; }
h2 { margin: .55rem 0 .7rem; color: var(--purple-950); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; }
.section-heading p, .about-copy p { color: var(--muted); font-size: 1.08rem; }
.calculator-shell { width: min(1120px, 100%); margin: auto; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; padding: .8rem; background: #f6eef8; }
.mode-tab { min-height: 54px; padding: .8rem; color: var(--purple-800); border: 0; border-radius: 16px; background: transparent; font-weight: 900; cursor: pointer; }
.mode-tab.active { color: white; background: linear-gradient(135deg, var(--purple-800), var(--purple-600)); box-shadow: 0 10px 25px rgba(91,10,114,.22); }
.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(1.2rem, 4vw, 3rem); }
#calculator-form { align-self: center; }
#calculator-form label { display: block; margin-bottom: .5rem; font-weight: 900; }
.money-input { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.money-input:focus-within { border-color: var(--purple-600); box-shadow: 0 0 0 4px rgba(139,32,170,.1); }
.money-input span { padding: 0 0 0 1rem; color: var(--purple-700); font-weight: 900; }
.money-input input { width: 100%; min-width: 0; padding: 1rem; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; }
#amount-help { margin: .55rem 0 1.2rem; color: var(--muted); font-size: .9rem; }
.quick-values { display: flex; flex-wrap: wrap; gap: .55rem; }
.quick-values button { padding: .55rem .8rem; color: var(--purple-700); border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 800; cursor: pointer; }
.quick-values button:hover { color: white; background: var(--purple-700); }
.form-error { min-height: 1.4em; color: #b42318; font-weight: 700; }
.result-card { padding: clamp(1.4rem, 4vw, 2.4rem); color: white; background: linear-gradient(145deg, var(--purple-950), var(--purple-700)); border-radius: 24px; box-shadow: 0 20px 50px rgba(57,8,70,.25); }
.result-badge { display: inline-block; padding: .35rem .7rem; color: var(--purple-950); background: var(--yellow); border-radius: 999px; font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.result-row { margin-top: 1.5rem; }
.result-row span { display: block; color: rgba(255,255,255,.7); }
.result-row strong { display: block; font-size: clamp(1.6rem, 4vw, 2.7rem); letter-spacing: -.03em; }
.result-row.featured strong { color: var(--yellow); }
.result-divider { height: 1px; margin-top: 1.5rem; background: rgba(255,255,255,.15); }
.copy-button { width: 100%; margin: 1.5rem 0 .8rem; padding: .85rem; color: var(--purple-950); border: 0; border-radius: 14px; background: white; font-weight: 900; cursor: pointer; }
.result-card small { display: block; color: rgba(255,255,255,.65); }

.steps { background: #faf5fb; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; width: min(1120px, 100%); margin: auto; }
.step-grid article { padding: 2rem; background: white; border: 1px solid var(--line); border-radius: 22px; }
.step-grid article > span { display: grid; place-items: center; width: 46px; height: 46px; color: var(--purple-950); background: var(--yellow); border-radius: 14px; font-weight: 950; }
.step-grid h3 { margin: 1rem 0 .4rem; color: var(--purple-900); font-size: 1.3rem; }
.step-grid p { margin: 0; color: var(--muted); }

.purpose {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 7vw, 7rem);
  color: white;
  background:
    linear-gradient(120deg, rgba(47, 9, 60, .96), rgba(90, 10, 114, .9)),
    url('/assets/beach.jpg') center/cover;
}
.purpose h2 { max-width: 760px; color: white; }
.purpose-copy > p { max-width: 760px; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.purpose blockquote {
  margin: 1.7rem 0 0;
  padding: 1.2rem 1.3rem;
  color: var(--yellow-soft);
  border-left: 4px solid var(--yellow);
  background: rgba(255,255,255,.07);
  border-radius: 0 16px 16px 0;
  font-size: 1.05rem;
  font-weight: 750;
}
.purpose-cards { display: grid; gap: .8rem; }
.purpose-cards article { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.25rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; backdrop-filter: blur(10px); }
.purpose-cards article > span { display: grid; place-items: center; width: 54px; height: 54px; color: var(--purple-950); background: var(--yellow); border-radius: 16px; font-size: 1.4rem; font-weight: 950; }
.purpose-cards h3 { margin: 0 0 .2rem; color: white; font-size: 1.15rem; }
.purpose-cards p { margin: 0; color: rgba(255,255,255,.72); }

.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); width: min(1250px, 100%); margin: auto; }
.about-image { position: relative; }
.about-image::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; z-index: -1; border-radius: 30px; background: var(--yellow); }
.about-image img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.values { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.values span { padding: .55rem .8rem; color: var(--purple-800); background: #f6eef8; border-radius: 999px; font-weight: 800; }

.help { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 0 clamp(1rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4rem); color: white; background: linear-gradient(120deg, var(--purple-950), var(--purple-700)); border-radius: 28px; box-shadow: var(--shadow); }
.help h2 { color: white; }
.help p { max-width: 750px; color: rgba(255,255,255,.75); }
.light-button { flex: 0 0 auto; color: var(--purple-950); background: var(--yellow); }

footer { padding: 2.5rem 1rem; color: rgba(255,255,255,.7); background: var(--purple-950); text-align: center; }
footer img { width: 90px; height: 58px; object-fit: contain; }
footer p { margin: .25rem 0; }.legal { font-size: .8rem; }
.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; max-width: min(380px, calc(100% - 2rem)); padding: .9rem 1rem; color: white; background: var(--success); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; transform: translateY(18px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { animation: none; } }
@media (max-width: 850px) {
  .site-header { min-height: 64px; }.brand img { width: 76px; height: 44px; } nav a:not(:first-child) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4.5rem; }.hero-art { min-height: 380px; }.hero-art img { width: min(82%, 340px); }
  .rates-strip { margin-top: -38px; }
  .today-rate-card { align-items: stretch; flex-direction: column; gap: 1.2rem; min-height: 0; }
  .today-rate-action { justify-content: center; width: 100%; }
  .mode-tabs { grid-template-columns: 1fr; }.calculator-grid { grid-template-columns: 1fr; }
  .step-grid, .purpose, .about { grid-template-columns: 1fr; }.about-copy { order: -1; }
  .help { align-items: stretch; flex-direction: column; }.light-button { width: 100%; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.65rem; }.hero { padding-inline: 1rem; }.hero-art { min-height: 320px; }
  .currency-chip { width: 58px; height: 58px; font-size: .85rem; }
  .calculator-section, .steps, .about { padding-inline: .8rem; }.calculator-shell { border-radius: 22px; }
  .calculator-grid { padding: 1rem; gap: 1rem; }.result-card { border-radius: 18px; }
}
