@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #f3f4f6;
  --bg-soft: #eef2ff;
  --card: #ffffff;
  --muted: #667085;
  --line: #e7ebf4;
  --text: #1f2937;
  --soft: #f8fafc;
  --primary: #1d4ed8;
  --primary-2: #1e3a8a;
  --accent: #f59e0b;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  --rrk-bg: var(--bg);
  --rrk-surface: var(--card);
  --rrk-surface-soft: var(--soft);
  --rrk-text: var(--text);
  --rrk-muted: var(--muted);
  --rrk-line: var(--line);
  --rrk-brand: var(--primary);
  --rrk-brand-2: var(--primary);
  --rrk-danger: var(--danger);
  --rrk-shadow: var(--shadow);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top, #f8fafc 0, #f3f4f6 38%, #eef2f7 100%);
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: anywhere;
}

.hidden {
  display: none !important;
}

.rrk-shell,
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0 54px;
}

.rrk-page,
.rrk-stack,
.wa-links,
.message-list,
.activity-list {
  display: grid;
  gap: 14px;
}

.row,
.flex,
.space-between,
.loc-cta,
.chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.space-between {
  justify-content: space-between;
}

.grid,
.grid2,
.grid-2,
.grid-3,
.grid-4,
.stats,
.rrk-grid--two,
.rrk-helper-grid,
.rrk-stats,
.loc-grid {
  display: grid;
  gap: 18px;
}

.grid,
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid2,
.grid-2,
.rrk-grid--two,
.rrk-helper-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4,
.stats,
.rrk-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rrk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.topbar,
.rrk-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.topbar__inner,
.rrk-topbar__inner {
  min-height: 76px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.rrk-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  min-width: 0;
}

.brand__logo,
.rrk-brand__logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  background: #fff url('/assets/logo-placeholder.svg') center / contain no-repeat;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  color: transparent;
  font-size: 0;
  padding: 5px;
}

.brand__logo img,
.rrk-brand__logo-img,
.rrk-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name,
.rrk-brand__name {
  display: block;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__tag,
.rrk-brand__tag {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav,
.rrk-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a,
.rrk-nav__link,
.rrk-nav a {
  position: relative;
  padding: 10px 8px;
  border-radius: 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.nav a:hover,
.rrk-nav__link:hover,
.rrk-nav a:hover {
  background: rgba(2, 6, 23, 0.04);
  color: #0f172a;
  transform: translateY(-1px);
}

.rrk-topbar__cta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.btn,
.rrk-button,
.tab-btn,
.blog-toolbar button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover,
.rrk-button:hover,
.tab-btn:hover,
.blog-toolbar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.16);
}

.btn.primary,
.rrk-button--primary,
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.btn.secondary,
.btn.outline,
.rrk-button--ghost {
  border-color: var(--line);
  background: #fff;
  color: #111827;
  box-shadow: none;
}

.btn.whatsapp {
  background: var(--warning);
  color: #3a2400;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.16);
}

.btn.call,
.btn[data-tel],
.rrk-button[data-tel],
a.btn[href^="tel:"],
a.rrk-button[href^="tel:"] {
  border-color: transparent;
  background: var(--danger);
  color: #fff;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.18);
}

.btn.call:hover,
.btn[data-tel]:hover,
.rrk-button[data-tel]:hover,
a.btn[href^="tel:"]:hover,
a.rrk-button[href^="tel:"]:hover {
  background: #b91c1c;
  color: #fff;
  box-shadow: 0 16px 30px rgba(220, 38, 38, 0.24);
}

.rrk-button__label {
  min-width: 0;
}

.rrk-button__icon,
.btn-icon,
.icon,
.service-icon,
.step-icon,
.why-icon,
.activity-icon,
.loc-search__icon,
.menu-item__icon,
.driver-setup-item__icon,
.settings-resource-icon,
.multi-area__trigger-icon,
.link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.rrk-button__icon,
.btn-icon,
.icon,
.loc-search__icon,
.multi-area__trigger-icon {
  width: 18px;
  height: 18px;
}

.service-icon,
.step-icon,
.why-icon,
.activity-icon,
.menu-item__icon,
.driver-setup-item__icon,
.settings-resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: var(--primary);
}

.rrk-button__icon svg,
.btn > svg,
.btn-icon svg,
.icon svg,
.icon img,
.loc-search__icon svg,
.multi-area__trigger-icon svg,
.chip button svg,
.otp-modal__close svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.service-icon svg,
.service-icon img,
.step-icon svg,
.step-icon img,
.why-icon svg,
.activity-icon svg,
.menu-item__icon svg,
.driver-setup-item__icon svg,
.settings-resource-icon svg,
.link-icon svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.rrk-button__icon svg,
.btn > svg,
.ico,
.loc-search__icon svg,
.activity-icon svg,
.why-icon svg,
.menu-item__icon svg,
.driver-setup-item__icon svg,
.settings-resource-icon svg,
.link-icon svg {
  stroke: currentColor;
  fill: none;
}

.ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  margin-right: 8px;
  vertical-align: -3px;
}

.rrk-card,
.tile,
.card,
.panel,
.legal-card,
.verification-card,
.form-card,
.auth-box,
.loc-card,
.loc-box {
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 24px;
}

.rrk-card--soft,
.glass-panel,
.stat,
.kpi,
.rrk-stat,
.estimate-summary,
.estimate-box {
  background: var(--glass);
  backdrop-filter: blur(14px);
}

.rrk-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rrk-title,
.page-hero h1,
.hero-copy h1 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.rrk-panel-title,
.card h3,
.panel h3,
.loc-card h2,
.loc-box h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.rrk-subtitle,
.rrk-panel-copy,
.lead,
.field-note,
.muted,
.small,
.help,
.loc-card p,
.loc-box p {
  color: var(--muted);
  line-height: 1.7;
}

.rrk-subtitle,
.lead {
  font-size: 15px;
}

.rrk-stat {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
}

.rrk-stat__label,
.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rrk-stat__value,
.stat-value,
.kpi .big,
.price-big,
.estimate-amount {
  margin-top: 8px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.rrk-stat__value--text {
  font-size: 18px;
  line-height: 1.18;
}

.field {
  display: grid;
  gap: 6px;
}

.label,
label {
  display: block;
  margin: 12px 0 6px;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  outline: 0;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(1em + 3px),
    calc(100% - 13px) calc(1em + 3px);
  background-repeat: no-repeat;
  background-size: 5px 5px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9cb5ff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.checkbox-row input {
  width: auto;
  flex: 0 0 auto;
  margin-top: 3px;
}

.partner-map,
.track-map {
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.partner-list,
#partnerList {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.partner-chip,
.item,
.message {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 14px;
}

.partner-chip-head,
.partner-name-row,
.driver-name-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #0f172a;
  font-weight: 700;
}

.rating-summary,
.rating-stars,
.testimonial-stars {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
}

.verified-badge {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  color: var(--primary);
  vertical-align: middle;
}

.verified-badge svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.22));
}

.verified-badge path:first-child {
  fill: var(--primary);
}

.verified-badge .verified-check,
.verified-check {
  fill: #fff;
}

.rating-star,
.feedback-star,
.testimonial-star {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #cbd5e1;
}

.rating-star path,
.feedback-star path,
.testimonial-star path {
  fill: currentColor;
}

.rating-star.active,
.feedback-star.active,
.star-button.is-on svg,
.testimonial-star {
  color: var(--warning);
}

.star-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.star-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #cbd5e1;
}

.star-button svg {
  width: 24px;
  height: 24px;
}

.star-button svg path {
  fill: currentColor;
}

.star-button.is-on {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}

.msg,
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  line-height: 1.45;
}

.msg-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
}

.msg.success,
.notice.success {
  border-color: #d1fae5;
  background: #ecfdf3;
  color: #15803d;
}

.msg.error,
.notice.error {
  border-color: #fee2e2;
  background: #fef2f2;
  color: #b91c1c;
}

.msg.info,
.notice.info {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.estimate-summary,
.estimate-box,
.price-box,
.inline-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  color: #0f172a;
}

.estimate-summary {
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
}

.estimate-meta,
.estimate-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.estimate-meta span,
.partner-chip-badge,
.badge,
.status-pill,
.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary-2);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.chips {
  margin-top: 12px;
}

.badge.assigned,
.badge.in_progress {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
}

.badge.arrived,
.badge.submitted,
.badge.revised,
.badge.approved,
.badge.completed,
.badge.paid {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #047857;
}

.badge.enroute,
.badge.pending_payment,
.badge.revision_requested {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #b45309;
}

.badge.cancelled {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1000;
}

.cookie-banner__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  padding: 14px 16px;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
}

.activity-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-text,
.activity-time {
  color: var(--muted);
  font-size: 14px;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.testimonial-quote {
  margin: 8px 0;
  color: #1f2937;
  line-height: 1.6;
}

.testimonial-name {
  display: block;
  color: #111827;
  font-weight: 700;
}

.testimonial-route,
.testimonial-time {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hover-lift {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.loc-hero {
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: var(--shadow);
  padding: 28px;
}

.loc-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.map-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.table,
.order-form-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.table th,
.table td,
.order-form-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  background: #f8fafc;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.otp-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.otp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.otp-modal__dialog {
  position: relative;
  width: min(520px, calc(100% - 24px));
  margin: 7vh auto 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.2);
  padding: 20px;
}

.otp-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.otp-modal__close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
}

.otp-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.otp-code-input {
  text-align: center;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.footer,
.rrk-footer {
  margin-top: 40px;
  border-top: 0;
  background: #0f172a;
  color: #cbd5e1;
}

.footer__inner,
.rrk-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  padding: 42px 0;
  align-items: start;
}

.footer a,
.rrk-footer a,
.footer__inner,
.rrk-footer__copy,
.rrk-footer__meta,
.rrk-footer__links {
  color: #cbd5e1;
}

.footer a,
.rrk-footer__links a {
  display: block;
  margin: 8px 0;
}

.rrk-footer__actions {
  display: grid;
  gap: 10px;
}

@media (max-width: 980px) {
  .rrk-hero,
  .rrk-grid--two,
  .rrk-helper-grid,
  .grid,
  .grid2,
  .grid-2,
  .grid-3,
  .grid-4,
  .stats,
  .rrk-stats,
  .loc-grid,
  .footer__inner,
  .rrk-footer__grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .rrk-topbar {
    position: static;
  }

  .topbar__inner,
  .rrk-topbar__inner {
    display: grid;
    justify-content: stretch;
  }

  .nav,
  .rrk-nav,
  .rrk-topbar__cta {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .rrk-shell,
  .container {
    width: min(100% - 20px, 1180px);
  }

  .section {
    padding: 30px 0 40px;
  }

  .rrk-card,
  .tile,
  .card,
  .panel,
  .legal-card,
  .verification-card,
  .form-card,
  .auth-box,
  .loc-card,
  .loc-box {
    border-radius: 16px;
    padding: 16px;
  }

  .brand__logo,
  .rrk-brand__logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .btn,
  .rrk-button {
    width: 100%;
  }

  .sticky__inner,
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
}
