* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; }
a { text-decoration: none; }

.front-body {
  padding-bottom: 86px;
  background:
    radial-gradient(circle at top, rgba(255,214,10,.18), transparent 30%),
    linear-gradient(180deg, #07173e 0%, #0e2a68 45%, #0a1734 100%);
  color: #fff;
}
.topbar {
  position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: rgba(7, 16, 39, .88); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand { font-weight: 900; font-size: 22px; letter-spacing: .5px; color: #ffd21a; }
.icon {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255,255,255,.08); font-size: 22px; color: #fff;
}
.container { width: 100%; max-width: 460px; margin: 0 auto; padding: 14px; }
.hero-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px; overflow: hidden; box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.hero-image {
  min-height: 300px; padding: 24px; display: flex; align-items: end; justify-content: start;
  background: linear-gradient(135deg, rgba(255,210,26,.25), rgba(255,255,255,.04)), linear-gradient(160deg, #0f2a69, #10204b 60%, #09152f);
}
.hero-copy h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.1; color: #ffd21a; }
.hero-copy p { margin: 0; opacity: .92; line-height: 1.5; }
.section-title { font-size: 30px; line-height: 1.05; margin: 0 0 12px; font-weight: 900; color: #ffd21a; text-align: center; }
.sub { text-align: center; opacity: .92; font-size: 15px; line-height: 1.5; margin: 0 0 14px; }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.btn {
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  text-decoration: none; border-radius: 16px; font-weight: 900; font-size: 17px; border: 0; cursor: pointer;
}
.btn-primary { background: linear-gradient(180deg, #ffd426 0%, #f0b900 100%); color: #09152f; }
.btn-secondary { background: linear-gradient(180deg, #24d366 0%, #12b34e 100%); color: #fff; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.badge {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
  padding: 12px 8px; text-align: center; font-size: 13px; font-weight: 800;
}
.packages { margin-top: 22px; }
.package-grid { display: grid; gap: 12px; }
.package {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  background: linear-gradient(180deg, rgba(255,210,26,.13), rgba(255,255,255,.05));
  border: 1px solid rgba(255,210,26,.25); border-radius: 18px; padding: 16px;
}
.package h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.package p { margin: 0; opacity: .88; font-size: 14px; }
.price { text-align: right; font-weight: 900; color: #ffd21a; font-size: 30px; line-height: 1; }
.old { display: block; font-size: 14px; opacity: .7; text-decoration: line-through; color: #fff; margin-top: 4px; }
.features { margin-top: 22px; display: grid; gap: 10px; }
.feature {
  background: rgba(255,255,255,.07); border-left: 4px solid #ffd21a; padding: 14px 14px 14px 16px;
  border-radius: 14px; font-weight: 800;
}
.form-card {
  margin-top: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; padding: 16px; box-shadow: 0 16px 50px rgba(0,0,0,.24);
}
.form-card h2 { margin: 0 0 12px; font-size: 28px; color: #ffd21a; text-align: center; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; opacity: .9; }
input, select, textarea {
  width: 100%; border: 0; outline: 0; border-radius: 14px; padding: 14px; background: #fff; color: #111; font-size: 15px;
}
.field { margin-bottom: 10px; }
.total {
  background: linear-gradient(180deg, #ffe27a, #ffd21a); color: #09152f; border-radius: 16px; padding: 14px;
  text-align: center; font-weight: 900; font-size: 24px; margin-bottom: 10px;
}
.submit {
  width: 100%; min-height: 54px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #ffd426 0%, #f0b900 100%);
  color: #09152f; font-size: 18px; font-weight: 900;
}
.note { margin-top: 8px; text-align: center; opacity: .76; font-size: 12px; }
.whatsapp {
  position: fixed; right: 12px; bottom: 96px; z-index: 80; width: 60px; height: 60px; border-radius: 999px;
  display: grid; place-items: center; background: #25d366; color: #fff; text-decoration: none; font-size: 28px; box-shadow: 0 14px 32px rgba(0,0,0,.35);
}
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid;
  grid-template-columns: 1fr 1.25fr; height: 76px; box-shadow: 0 -10px 30px rgba(0,0,0,.28);
}
.sticky-price {
  background: #ffd21a; color: #09152f; display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 900;
}
.sticky-btn {
  background: #15357a; color: #fff; display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 26px; font-weight: 900;
}
.form-success {
  background: rgba(36,211,102,.18); border: 1px solid rgba(36,211,102,.4); color: #fff;
  border-radius: 16px; padding: 14px; text-align: center; margin-top: 12px;
}

/* Admin */
.admin-body { background: #f4f7fb; color: #172033; }
.layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: #0f172a; color: #fff; padding: 24px 18px; }
.sidebar .brand-admin { font-size: 26px; font-weight: 900; color: #ffd21a; margin-bottom: 28px; }
.nav a {
  display: block; color: #dbe4ff; text-decoration: none; padding: 12px 14px; border-radius: 12px;
  margin-bottom: 8px; font-weight: 700; background: rgba(255,255,255,.03);
}
.nav a.active { background: #1d4ed8; color: #fff; }
.main { padding: 24px; }
.topbar-admin { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.topbar-admin h1 { margin: 0; font-size: 28px; }
.top-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-light {
  background: white; border: 1px solid #dbe3f0; color: #172033; padding: 12px 16px; border-radius: 12px; font-weight: 800;
}
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.card, .panel {
  background: white; border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); border: 1px solid #edf2f7;
}
.card .label { color: #64748b; font-size: 14px; margin-bottom: 10px; font-weight: 700; }
.card .value { font-size: 30px; font-weight: 900; }
.grid-admin { display: grid; grid-template-columns: 1.3fr .9fr; gap: 16px; }
.panel h2 { margin: 0 0 14px; font-size: 20px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #edf2f7; font-size: 14px; }
th { color: #64748b; font-size: 13px; }
.status { display: inline-block; padding: 8px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.new { background: #dbeafe; color: #1d4ed8; }
.approved { background: #dcfce7; color: #15803d; }
.cargo { background: #fef3c7; color: #b45309; }
.filters { display: grid; gap: 10px; }
.filters input, .filters select, .filters textarea { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid #dbe3f0; background: #fff; font-size: 14px; }
.small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.login-preview { margin-top: 16px; padding: 16px; border-radius: 16px; background: #f8fafc; border: 1px dashed #cbd5e1; }
.login-box { max-width: 360px; background: white; border: 1px solid #e5e7eb; border-radius: 18px; padding: 18px; margin-top: 12px; }
.login-box h3 { margin: 0 0 12px; }
.login-box input { width: 100%; margin-bottom: 10px; padding: 12px; border-radius: 12px; border: 1px solid #dbe3f0; }
.muted { color: #64748b; font-size: 13px; }
.notice { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; padding: 12px; border-radius: 12px; margin-bottom: 16px; }
.section-list { display: grid; gap: 12px; }
.package-item {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  padding: 14px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff;
}
.inline-form { display: inline; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid-admin { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .main { padding: 14px; }
  .cards { grid-template-columns: 1fr; }
  .small-grid, .row { grid-template-columns: 1fr; }
  .topbar-admin { align-items: flex-start; flex-direction: column; }
}
