/* Reloship UI — site-wide product layer */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --rs-navy: #071422;
  --rs-ink: #0b1f33;
  --rs-blue: #1f79ec;
  --rs-blue-2: #3d8dff;
  --rs-cyan: #5eead4;
  --rs-paper: #f4f7fb;
  --rs-card: #ffffff;
  --rs-line: rgba(15, 40, 70, 0.08);
  --rs-shadow: 0 18px 50px -24px rgba(7, 20, 34, 0.35);
  --rs-radius: 22px;
}

html { scroll-behavior: smooth; }

body.min-h-screen {
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(31, 121, 236, 0.08), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(94, 234, 212, 0.08), transparent 50%),
    var(--rs-paper);
  color: #132033;
}

header.bg-white.sticky {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--rs-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

header .bg-gray-50.border-b {
  background: transparent !important;
}

header nav a,
header .text-gray-600 {
  letter-spacing: -0.01em;
}

#mobile-menu .bg-white {
  background: rgba(255, 255, 255, 0.96) !important;
}

.rs-btn,
a[href*="devis"].hidden.sm\:inline-flex,
a[href*="devis"].flex.items-center.justify-center.w-full {
  border-radius: 999px !important;
  background: linear-gradient(180deg, #2b86f5, #1a6fe0) !important;
  box-shadow: 0 8px 20px -8px rgba(31, 121, 236, 0.8);
}

.rs-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 121, 236, 0.22);
  background: rgba(31, 121, 236, 0.06);
  color: #0b3f86;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 0.95rem;
  transition: 0.2s ease;
  white-space: nowrap;
}
.rs-btn-ghost:hover {
  background: #0b3f86;
  color: #fff;
  border-color: #0b3f86;
}

.rs-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(31, 121, 236, 0.1);
  color: #0b3f86;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rs-chip-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: rs-pulse 1.8s ease-in-out infinite;
}

@keyframes rs-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.rs-portal-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, #071422 0%, #0c2a4d 48%, #124a86 100%);
  color: #fff;
}
.rs-portal-band::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 420px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.28), transparent 62%);
  pointer-events: none;
}
.rs-portal-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .rs-portal-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.rs-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.rs-feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  backdrop-filter: blur(8px);
}
.rs-feature strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}
.rs-feature span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  line-height: 1.45;
}

.rs-device {
  background: linear-gradient(180deg, #10243c, #0a1829);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: var(--rs-shadow), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}
.rs-device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
}
.rs-device-body { padding: 1.1rem 1.15rem 1.25rem; }
.rs-track-row {
  display: flex;
  gap: 0.85rem;
  padding: 0.7rem 0;
}
.rs-track-rail {
  width: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rs-track-node {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #1f79ec;
  box-shadow: 0 0 0 4px rgba(31, 121, 236, 0.18);
}
.rs-track-node.done { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.16); }
.rs-track-node.wait { background: rgba(255,255,255,0.25); box-shadow: none; }
.rs-track-line {
  width: 2px;
  flex: 1;
  background: rgba(255,255,255,0.12);
  margin: 4px 0;
}
.rs-track-copy small {
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rs-track-copy p {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.rs-hero-search {
  border-radius: 22px !important;
  box-shadow: 0 30px 60px -32px rgba(0,0,0,0.55) !important;
  border: 1px solid rgba(255,255,255,0.5);
}

img.w-full.h-full.object-cover {
  transition: transform 0.7s ease;
}
.relative.rounded-lg:hover img.object-cover,
.relative.rounded-xl:hover img.object-cover {
  transform: scale(1.03);
}

footer.bg-white.border-t {
  background: #071422 !important;
  border-top: 0 !important;
  color: rgba(255,255,255,0.78);
}
footer .bg-gray-50,
footer .bg-white.border-t {
  background: transparent !important;
}
footer h3,
footer p,
footer a,
footer span {
  color: rgba(255,255,255,0.78) !important;
}
footer h3 { color: #fff !important; letter-spacing: 0.08em; }
footer a:hover { color: #fff !important; }
footer .border-gray-200 { border-color: rgba(255,255,255,0.1) !important; }
footer img { filter: brightness(0) invert(1); }
footer a.rs-social {
  width: 2.75rem;
  height: 2.75rem;
  background: #ffffff !important;
  border: 2px solid #ffffff !important;
  color: #071422 !important;
  border-radius: 0.6rem;
}
footer a.rs-social:hover {
  background: #e8f1ff !important;
  color: #071422 !important;
}
footer a.rs-social svg,
footer a.rs-social path {
  color: #071422 !important;
  fill: #071422 !important;
  stroke: none !important;
}

.rs-page-hero {
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(31,121,236,0.28), transparent 55%),
    linear-gradient(160deg, #071422, #0e3a76 70%);
  color: #fff;
}
.rs-card {
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius);
  box-shadow: var(--rs-shadow);
}

@media (max-width: 640px) {
  .rs-feature-grid { grid-template-columns: 1fr; }
  .rs-btn-ghost { padding: 0.5rem 0.75rem; font-size: 0.72rem; }
}

.rs-app .rounded-lg.bg-white.border,
.rs-app .rounded-xl.bg-white.border {
  border-radius: 20px;
  box-shadow: 0 10px 30px -22px rgba(7, 20, 34, 0.35);
}
.rs-app a.bg-\[\#1f79ec\],
.rs-app button.bg-\[\#1f79ec\] {
  border-radius: 999px;
}

.rs-certs {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.rs-certs-label {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55) !important;
  text-align: center;
}
.rs-certs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}
footer a.rs-cert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.45rem 0.85rem;
  background: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 0.75rem;
  color: #071422 !important;
}
footer a.rs-cert:hover {
  background: #f3f7ff !important;
  color: #071422 !important;
}
footer .rs-certs img,
footer a.rs-cert img {
  filter: none !important;
  display: block;
  margin: 0 auto;
  height: 2.5rem;
  width: auto;
  max-width: 7.25rem;
  max-height: 2.5rem;
  object-fit: contain;
  object-position: center;
}
footer a.rs-cert {
  width: 8.5rem;
  min-height: 3.6rem;
  box-sizing: border-box;
}

/* Homepage / shared accreditation row */
.rs-accred-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 54rem;
  margin: 0 auto;
  align-items: stretch;
}
a.rs-accred-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.6rem;
  padding: 0.7rem 0.9rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  text-align: left;
}
a.rs-accred-card:hover {
  background: #fff;
  border-color: #1f79ec;
}
.rs-accred-logo {
  width: 6.75rem;
  height: 3rem;
  flex: 0 0 6.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rs-accred-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.rs-accred-copy {
  min-width: 0;
  text-align: left;
}
@media (max-width: 768px) {
  .rs-accred-row {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}

/* Google reviews carousel */
.gr-block { width: 100%; }
.gr-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.gr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b3f86;
  margin-bottom: 0.55rem;
}
.gr-gicon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
}
.gr-gicon svg { width: 100%; height: 100%; display: block; }
.gr-gicon.sm { width: 1.05rem; height: 1.05rem; }
.gr-title {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.gr-sub {
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #6b7280;
}
.gr-score {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--rs-line, #e5e7eb);
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 10px 28px -22px rgba(7, 20, 34, 0.4);
}
.gr-score-num {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.04em;
  line-height: 1;
}
.gr-stars { display: inline-flex; align-items: center; gap: 2px; }
.gr-star { width: 16px; height: 16px; color: #e5e7eb; display: inline-flex; }
.gr-star svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.gr-star.on { color: #fbbc05; }
.gr-star.half { color: #fbbc05; opacity: 0.45; }
.gr-stars-lg .gr-star { width: 18px; height: 18px; }
.gr-see {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
}
.gr-see:hover { text-decoration: underline; }
.gr-see svg { width: 13px; height: 13px; }
.gr-viewport { position: relative; }
.gr-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.15rem 0.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gr-track::-webkit-scrollbar { display: none; }
.gr-card {
  flex: 0 0 min(100%, 22.5rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rs-line, #e5e7eb);
  border-radius: 18px;
  padding: 1.25rem 1.3rem 1.15rem;
  min-height: 17.5rem;
  box-shadow: 0 14px 36px -28px rgba(7, 20, 34, 0.45);
}
@media (min-width: 768px) {
  .gr-card { flex-basis: calc(50% - 0.5rem); }
}
@media (min-width: 1100px) {
  .gr-card { flex-basis: calc(33.333% - 0.7rem); }
}
.gr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.gr-quote {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1f2937;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}
.gr-card-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid #f3f4f6;
}
.gr-av {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gr-name { font-size: 0.9rem; font-weight: 700; color: #111827; }
.gr-meta { font-size: 0.72rem; color: #6b7280; margin-top: 0.1rem; }
.gr-posted { font-size: 0.68rem; color: #9ca3af; margin-top: 0.15rem; font-weight: 600; }
.gr-nav {
  display: none;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 20px -12px rgba(7, 20, 34, 0.45);
}
.gr-nav svg { width: 1.1rem; height: 1.1rem; }
.gr-nav:hover { background: #f8fafc; color: #1d4ed8; }
.gr-prev { left: -0.4rem; }
.gr-next { right: -0.4rem; }
@media (min-width: 768px) {
  .gr-nav { display: inline-flex; }
  .gr-track { padding-left: 0.15rem; padding-right: 0.15rem; }
}
.gr-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.gr-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #d1d5db;
  cursor: pointer;
}
.gr-dot.is-on { background: #1d4ed8; width: 1.15rem; }
@media (max-width: 640px) {
  .gr-score { width: 100%; }
  .gr-card { min-height: 0; flex-basis: 88%; }
  .gr-title { font-size: 1.35rem; }
}

[dir="rtl"] .gr-prev { left: auto; right: -0.4rem; }
[dir="rtl"] .gr-next { right: auto; left: -0.4rem; }
[dir="rtl"] .gr-prev svg { transform: scaleX(-1); }
[dir="rtl"] .gr-next svg { transform: scaleX(-1); }

/* ===== Premium product layer (2026-08-23) ===== */
.rs-seg {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #eef3f9;
  border: 1px solid rgba(15, 40, 70, 0.08);
  border-radius: 999px;
}
.rs-seg-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #4b5b70 !important;
  text-decoration: none !important;
}
.rs-seg-item:hover { color: #0b1f33 !important; }
.rs-seg-item.is-on {
  background: #fff;
  color: #0b1f33 !important;
  box-shadow: 0 4px 12px -6px rgba(7, 20, 34, 0.35);
}

header nav a {
  font-weight: 600;
}
header .group .absolute.top-full {
  border-radius: 18px !important;
  box-shadow: 0 22px 50px -24px rgba(7, 20, 34, 0.45) !important;
  border-color: rgba(15, 40, 70, 0.1) !important;
  overflow: hidden;
}

/* Inner-page photo heroes */
.rs-app section.relative.bg-gray-50 > .relative.max-w-\[1400px\] > .relative.rounded-xl.border.overflow-hidden[style*="background-image"],
.rs-app section.relative.bg-gray-50 .relative.rounded-xl.border.overflow-hidden[style*="background-image"] {
  min-height: 20rem;
  border: 0 !important;
  border-radius: 1.6rem !important;
  box-shadow: 0 30px 70px -40px rgba(7, 20, 34, 0.55);
}
@media (min-width: 768px) {
  .rs-app section.relative.bg-gray-50 .relative.rounded-xl.border.overflow-hidden[style*="background-image"] {
    min-height: 24rem;
  }
}
.rs-app section.relative.bg-gray-50 .relative.rounded-xl.border.overflow-hidden[style*="background-image"] > .absolute.inset-0 {
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.55) 0%, rgba(7, 20, 34, 0.42) 45%, rgba(14, 58, 117, 0.55) 100%) !important;
}

.rs-photo {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  min-height: 16.5rem;
  aspect-ratio: 4 / 3;
  background: #dbe4ef;
  box-shadow: 0 18px 40px -28px rgba(7, 20, 34, 0.45);
}
.rs-photo img.rs-photo-img,
.rs-photo > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rs-photo-mark {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  height: 2.15rem;
  width: auto;
  max-width: 8.5rem;
  object-fit: contain;
  background: #fff;
  padding: 0.35rem 0.6rem;
  border-radius: 0.65rem;
  box-shadow: 0 10px 24px -14px rgba(7, 20, 34, 0.5);
  z-index: 2;
}

.rs-app h1 {
  letter-spacing: -0.035em;
}
.rs-app h2, .rs-app h3 {
  letter-spacing: -0.025em;
}

.rs-app a.bg-\[\#1f79ec\],
.rs-app a.bg-\[\#0e3a76\],
.rs-app button.bg-\[\#1f79ec\],
.rs-app button[type="submit"] {
  border-radius: 999px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.rs-app a.bg-\[\#1f79ec\]:hover,
.rs-app button.bg-\[\#1f79ec\]:hover,
.rs-app button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -14px rgba(31, 121, 236, 0.9);
}

.rs-app .bg-white.rounded-lg.border,
.rs-app .bg-white.rounded-xl.border,
.rs-app .bg-white.rounded-2xl.border {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rs-app .bg-white.rounded-2xl.border:hover,
.rs-app .bg-white.rounded-xl.border:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 121, 236, 0.28);
  box-shadow: 0 18px 40px -28px rgba(7, 20, 34, 0.4);
}

/* Empty leftover badge rows on service cards */
.rs-app .group .flex.items-start.justify-between.mb-6:not(:has(img)):not(:has(span)):not(:has(svg)) {
  display: none;
}

.rs-app input[type="text"],
.rs-app input[type="email"],
.rs-app input[type="tel"],
.rs-app input[type="number"],
.rs-app select,
.rs-app textarea {
  border-radius: 0.85rem !important;
  border-color: #d7e0ea !important;
  background: #fbfcfe;
}
.rs-app input:focus,
.rs-app select:focus,
.rs-app textarea:focus {
  outline: none;
  border-color: #1f79ec !important;
  box-shadow: 0 0 0 4px rgba(31, 121, 236, 0.12);
  background: #fff;
}

.rs-mobile-cta {
  display: none;
  position: fixed;
  left: 1rem;
  bottom: 1.15rem;
  z-index: 45;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #2b86f5, #1a6fe0);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 14px 30px -12px rgba(31, 121, 236, 0.85);
}
.rs-mobile-cta svg { width: 1rem; height: 1rem; }
@media (max-width: 1023px) {
  .rs-mobile-cta { display: inline-flex; }
  body.rs-app { padding-bottom: 5.25rem; }
}

footer img[alt="Reloship"] {
  filter: brightness(0) invert(1) !important;
  opacity: 0.95;
}

@media (max-width: 640px) {
  .rs-photo { min-height: 14rem; }
  .rs-app h1 { font-size: 1.85rem !important; line-height: 1.15 !important; }
}
