/* Hidrocarburos Connect — sitio corporativo */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --navy: #0c2d3e;
  --navy-light: #143d52;
  --gold: #c9a227;
  --gold-light: #e8d48a;
  --accent: #1a6b8a;
  --green: #1a7f4b;
  --green-bg: #edf7f0;
  --bg: #f6f7f9;
  --white: #fff;
  --text: #1a1f24;
  --muted: #5c6670;
  --text-muted: #5c6670;
  --border: #e2e6ea;
  --success: #1a7f4b;
  --danger: #c0392b;
  --orange: #c9a227;
  --orange-deep: #c9a227;
  --radius: 8px;
  --radius-lg: 12px;
  --max: 1140px;
  --font: 'DM Sans', system-ui, sans-serif;
  --shadow: 0 4px 24px rgba(12,45,62,.08);
  --shadow-sm: 0 2px 8px rgba(12,45,62,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.demo-bar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  letter-spacing: 0.02em;
}

.section-white { background: var(--white); padding-top: 0; }
.section-cta { text-align: center; margin-top: 32px; }

.offer-card-muted { opacity: .75; }
.offer-badge-muted { background: #888 !important; }
.safe-banner-spaced { margin-top: 40px; }

.panel-accent { border-left: 4px solid var(--gold); }

.badge-info { background: #e8f0f5; color: var(--accent); }

.demo-route { display: flex; flex-direction: column; gap: 16px; }

.demo-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.demo-step-num {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.demo-step h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.demo-step p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.demo-step .btn { margin-right: 8px; margin-top: 4px; }

.stat-box .n.stat-warn { color: var(--gold); }
.stat-box .n.stat-ok { color: var(--green); }
.stat-box .n.stat-danger { color: var(--danger); }

.page-hero .wrap,
.page-top .wrap { padding-top: 8px; padding-bottom: 8px; }

.tbl-wrap { overflow-x: auto; }

@media (max-width: 899px) {
  .header-actions .btn-ghost:first-child { display: none; }
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 560px;
  font-size: 15px;
}

.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo .icon { width: 36px; height: 36px; }
.logo .icon svg { width: 100%; height: 100%; display: block; }

.logo-text {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: color .15s, background .15s;
}

.main-nav a:hover { color: var(--navy); background: var(--bg); }
.main-nav a.active { color: var(--navy); font-weight: 600; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-actions .btn-ghost { display: none; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-actions .btn-ghost { display: inline-flex; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background .15s, transform .1s;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--navy);
  color: #fff !important;
}

.btn-primary:hover { background: var(--navy-light); }

.btn-accent {
  background: var(--gold);
  color: var(--navy) !important;
}

.btn-accent:hover { background: var(--gold-light); }

.btn-green {
  background: var(--green);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: var(--bg); }

.btn-outline-light {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4);
}

.btn-outline-light:hover { background: rgba(255,255,255,.1); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* legacy aliases */
.btn-temu, .btn-orange, .btn-amazon, .btn-gold, .btn-rappi { background: var(--navy); color: #fff !important; }
.btn-outline { background: #fff; border: 1px solid var(--border); color: var(--text) !important; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12,45,62,.92) 0%, rgba(12,45,62,.55) 55%, rgba(12,45,62,.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px 64px;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  opacity: .9;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.hero-stat span { font-size: 13px; opacity: .8; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.trust-item svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }

/* ── CATEGORIES ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }

.cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
  text-align: center;
}

.cat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.cat-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.cat-card span {
  display: block;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* ── OFFER CARDS ── */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) { .offers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .offers-grid { grid-template-columns: repeat(3, 1fr); } }

.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}

.offer-card:hover { box-shadow: var(--shadow); }

.offer-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.offer-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.offer-card:hover .offer-card-img img { transform: scale(1.03); }

.offer-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.offer-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.offer-meta span { display: flex; align-items: center; gap: 4px; }

.offer-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.offer-price small { font-size: 13px; font-weight: 500; color: var(--muted); }

.offer-total { font-size: 12px; color: var(--muted); margin-bottom: 16px; }

.offer-card .btn { margin-top: auto; width: 100%; }

/* ── SPLIT SECTION ── */
.split-section {
  background: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.split-content h2 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.split-content p {
  color: var(--muted);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-card p { font-size: 14px; color: var(--muted); }

/* ── STATS ── */
.stats-section {
  background: var(--navy);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.stat-item span { font-size: 14px; opacity: .8; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-band p {
  opacity: .9;
  max-width: 480px;
  margin: 0 auto 24px;
  font-size: 15px;
}

.cta-band .hero-actions { justify-content: center; }

/* ── PAGE HERO (inner) ── */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin-top: 8px;
  opacity: .85;
  font-size: 15px;
}

.page-hero a { color: var(--gold-light); text-decoration: underline; }

.page-body { padding: 40px 0 64px; }

/* legacy page-top */
.page-top {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}

.page-top h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.page-top p { font-size: 15px; opacity: .85; margin-top: 8px; }
.page-top a { color: var(--gold-light); }

/* ── INNER COMPONENTS ── */
.panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.panel h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.panel-subtitle {
  font-size: 13px;
  font-weight: 700;
  margin: 24px 0 12px;
  padding-bottom: 0;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.panel-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.text-muted { color: var(--muted); font-size: 13px; }

.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) { .form-layout { grid-template-columns: 1fr 300px; } }

.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.fg input, .fg select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font);
  transition: border-color .15s;
}

.fg input:focus, .fg select:focus {
  outline: none;
  border-color: var(--accent);
}

.frow { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 500px) { .frow { grid-template-columns: 1fr 1fr; } }

.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.checklist li > div:nth-child(2) { flex: 1; min-width: 0; }
.checklist li .btn { margin-left: auto; flex-shrink: 0; }
.checklist li .badge { margin-left: auto; }

.ck {
  width: 24px; height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.ck.ok { background: var(--green-bg); color: var(--green); }
.ck.wait { background: #fef6e6; color: #b8860b; }
.ck.no { border: 2px dashed var(--border); }

.doc-ref { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }

.prog { height: 6px; background: var(--border); border-radius: 3px; margin: 8px 0 16px; overflow: hidden; }
.prog > div { height: 100%; background: var(--navy); border-radius: 3px; }

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-ok { background: var(--green-bg); color: var(--green); }
.badge-warn { background: #fef6e6; color: #b8860b; }
.badge-no { background: #fdeaea; color: #c0392b; }

.tabs { display: flex; overflow-x: auto; border-bottom: 2px solid var(--border); margin-bottom: 16px; }
.tab { padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab.on { color: var(--navy); border-bottom-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.on { display: block; }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.tbl th { font-size: 11px; color: var(--muted); text-transform: uppercase; background: var(--bg); }

.offer-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .offer-line { grid-template-columns: 120px 1fr auto; align-items: center; }
}

.offer-line img { width: 100%; height: 96px; object-fit: cover; border-radius: var(--radius); }
.offer-line h3 { font-size: 16px; font-weight: 600; color: var(--navy); }
.offer-specs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); margin-top: 6px; }
.offer-specs b { color: var(--text); }

.price-big { font-size: 24px; font-weight: 700; color: var(--navy); }
.price-big small { font-size: 13px; color: var(--muted); font-weight: 500; }

.alert-box {
  background: var(--green-bg);
  border: 1px solid #c5e6d0;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .pricing-row { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-top: 3px solid var(--gold);
}

.price-card h3 { font-size: 15px; font-weight: 600; color: var(--navy); }
.price-card .amt { font-size: 24px; font-weight: 700; color: var(--navy); margin: 12px 0; }
.price-card p { font-size: 13px; color: var(--muted); }

.calc-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 16px;
}

.calc-box .lbl { font-size: 13px; opacity: .75; }
.calc-box .val { font-size: 28px; font-weight: 700; color: var(--gold-light); margin-top: 4px; }

.dash {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 600px) { .dash { grid-template-columns: repeat(4, 1fr); } }

.stat-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-box .n { font-size: 22px; font-weight: 700; color: var(--navy); }
.stat-box .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

.safe-banner {
  background: var(--green-bg);
  border: 1px solid #c5e6d0;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safe-banner h3 { font-size: 17px; font-weight: 600; color: var(--green); }
.safe-banner p { font-size: 14px; color: var(--muted); }

@media (min-width: 600px) {
  .safe-banner { flex-direction: row; align-items: center; }
  .safe-banner .btn { margin-left: auto; flex-shrink: 0; }
}

/* legacy product cards */
.p-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 900px) { .p-grid { grid-template-columns: repeat(3, 1fr); } }

.p-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-safe { position: absolute; top: 10px; left: 10px; background: var(--green); color: #fff; font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 4px; }
.p-discount { display: none; }
.p-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.p-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.p-price { font-size: 20px; font-weight: 700; color: var(--navy); }
.p-price-row { margin-bottom: 8px; }
.p-old { display: none; }
.p-sold { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.btn-buy { display: block; width: 100%; padding: 10px; background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; border: none; border-radius: 6px; text-align: center; margin-top: auto; cursor: pointer; font-family: var(--font); }

.icon-svg { display: inline-flex; align-items: center; justify-content: center; }
.icon-svg svg { width: 100%; height: 100%; display: block; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 56px 24px 32px;
}

.ft-grid {
  max-width: var(--max);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.ft-brand strong { color: #fff; font-size: 18px; font-weight: 700; display: block; }
.ft-brand p { font-size: 14px; line-height: 1.6; margin-top: 12px; max-width: 280px; }

.ft-grid h4 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.ft-grid a { display: block; color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 8px; transition: color .15s; }
.ft-grid a:hover { color: var(--gold-light); }

.ft-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 300;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  gap: 4px;
  padding: 4px 12px;
}

.mobile-nav a .ico { width: 22px; height: 22px; }
.mobile-nav a.active { color: var(--navy); }

@media (min-width: 900px) {
  .mobile-nav { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 899px) {
  body { padding-bottom: 64px; }
  .site-footer { margin-bottom: 0; }
}

/* ══════════════════════════════════════
   DASHBOARD ADMIN
   ══════════════════════════════════════ */
.dash-body {
  display: flex;
  min-height: 100vh;
  background: #0a1620;
  padding-bottom: 0 !important;
}

.dash-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0c2d3e 0%, #071820 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,.06);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
  color: #fff;
}

.dash-brand .icon { width: 36px; height: 36px; }
.dash-brand span { font-weight: 700; font-size: 15px; line-height: 1.2; }
.dash-brand small { display: block; font-size: 10px; opacity: .6; font-weight: 500; }

.dash-nav { flex: 1; display: flex; flex-direction: column; gap: 4px; }

.dash-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: background .15s, color .15s;
}

.dash-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.dash-nav a.active { background: rgba(201,162,39,.2); color: var(--gold-light); }

.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}

.dash-avatar {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.dash-user strong { display: block; font-size: 13px; }
.dash-user span { font-size: 11px; opacity: .6; }

.dash-main {
  flex: 1;
  margin-left: 260px;
  padding: 28px 32px 48px;
  min-width: 0;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.dash-top h1 { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.dash-top p { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 4px; }

.dash-top-actions { display: flex; align-items: center; gap: 12px; }

.dash-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  padding: 8px 14px;
  border-radius: 20px;
}

.pulse {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.2); }
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash-kpi {
  background: linear-gradient(145deg, #122a38, #0e222e);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 20px;
}

.dash-kpi-label { font-size: 12px; color: rgba(255,255,255,.5); display: block; margin-bottom: 8px; }
.dash-kpi-val { font-size: 28px; font-weight: 700; color: #fff; display: block; line-height: 1.1; }
.dash-kpi-val.warn { color: #fbbf24; }
.dash-kpi-trend { font-size: 11px; color: #4ade80; margin-top: 6px; display: block; }
.dash-kpi-meta { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 6px; display: block; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dash-card {
  background: #0e222e;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 20px;
}

.dash-card-wide { grid-column: span 2; }
.dash-card-full { grid-column: span 2; }

.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-card-head h2 { font-size: 15px; font-weight: 600; color: #fff; }
.dash-card-head a { font-size: 13px; color: var(--gold-light); }

.dash-select {
  background: #0a1620;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 160px;
  padding-top: 20px;
}

.dash-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.dash-bar-wrap span { font-size: 10px; color: rgba(255,255,255,.4); }

.dash-bar {
  width: 100%;
  max-width: 48px;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 6px 6px 0 0;
  position: relative;
  min-height: 20px;
}

.dash-bar em {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-style: normal;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}

.dash-legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.fob { background: #60a5fa; }
.dot.cif { background: var(--gold); }

.dash-donut-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.dash-donut {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--pct) * 1%), rgba(255,255,255,.1) 0);
}

.dash-donut-center {
  position: absolute;
  inset: 20px;
  background: #0e222e;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dash-donut-center strong { font-size: 22px; color: #fff; }
.dash-donut-center span { font-size: 11px; color: rgba(255,255,255,.5); }

.dash-split-list { list-style: none; }
.dash-split-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

.dash-split-list strong { color: #fff; }

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dash-table th {
  text-align: left;
  padding: 10px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.45);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.dash-table td {
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  vertical-align: middle;
}

.dash-table small { color: rgba(255,255,255,.45); font-size: 11px; }
.dash-table .amount { font-weight: 700; color: var(--gold-light); }

.mode-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.mode-tag.fob { background: rgba(96,165,250,.2); color: #60a5fa; }
.mode-tag.cif { background: rgba(201,162,39,.2); color: var(--gold-light); }

.status-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.status-pill.wait { background: rgba(251,191,36,.15); color: #fbbf24; }
.status-pill.bank { background: rgba(96,165,250,.15); color: #60a5fa; }
.status-pill.ok { background: rgba(74,222,128,.15); color: #4ade80; }

.dash-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}

.dash-queue { list-style: none; }

.dash-queue li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dash-queue strong { display: block; color: #fff; font-size: 13px; }
.dash-queue span { font-size: 11px; color: rgba(255,255,255,.45); }

.dash-trust-badges { display: flex; flex-direction: column; gap: 12px; }

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
}

.tb-icon { font-size: 20px; }
.trust-badge-item strong { display: block; color: #fff; font-size: 13px; }
.trust-badge-item span { font-size: 11px; color: rgba(255,255,255,.45); }

.dash-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-step {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 16px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
}

.flow-step span {
  display: inline-grid;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}

.flow-step.done span { background: var(--green); color: #fff; }
.flow-step.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.flow-step.active span { background: var(--gold); color: var(--navy); }

.flow-step strong { display: block; color: #fff; font-size: 13px; margin-bottom: 4px; }
.flow-step p { font-size: 11px; color: rgba(255,255,255,.45); margin: 0; }

.flow-arrow { color: rgba(255,255,255,.25); font-size: 18px; }

@media (max-width: 1100px) {
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-card-wide, .dash-card-full { grid-column: span 1; }
}

@media (max-width: 768px) {
  .dash-sidebar { display: none; }
  .dash-main { margin-left: 0; padding: 16px; }
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-table { font-size: 11px; }
}

