/* ==========================================================
   Apni Return — UI (mobile-first, screenshots ke anusaar)
   ========================================================== */
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --ink: #17233f;
  --ink-2: #5b6b8c;
  --line: #e8edf5;
  --primary: #2f6df6;
  --primary-dark: #1d4ed8;
  --brand-green: #57b41e;
  --radius: 18px;
  --shadow: 0 2px 14px rgba(23, 35, 63, .06);
  --shadow-lg: 0 8px 30px rgba(23, 35, 63, .10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5; 
}
a { color: inherit; }
img { max-width: 100%; }

.app { min-height: 100vh; display: flex; flex-direction: column; }
.main {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 16px calc(90px + env(safe-area-inset-bottom));
  flex: 1;
}

/* ---------- Mobile top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 251, .92);
  backdrop-filter: blur(10px);
  padding-top: env(safe-area-inset-top);
}
.topbar-inner {
  max-width: 480px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
}
.brand-logo { height: 42px; width: auto; display: block; }
.page-title { font-size: 17px; font-weight: 800; flex: 1; text-align: center; }
.back-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); text-decoration: none;
}
.top-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  border: none; background: #fff; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); cursor: pointer;
}
.icon-btn .dot {
  position: absolute; top: 9px; right: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
}
.avatar-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); text-decoration: none;
}

/* ---------- Desktop nav (mobile par hidden) ---------- */
.desknav, .deskfooter, .desk-only, .hero { display: none; }

/* ---------- Sections & cards ---------- */
.section { margin-top: 22px; }
.section-title { font-size: 16.5px; font-weight: 800; margin-bottom: 12px; }
.sub-title { font-size: 14px; font-weight: 800; color: var(--ink-2); margin: 16px 0 10px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-head .section-title { margin: 0; }
.view-all {
  color: var(--primary); font-weight: 800; font-size: 13px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin-top: 14px;
  text-decoration: none; display: block; color: inherit;
}

/* ---------- Service tiles (screenshot grid) ---------- */
.tile-grid { display: grid; gap: 12px; }
.tile-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; text-align: center; min-height: 44px;
}
.tile-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tile-icon svg { width: 28px; height: 28px; }
.tile-icon.big { width: 64px; height: 64px; border-radius: 18px; }
.tile-icon.big svg { width: 34px; height: 34px; }
.tile-icon.c-orange { background: #ffe3c2; color: #e97d0c; }
.tile-icon.c-blue   { background: #d8e5fd; color: #2f6df6; }
.tile-icon.c-purple { background: #e9dbfc; color: #7c4df0; }
.tile-icon.c-green  { background: #cdf0dd; color: #14a35a; }
.tile-icon.c-red    { background: #fad7d7; color: #e53e3e; }
.tile-icon.c-gray   { background: #e2e7ef; color: #5b6b80; }
.tile-label {
  font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--ink);
}

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.why-item {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.why-item .tile-icon { width: 44px; height: 44px; border-radius: 12px; }
.why-item strong { display: block; font-size: 11.5px; }
.why-item small { font-size: 10.5px; color: var(--ink-2); }

/* ---------- Help card ---------- */
.help-card {
  margin-top: 22px;
  background: linear-gradient(120deg, #c1cadb, #f3f9ff);
  border-radius: var(--radius);
  padding: 18px; display: flex; align-items: center; gap: 10px;
  overflow: hidden; position: relative;
}
.help-text h3 { font-size: 17px; font-weight: 900; line-height: 1.3; }
.help-text h1 { font-size: 20px; font-weight: 900; }
.help-text p { color: var(--ink-2); font-size: 12.5px; margin: 8px 0 14px; }
.help-art { width: 120px; margin-left: auto; flex-shrink: 0; align-self: flex-end; border-radius: 16px; }
.support-hero { display: flex; align-items: center; gap: 8px; background: linear-gradient(120deg, #eaf1fe, #f3f9ff); }
.support-hero .help-art { width: 130px; }
.mobile-managed-by { margin-top: 20px; text-align: center; font-size: 14px; font-weight: 900; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 14px; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 14.5px;
  padding: 14px 20px; text-decoration: none; min-height: 44px;
  transition: transform .1s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 6px 16px rgba(47, 109, 246, .35); }
.btn-ghost { background: #eef2f9; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 13px; min-height: 40px; }
.btn-block { width: 100%; }

/* ---------- Search ---------- */
.page-actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.search-wrap { margin-top: 4px; }
.search-box {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 0 14px; color: var(--ink-2);
}
.search-box input {
  border: none; outline: none; font-family: inherit; font-size: 14px;
  padding: 14px 0; flex: 1; background: transparent; color: var(--ink);
}

/* ---------- Service detail ---------- */
.svc-hero-head { display: flex; gap: 14px; align-items: center; }
.svc-name { font-size: 19px; font-weight: 900; }
.svc-blurb { color: var(--ink-2); font-size: 12.5px; margin-top: 3px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 800; padding: 7px 12px; border-radius: 999px;
}
.badge.b-green { background: #e5f8ee; color: #14803f; }
.badge.b-blue { background: #e7effe; color: #1d4ed8; }
.badge.b-yellow { background: #fff6e0; color: #b45309; }

.cat2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat2-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 14px; display: flex; align-items: center; gap: 12px;
  text-decoration: none; border: 2px solid transparent;
}
.cat2-card.on { border-color: var(--primary); }
.cat2-card strong { display: block; font-size: 13.5px; }
.cat2-card small { color: var(--ink-2); font-size: 11px; line-height: 1.3; display: block; margin-top: 2px; }
button.cat2-card { width: 100%; font: inherit; text-align: left; cursor: pointer; }

.yr-pills { display: flex; gap: 10px; }
.yr-pill {
  flex: 1; padding: 12px 8px; border-radius: var(--radius); border: 2px solid transparent;
  background: var(--card); box-shadow: var(--shadow); font-weight: 800; font-size: 13.5px;
  cursor: pointer; color: var(--ink-2);
}
.yr-pill.on { border-color: var(--primary); color: var(--primary-dark); }

.price-card { display: flex; align-items: center; justify-content: space-between; }
.price-card small { color: var(--ink-2); font-weight: 700; }
.price { font-size: 26px; font-weight: 900; color: var(--primary-dark); }

.steps-card h3 { font-size: 15px; margin-bottom: 12px; }
.steps { list-style: none; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
.steps li span {
  width: 28px; height: 28px; border-radius: 50%; background: #e7effe; color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; flex-shrink: 0;
}

/* ---------- Forms ---------- */
.form .field { margin-bottom: 14px; }
.field label { display: block; font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.field label em { color: #ef4444; font-style: normal; }
.field label small { color: var(--ink-2); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font-family: inherit; font-size: 14px; color: var(--ink);
  background: #fbfcfe; outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: #fff; }
.file-drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 2px dashed #c7d6f5; border-radius: 14px; padding: 20px 12px;
  color: var(--primary); cursor: pointer; text-align: center; background: #f7faff;
}
.file-drop .file-text { font-weight: 800; font-size: 13px; }
.file-drop small { color: var(--ink-2); font-size: 11px; }
.field .file-input, .rep-row .file-input {
  position: absolute; width: 1px; height: 1px; padding: 0; border: 0;
  margin: -1px; overflow: hidden; opacity: 0;
}
.file-list { list-style: none; margin-top: 8px; }
.file-list li {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  background: #f1f5fb; border-radius: 10px; padding: 8px 12px; margin-top: 6px; color: var(--ink-2);
}
.char-count { text-align: right; font-size: 11px; color: var(--ink-2); margin-top: 4px; font-weight: 700; }

/* ---------- Repeatable groups (Partners etc.) ---------- */
.rep-rows .rep-row {
  border: 1px solid #e3e9f5; border-radius: 14px; padding: 12px; margin-bottom: 10px;
  background: #fafcff;
}
.rep-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rep-row-head .rep-title { font-size: 13px; font-weight: 800; color: var(--primary); }
.rep-remove {
  border: none; background: #fee2e2; color: #b91c1c; font-weight: 800; font-size: 11.5px;
  border-radius: 8px; padding: 5px 10px; cursor: pointer;
}
.rep-add { margin-top: 2px; }
.form-note { font-size: 12px; color: var(--ink-2); margin-top: 12px; text-align: center; }
.chip {
  display: inline-block; background: #e7effe; color: var(--primary-dark);
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; margin-bottom: 14px;
}
.form-head { display: flex; align-items: center; gap: 12px; }

/* ---------- Alerts ---------- */
.alert { border-radius: 12px; padding: 12px 14px; font-size: 13px; font-weight: 700; margin-top: 14px; }
.alert-error { background: #fdeaea; color: #b91c1c; }
.alert-ok { background: #e5f8ee; color: #14803f; display: flex; align-items: center; gap: 8px; }

/* ---------- Payment ---------- */
.pay-summary > div {
  display: flex; justify-content: space-between; padding: 9px 0;
  border-bottom: 1px dashed var(--line); font-size: 13.5px;
}
.pay-summary > div:last-child { border: none; }
.pay-summary span { color: var(--ink-2); font-weight: 700; }
.pay-total strong { font-size: 20px; color: var(--primary-dark); }
.paid { color: #14803f; }
.pay-methods { margin-top: 16px; }
.pay-method {
  display: flex; align-items: center; gap: 12px; background: #fbfcfe;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; cursor: pointer;
}
.pay-method:has(input:checked) { border-color: var(--primary); background: #f0f6ff; }
.pay-method input { accent-color: var(--primary); width: 18px; height: 18px; }
.pay-method strong { display: block; font-size: 14px; }
.pay-method small { color: var(--ink-2); font-size: 11.5px; }

/* Terms & Conditions acceptance checkbox */
.terms-check {
  display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px;
  font-size: 12.5px; color: var(--ink-2); line-height: 1.5; cursor: pointer;
}
.terms-check input { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.terms-check a { color: var(--primary); font-weight: 700; }

/* Terms page list */
.terms-list { margin: 0; padding-left: 18px; }
.terms-list li { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 8px; }
.terms-list li:last-child { margin-bottom: 0; }

/* ---------- Homepage banner slider ---------- */
.banner-slider { overflow: hidden; border-radius: 18px; }
.banner-track { display: flex; transition: transform .5s ease; }
.banner-slide { flex: 0 0 100%; padding: 0 4px; box-sizing: border-box; }
.banner-slide img { width: 100%; aspect-ratio: 16/7; object-fit: fill; border-radius: 16px; display: block; }
@media (min-width: 1024px) {
  .banner-slide { flex: 0 0 50%; }
}

/* ---------- Success ---------- */
.success-card { text-align: center; }
.success-card h1 { font-size: 20px; font-weight: 900; margin: 12px 0 6px; }
.success-card p { color: var(--ink-2); font-size: 13px; }
.success-icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 6px auto;
  background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(34, 197, 94, .4);
}
.order-id-box {
  background: #f0f6ff; border: 1.5px dashed #b9cffb; border-radius: 14px;
  padding: 14px; margin: 16px 0;
}
.order-id-box small { color: var(--ink-2); font-weight: 700; display: block; }
.order-id-box strong { font-size: 24px; letter-spacing: 1px; color: var(--primary-dark); }
.success-card .btn { margin-top: 10px; }
.success-card .pay-summary { text-align: left; }

/* ---------- Status / timeline ---------- */
.status-pill {
  display: inline-block; background: #e7effe; color: var(--primary-dark);
  font-weight: 800; font-size: 12px; padding: 8px 14px; border-radius: 999px; margin-top: 10px;
}
.status-pill.sm { padding: 4px 10px; font-size: 11px; margin: 0; }
.status-pill.s-completed { background: #e5f8ee; color: #14803f; }
.timeline { list-style: none; margin-top: 10px; }
.timeline li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.timeline li:last-child { border: none; }
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--primary);
  margin-top: 5px; flex-shrink: 0; box-shadow: 0 0 0 4px #e7effe;
}
.timeline strong { font-size: 13.5px; display: block; }
.timeline small { color: var(--ink-2); font-size: 12px; display: block; }
.tl-date { font-size: 11px !important; }

/* ---------- Request / txn cards ---------- */
.req-card, .txn-card { display: flex; align-items: center; gap: 12px; }
.req-info { flex: 1; min-width: 0; }
.req-info strong { font-size: 13.5px; display: block; }
.req-info small { color: var(--ink-2); font-size: 11.5px; }
.req-right { text-align: right; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.req-right strong { font-size: 14px; }
.req-right small { color: var(--ink-2); font-size: 11px; }
.paid-tag { font-size: 10.5px; font-weight: 900; padding: 2px 8px; border-radius: 999px; }
.paid-tag.ok { background: #e5f8ee; color: #14803f; }
.paid-tag.due { background: #fff6e0; color: #b45309; }
.empty-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; text-align: center; color: var(--ink-2); font-weight: 700; margin-top: 14px;
}

/* ---------- Support ---------- */
.topic-list { display: flex; flex-direction: column; gap: 10px; }
.topic-row {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px;
  text-decoration: none;
}
.topic-row div { flex: 1; }
.topic-row strong { font-size: 13.5px; display: block; }
.topic-row small { color: var(--ink-2); font-size: 11.5px; }
.topic-row svg:last-child { color: var(--ink-2); }

/* ---------- Documents list ---------- */
.doc-list { list-style: none; margin-top: 8px; }
.doc-list li {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-bottom: 1px dashed var(--line); color: var(--ink-2);
}
.doc-list li:last-child { border: none; }
.doc-list strong { font-size: 13px; color: var(--ink); display: block; }
.doc-list small { font-size: 11.5px; }

/* ---------- Bottom tab bar (mobile) ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; box-shadow: 0 -4px 20px rgba(23, 35, 63, .08);
  display: flex; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; color: var(--ink-2); font-size: 10.5px; font-weight: 800;
  padding: 6px 0; min-height: 44px; justify-content: center;
}
.tab.on { color: var(--primary); }
.tab.on svg { background: #e7effe; border-radius: 999px; padding: 6px; width: 34px; height: 34px; }

/* ---------- Admin ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.stat { margin-top: 0; text-align: center; }
.stat small { color: var(--ink-2); font-weight: 700; }
.stat strong { font-size: 24px; font-weight: 900; display: block; margin-top: 4px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; padding: 10px 8px; color: var(--ink-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; }
.table td { padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.row-off { opacity: .45; }
.grid-2 { display: grid; gap: 14px; }
.kv > div { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.kv > div:last-child { border: none; }
.kv small { color: var(--ink-2); font-weight: 700; display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .3px; }
.kv span { font-size: 13.5px; font-weight: 700; }
.announce {
  background: linear-gradient(90deg, var(--primary), var(--brand-green));
  color: #fff; text-align: center; font-weight: 800; font-size: 13px; padding: 9px 14px;
}

/* ==========================================================
   DESKTOP (>= 1024px)
   ========================================================== */
@media (min-width: 1024px) {
  .mobile-managed-by { display: none; }
  .main { max-width: 1100px; padding-bottom: 60px; }
  .tabbar { display: none; }
  .topbar { display: none; }
  .desk-only { display: block; }

  .desknav {
    display: block; position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
  }
  .desknav-inner {
    max-width: 1100px; margin: 0 auto; padding: 12px 16px;
    display: flex; align-items: center; gap: 28px;
  }
  .desknav .brand img { height: 46px; }
  .desknav-links { display: flex; gap: 4px; margin-left: auto; }
  .desknav-links a {
    text-decoration: none; font-weight: 800; font-size: 14px; color: var(--ink-2);
    padding: 10px 14px; border-radius: 10px;
  }
  .desknav-links a.on, .desknav-links a:hover { color: var(--primary); background: #eef4ff; }

  .hero {
    display: block;
    background: linear-gradient(120deg, #0f2350 0%, #1d4ed8 55%, #2f6df6 100%);
    border-radius: 28px; margin-top: 22px; overflow: hidden;
  }
  .hero-inner {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px;
    padding: 56px; align-items: center; color: #fff;
  }
  .hero-text h1 { font-size: 44px; font-weight: 900; line-height: 1.15; }
  .hero-text .grad {
    background: linear-gradient(90deg, #7ddb3a, #b6f26d);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-text p { margin: 18px 0 24px; font-size: 16px; color: #d5e2fb; max-width: 480px; }
  .hero-cta { display: flex; gap: 12px; }
  .hero-cta .btn-ghost { background: rgba(255,255,255,.14); color: #fff; }
  .hero-stats { display: flex; gap: 34px; margin-top: 34px; }
  .hero-stats strong { font-size: 24px; font-weight: 900; display: block; }
  .hero-stats span { color: #b9ccf2; font-size: 13px; font-weight: 700; }
  .hero-art { background: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); }

  .tile-grid.cols-4 { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .tile-icon { width: 64px; height: 64px; border-radius: 18px; }
  .tile-label { font-size: 12.5px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .why-item { flex-direction: row; text-align: left; padding: 18px; }
  .why-item strong { font-size: 13.5px; }
  .why-item small { font-size: 12px; }
  .cat2-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cat-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 24px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
  }
  .cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .cat-card h3 { margin: 12px 0 6px; font-size: 17px; }
  .cat-card p { color: var(--ink-2); font-size: 13px; }

  .help-card { padding: 30px; }
  .help-text h3, .help-text h1 { font-size: 24px; }
  .help-text p { font-size: 14px; }
  .help-art, .support-hero .help-art { width: 180px; }

  .grid-2 { grid-template-columns: 1fr 1fr; }
  .deskfooter { display: block; background: #0f2350; color: #c7d6f5; margin-top: 50px; }
  .deskfooter-inner {
    max-width: 1100px; margin: 0 auto; padding: 44px 16px 20px;
    display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  }
  .footer-logo { width: 190px; background: #fff; border-radius: 14px; padding: 8px 14px; }
  .deskfooter p { margin-top: 12px; font-size: 13px; }
  .footer-business-details { max-width: 360px; line-height: 1.7; }
  .footer-cols { display: flex; gap: 60px; }
  .footer-cols h4 { color: #fff; margin-bottom: 10px; }
  .footer-cols a { display: block; color: #c7d6f5; text-decoration: none; font-size: 13.5px; padding: 4px 0; font-weight: 700; }
  .footer-cols a:hover { color: #fff; }
  .copyright { text-align: center; padding: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; }

  .card { padding: 24px; }
  .section-title { font-size: 20px; }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 1023px) {
  .main { max-width: 640px; }
  .tile-grid.cols-4 { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 380px) {
  .tile-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .tile { min-width: 0; }
  .tile-label { font-size: 10.5px; overflow-wrap: anywhere; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat2-grid { grid-template-columns: minmax(0, 1fr); }
  .cat2-card, .cat2-card > div { min-width: 0; }
  .cat2-card > div { overflow-wrap: anywhere; }
}
