:root {
  --bg: #f2f5fb;
  --ink: #0a2a6b;
  --muted: #5b6b85;
  --line: #d5dfee;
  --green: #0033a0;
  --lime: #ffd100;
  --soft: #e6edfb;
  --white: #ffffff;
  --danger: #b3261e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.topbar {
  background: var(--ink);
  color: #eaf1ff;
  text-align: center;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.brand-mark {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 12px;
  background: var(--lime);
  font-size: 24px;
  font-weight: 800;
}
.brand-name b { font-weight: 800; }
.brand-name { font-weight: 400; }
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-cta {
  background: var(--ink);
  color: #f7f8f2;
  border-radius: 999px;
  padding: 10px 18px;
}
.nav-cta:hover { background: #113f8f; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 40px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
  margin: 0 0 16px;
}
h1 {
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 0;
  font-weight: 800;
}
h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -1.5px;
}
.lead {
  font-size: 15px;
  line-height: 1.8;
  color: #5b6b85;
  max-width: 600px;
  margin: 20px 0 0;
}
.note {
  border-left: 3px solid #0033a0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6b85;
  max-width: 430px;
  margin-top: 24px;
}
.hero-art img { width: 100%; height: auto; display: block; }
.hero-art p {
  text-align: center;
  font-size: 11px;
  color: #5b6b85;
  margin: 4px 0 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 24px;
  list-style: none;
  margin-top: 0;
  margin-bottom: 36px;
}
.steps li { display: flex; align-items: center; gap: 14px; }
.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #bcccaf;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  flex: none;
}
.steps strong { display: block; font-size: 13px; }
.steps span { display: block; font-size: 11px; color: #5b6b85; line-height: 1.5; }

.main-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.card {
  background: var(--white);
  border: 1px solid #dbe2d6;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(25, 62, 49, 0.03);
}
.form-card { padding: 36px; }
h2 { font-size: 30px; letter-spacing: -1px; margin: 0; font-weight: 800; }
.form-intro { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 12px 0 0; }
.notice {
  border-left: 3px solid #0033a0;
  background: #e8eefb;
  padding: 14px 16px;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.7;
  color: #4b6353;
}
.notice strong { display: block; color: var(--ink); }
.field { margin-top: 20px; }
.field label { display: block; font-size: 13px; font-weight: 700; }
.input,
select.input {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #c8d5e9;
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  font-size: 15px;
  color: #233e30;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus,
select.input:focus {
  border-color: #497e36;
  box-shadow: 0 0 0 4px rgba(73, 126, 54, 0.1);
}
.input::placeholder { color: #7b8494; }
.input[aria-invalid="true"],
select.input[aria-invalid="true"] { border-color: #d7a79e; }
.hint { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 6px 0 0; }
.error { font-size: 12px; line-height: 1.6; color: var(--danger); margin: 6px 0 0; }
.amount-wrap { position: relative; margin-top: 8px; }
.amount-wrap span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #4b6353;
}
.amount-wrap .input { margin-top: 0; padding-left: 44px; }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.7;
  color: #4b6353;
}
.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
  flex: none;
}
.check-row a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #113f8f; }
.btn-block { width: 100%; justify-content: space-between; margin-top: 24px; }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid #c8d5e9; }
.btn-secondary:hover { background: #e8eefb; }
.btn:disabled { opacity: 0.65; cursor: wait; }
.alert {
  border: 1px solid #e5beb7;
  background: #fbe9e6;
  color: #b3261e;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 20px;
}
.small { font-size: 11px; line-height: 1.7; color: var(--muted); }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
[hidden] { display: none !important; }

.success { text-align: center; padding: 8px 0; }
.success > img { width: 220px; max-width: 100%; height: auto; margin: 0 auto 24px; }
.success h2 { font-size: 32px; }
.success .desc {
  max-width: 420px;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.code-box {
  max-width: 380px;
  margin: 28px auto 0;
  border: 1px solid #d3ddc9;
  background: #e8eefb;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
}
.code-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.code-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: #4d6180; }
.code-box strong { display: block; font-size: 20px; letter-spacing: 0.06em; margin-top: 4px; }
.copy-btn {
  border: 1px solid #c1d1b4;
  background: #fff;
  color: var(--green);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  flex: none;
}
.code-box p { font-size: 12px; line-height: 1.7; color: #4d6180; margin: 14px 0 0; }
.status-pill {
  display: inline-flex;
  border: 1px solid #c2d3ec;
  background: #eaf1fc;
  color: #14418f;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 16px;
}
.status-pill.needs_correction { background: #fff4dc; color: #7a5211; border-color: #e8cf9a; }
.status-pill.approved { background: #e6f4e8; color: #25633a; border-color: #b9d9bf; }
.status-pill.rejected { background: #fbe9e6; color: #b3261e; border-color: #e5beb7; }
.status-pill.paid { background: #e6f0f7; color: #24536e; border-color: #b9d2e2; }
.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.side-card { background: var(--soft); border-radius: 22px; padding: 28px; }
.side-card .badge {
  display: inline-block;
  border: 1px solid #bbcbaa;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
}
.side-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  margin: 20px 0 0;
}
.side-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.side-card li {
  position: relative;
  border-bottom: 1px solid #ccd8c0;
  padding: 14px 0 14px 26px;
  font-size: 13px;
  line-height: 1.7;
  color: #3f5b49;
}
.side-card li:last-child { border-bottom: 0; }
.side-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--green);
  font-weight: 700;
}
.side-card .foot { font-size: 11px; line-height: 1.7; color: #4d6180; margin: 20px 0 0; }
.security { display: flex; gap: 14px; padding: 8px 4px; }
.security svg { flex: none; color: var(--green); margin-top: 2px; }
.security h3 { font-size: 13px; margin: 0; }
.security p { font-size: 11px; line-height: 1.7; color: var(--muted); margin: 4px 0 0; }

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 36px;
  padding-bottom: 20px;
}
.details .eyebrow { margin-bottom: 12px; }
.details h2 { font-size: 22px; }
.details p { font-size: 12px; line-height: 1.8; color: #5e7063; }
.details a {
  display: inline-flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 12px;
}

footer { border-top: 1px solid var(--line); margin-top: 64px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 11px;
  color: #4d6180;
}
.footer-brand p { margin: 6px 0 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.narrow { max-width: 760px; padding-top: 32px; padding-bottom: 64px; }
.back {
  display: inline-flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  margin-bottom: 24px;
}
.back:hover { text-decoration: underline; }
.article { padding: 36px; }
.article h1 { font-size: 40px; margin: 12px 0 0; }
.article .intro { font-size: 14px; line-height: 1.8; color: #5e7063; margin: 16px 0 0; }
.article section { margin-top: 28px; }
.article h2 { font-size: 16px; margin: 0 0 8px; }
.article p { font-size: 13px; line-height: 1.8; color: #4b6353; margin: 0; }
.article .divider { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; }
.article .divider a { font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.status-card { max-width: 640px; margin: 0 auto; padding: 36px; }
.status-card h1 { font-size: 38px; }
.status-result {
  margin-top: 24px;
  border: 1px solid #d3ddc9;
  background: #e8eefb;
  border-radius: 16px;
  padding: 20px;
}
.status-result .top { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.status-result .code { font-size: 18px; font-weight: 700; letter-spacing: 0.04em; margin-top: 4px; }
.status-result p { font-size: 12px; line-height: 1.7; color: #4b6353; margin: 14px 0 0; }
.status-result .date { font-size: 11px; color: var(--muted); }

@media (max-width: 860px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .site-header { min-height: 76px; }
  nav { gap: 14px; font-size: 12px; }
  nav .nav-rules { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  h1 { font-size: 42px; }
  .hero-art { max-width: 390px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .main-grid { grid-template-columns: 1fr; }
  .form-card, .article, .status-card { padding: 24px; }
  h2 { font-size: 26px; }
  .details { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .footer-inner { flex-direction: column; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
}

@media (max-width: 480px) {
  h1 { font-size: 38px; }
  .brand { font-size: 18px; }
  .brand-mark { min-width: 36px; height: 36px; font-size: 22px; }
  .success h2 { font-size: 28px; }
  .article h1 { font-size: 32px; }
}

/* ---------------------------------------------------------------- language switch */
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #c8d5e9;
  border-radius: 999px;
  background: #fff;
  flex: none;
}
.lang-option {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: #4d6180;
  white-space: nowrap;
}
.lang-option:hover { text-decoration: none; color: var(--ink); }
.lang-option.active { background: var(--ink); color: #fff; }
.lang-option.active:hover { color: #fff; }

/* ---------------------------------------------------------------- Bengali typography */




































@media (max-width: 860px) {
  .header-right { gap: 12px; }
  .lang-switch { padding: 2px; }
  .lang-option { padding: 4px 8px; font-size: 10px; }
  
  
  
  
  
}

@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 10px;
  }
  .header-right { width: 100%; justify-content: space-between; }
  nav { gap: 16px; }
}

@media (max-width: 480px) {
  
  
  
  
  
  .lang-option { padding: 4px 7px; font-size: 10px; }
}

/* ---- Formulario YPF: bloques y cálculos ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.form-section {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.form-section:first-of-type { margin-top: 24px; padding-top: 0; border-top: 0; }
.opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }

.calc-box {
  margin-top: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: #41536f;
  padding: 6px 0;
}
.calc-row strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed #c3d2e8;
  font-size: 14px;
  font-weight: 700;
}
.calc-row.total strong { font-size: 21px; color: var(--green); letter-spacing: -0.02em; }
.calc-note { margin: 10px 0 0; font-size: 11px; line-height: 1.65; color: var(--muted); }

.side-faq dl { margin: 16px 0 0; font-size: 12.5px; }
.side-faq dt { margin-top: 12px; font-weight: 700; color: #41536f; }
.side-faq dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; }
.side-faq dl dt:first-child { margin-top: 0; }

.status-legend { margin-top: 20px; }
.legend-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 13px;
  line-height: 1.65;
  color: #41536f;
}
.legend-list li { display: flex; align-items: flex-start; gap: 10px; }
.legend-list .status-pill { flex: none; margin-top: 0; padding: 5px 12px; font-size: 11px; }

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