.baep-app {
  --baep-navy: #0f4772;
  --baep-blue: #1769aa;
  --baep-blue-dark: #0e527f;
  --baep-gold: #d8a53b;
  --baep-ink: #203243;
  --baep-muted: #647687;
  --baep-line: #dce5ec;
  --baep-soft: #f4f8fb;
  --baep-success: #18794e;
  --baep-danger: #b42318;
  width: 100%;
  max-width: 1160px;
  margin: 28px auto;
  color: var(--baep-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  box-sizing: border-box;
}

.baep-app *, .baep-app *::before, .baep-app *::after { box-sizing: inherit; }
.baep-app h1, .baep-app h2, .baep-app h3, .baep-app p { margin-top: 0; }
.baep-app h1 { color: #fff; font-size: clamp(27px, 4vw, 45px); line-height: 1.15; margin-bottom: 10px; }
.baep-app h2 { color: var(--baep-navy); text-align: center; font-size: clamp(24px, 3vw, 32px); margin-bottom: 26px; }
.baep-app h3 { color: var(--baep-navy); font-size: 19px; line-height: 1.3; }

.baep-language-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin: 0 0 9px;
}
.baep-language-switcher a {
  min-width: 38px;
  padding: 5px 9px;
  border: 1px solid var(--baep-line);
  border-radius: 7px;
  background: #fff;
  color: var(--baep-navy);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
}
.baep-language-switcher a.is-active { border-color: var(--baep-blue); background: var(--baep-blue); color: #fff; }

.baep-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: center;
  gap: 28px;
  min-height: 270px;
  padding: clamp(35px, 6vw, 65px);
  border-radius: 20px;
  color: #e8f4ff;
  background: linear-gradient(125deg, #0c3f67 0%, #1769aa 72%, #2787c8 100%);
  box-shadow: 0 18px 48px rgba(11, 66, 105, .2);
}
.baep-hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  inset-inline-end: -150px;
  top: -130px;
  border: 50px solid rgba(255,255,255,.07);
  border-radius: 50%;
}
.baep-hero p { position: relative; z-index: 1; max-width: 780px; margin-bottom: 0; font-size: 17px; }
.baep-hero .baep-tagline { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.baep-brand-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(255,255,255,.38);
  border-radius: 22px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 58px;
  font-weight: 700;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.05);
}

.baep-section { margin-top: 54px; }
.baep-service-grid, .baep-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.baep-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 27px;
  border: 1px solid var(--baep-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(27, 58, 86, .07);
}
.baep-service-card.is-featured { border-top: 4px solid var(--baep-gold); }
.baep-service-card p { color: var(--baep-muted); }
.baep-price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--baep-line); }
.baep-price strong { display: block; color: var(--baep-blue); font-size: 27px; }
.baep-price span { color: var(--baep-muted); font-size: 13px; }

.baep-how { padding: 38px; border-radius: 17px; background: var(--baep-soft); }
.baep-how-grid > div { position: relative; padding: 5px 15px; text-align: center; }
.baep-how-grid > div > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--baep-blue);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.baep-how-grid p { color: var(--baep-muted); font-size: 14px; }

.baep-order-panel {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--baep-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28, 62, 90, .09);
}
.baep-form fieldset { margin: 0 0 31px; padding: 0; border: 0; }
.baep-form legend {
  width: 100%;
  margin-bottom: 17px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--baep-soft);
  color: var(--baep-navy);
  font-size: 19px;
  font-weight: 800;
}
.baep-fields { display: grid; gap: 18px; }
.baep-fields-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.baep-form label { display: block; margin: 0 0 17px; color: var(--baep-ink); font-weight: 600; }
.baep-form label > span { display: block; margin-bottom: 6px; }
.baep-form input[type="text"], .baep-form input[type="email"], .baep-form input[type="tel"], .baep-form select, .baep-form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #cbd8e2;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--baep-ink);
  font: inherit;
  font-weight: 400;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}
.baep-form textarea { min-height: 120px; resize: vertical; }
.baep-form input:focus, .baep-form select:focus, .baep-form textarea:focus { border-color: var(--baep-blue); box-shadow: 0 0 0 3px rgba(23,105,170,.12); }

.baep-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.baep-choice { position: relative; margin: 0 !important; cursor: pointer; }
.baep-choice input { position: absolute; opacity: 0; pointer-events: none; }
.baep-choice > span {
  display: flex !important;
  flex-direction: column;
  min-height: 100px;
  padding: 17px;
  border: 2px solid var(--baep-line);
  border-radius: 10px;
  background: #fff;
  transition: .2s;
}
.baep-choice small { display: block; margin-top: 7px; color: var(--baep-muted); font-weight: 500; }
.baep-choice input:checked + span { border-color: var(--baep-blue); background: #eff7fd; box-shadow: 0 0 0 2px rgba(23,105,170,.09); }

.baep-help { color: var(--baep-muted); font-size: 13px; }
.baep-upload-box { position: relative; min-height: 145px; margin-bottom: 14px; }
.baep-upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.baep-upload-box label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 145px;
  margin: 0;
  border: 2px dashed #aebfcc;
  border-radius: 12px;
  background: var(--baep-soft);
  cursor: pointer;
  transition: .2s;
}
.baep-upload-box label:hover { border-color: var(--baep-blue); background: #eef7fd; }
.baep-upload-icon { display: block; color: var(--baep-blue); font-size: 34px; line-height: 1; }
.baep-upload-box small { max-width: 95%; overflow: hidden; color: var(--baep-muted); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }

.baep-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 5px 8px 5px 0;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .15s, background .2s, opacity .2s;
}
.baep-button:hover { transform: translateY(-1px); }
.baep-button:disabled { opacity: .58; cursor: wait; transform: none; }
.baep-button-primary { background: var(--baep-blue); color: #fff !important; }
.baep-button-primary:hover { background: var(--baep-blue-dark); }
.baep-button-secondary { border-color: var(--baep-blue); background: #fff; color: var(--baep-blue) !important; }
.baep-button-secondary:hover { background: #eef7fd; }

.baep-quote {
  max-width: 570px;
  margin: 20px 0;
  padding: 22px;
  border: 1px solid #b8dbc9;
  border-radius: 12px;
  background: #f0faf5;
}
.baep-quote h3 { margin-bottom: 12px; color: var(--baep-success); }
.baep-quote > div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid #d4eadf; }
.baep-quote > div strong { color: var(--baep-success); font-size: 19px; }
.baep-quote p { margin: 12px 0 0; color: #527064; font-size: 12px; }
.baep-check { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-size: 13px; font-weight: 500 !important; }
.baep-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--baep-blue); }
.baep-check span { margin: 0 !important; }
.baep-honeypot { position: absolute !important; inset-inline-start: -10000px !important; }

.baep-message { margin: 0 0 22px; padding: 13px 16px; border-radius: 8px; font-weight: 650; }
.baep-message.is-error { border: 1px solid #f1b8b4; background: #fff2f1; color: var(--baep-danger); }
.baep-message.is-success { border: 1px solid #add7c0; background: #effaf4; color: var(--baep-success); }
.baep-success { padding: 30px; border: 1px solid #add7c0; border-radius: 13px; background: #effaf4; text-align: center; }
.baep-success h3 { color: var(--baep-success); font-size: 25px; }
.baep-success-number { display: flex; flex-direction: column; max-width: 420px; margin: 20px auto; padding: 14px; border-radius: 8px; background: #fff; }
.baep-success-number span { color: var(--baep-muted); font-size: 12px; }
.baep-success-number strong { color: var(--baep-navy); font-size: 21px; letter-spacing: .4px; }

.baep-tracker { max-width: 920px; }
.baep-tracker h1 { color: var(--baep-navy); text-align: center; }
.baep-tracker-form { max-width: 560px; margin: 25px auto 0; }
.baep-order-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 15px 0 25px; padding: 20px; border-radius: 11px; background: var(--baep-soft); }
.baep-order-heading > div { display: flex; flex-direction: column; }
.baep-order-heading span { color: var(--baep-muted); font-size: 12px; }
.baep-order-heading strong { color: var(--baep-navy); font-size: 20px; }
.baep-status { display: inline-flex; padding: 7px 12px; border-radius: 99px; background: #e8f1f8; color: var(--baep-navy) !important; font-weight: 800; }
.baep-status-delivered, .baep-status-completed { background: #dff5e9; color: var(--baep-success) !important; }
.baep-status-cancelled { background: #fde8e7; color: var(--baep-danger) !important; }
.baep-order-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.baep-order-summary > div { padding: 14px 16px; border: 1px solid var(--baep-line); border-radius: 9px; }
.baep-order-summary span { display: block; color: var(--baep-muted); font-size: 12px; }
.baep-order-summary strong { display: block; margin-top: 3px; color: var(--baep-ink); }
.baep-downloads { margin: 28px 0; padding: 22px; border-radius: 11px; background: #eef8ff; }
.baep-downloads h2, .baep-timeline h2 { margin-bottom: 15px; text-align: start; font-size: 21px; }
.baep-timeline { margin-top: 30px; }
.baep-timeline-item { display: grid; grid-template-columns: 17px 1fr; gap: 11px; position: relative; padding-bottom: 18px; }
.baep-timeline-item > span { z-index: 1; width: 13px; height: 13px; margin-top: 5px; border: 3px solid #cfe3f2; border-radius: 50%; background: var(--baep-blue); }
.baep-timeline-item::before { content: ""; position: absolute; top: 18px; bottom: 0; inset-inline-start: 6px; width: 1px; background: var(--baep-line); }
.baep-timeline-item strong { color: var(--baep-muted); font-size: 12px; }
.baep-timeline-item p { margin: 3px 0 0; }

.baep-app[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }
.baep-app[dir="rtl"] .baep-language-switcher { justify-content: flex-start; }
.baep-app[dir="rtl"] .baep-button { margin: 5px 0 5px 8px; }

@media (max-width: 780px) {
  .baep-app { margin: 15px auto; font-size: 15px; }
  .baep-hero { grid-template-columns: 1fr; padding: 34px 25px; text-align: center; }
  .baep-brand-mark { width: 76px; height: 76px; margin: 0 auto; font-size: 45px; }
  .baep-service-grid, .baep-how-grid, .baep-choice-grid, .baep-fields-2, .baep-order-summary { grid-template-columns: 1fr; }
  .baep-how { padding: 28px 17px; }
  .baep-order-panel { padding: 24px 17px; }
  .baep-order-heading { align-items: flex-start; flex-direction: column; }
  .baep-button { width: 100%; margin-inline: 0; }
}

