:root {
  --primary: #0b1f3a;
  --primary-light: #163761;
  --accent: #e65100;
  --accent-hover: #c64500;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

a {
  color: var(--primary-light);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 98px;
  gap: 1.5rem;
}
.brand {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.brand span {
  color: var(--accent);
}
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo-img {
  height: 76px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
}
.brand-dark .brand-logo-img,
.brand-logo-dark {
  filter: none;
}
.brand-dark {
  color: #ffffff;
}
.header-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.mobile-menu-toggle,
.mobile-menu-title {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
}
.main-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* User menu (login / register) */
.user-menu {
  position: relative;
  display: inline-block;
}
.user-menu-button {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: #94a3b8;
  user-select: none;
}
.user-menu-button::-webkit-details-marker {
  display: none;
}
.user-menu-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}
.user-menu-button:hover,
.user-menu[open] .user-menu-button {
  color: var(--accent);
  border-color: var(--accent);
}
.user-menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 170px;
  padding: 0.35rem 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.user-menu-panel a {
  padding: 0.55rem 0.95rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
}
.user-menu-panel a:hover {
  background: #f1f5f9;
  color: var(--primary);
  text-decoration: none;
}
.user-menu-button.is-authed {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.35);
}
.user-menu-button.is-authed:hover,
.user-menu[open] .user-menu-button.is-authed {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
}
.user-menu-panel.user-menu-panel-right {
  right: 0;
  left: auto;
}
.user-menu-name {
  padding: 0.5rem 0.95rem 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
  white-space: nowrap;
}
.user-menu-panel a.user-menu-logout {
  color: #b91c1c;
  font-weight: 600;
}
.user-menu-panel a.user-menu-logout:hover {
  background: #fee2e2;
  color: #991b1b;
}

.lang-switch {
  position: relative;
  display: inline-block;
  margin-right: 0.5rem;
}
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  user-select: none;
}
.lang-switch summary::-webkit-details-marker {
  display: none;
}
.lang-switch summary::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
  transition: transform 0.2s ease;
}
.lang-switch[open] summary::after {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 170px;
  padding: 0.35rem 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
}
.lang-option:hover {
  background: #f1f5f9;
  text-decoration: none;
  color: var(--primary);
}
.lang-option.active {
  background: #f8fafc;
  color: var(--accent);
  font-weight: 700;
}
.flag {
  font-size: 1.15rem;
  line-height: 1;
}
.flag-img {
  width: 20px;
  height: 13px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-light {
  background: #fff;
  color: var(--primary) !important;
}
.btn-outline {
  border-color: var(--border);
  color: var(--text);
}
.btn-block {
  display: block;
  width: 100%;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d284e 100%);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}
.hero-slide.leaving-right {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15, 32, 61, 0.92) 0%, rgba(13, 40, 78, 0.72) 100%);
}
.hero-with-slider .hero-grid {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin: 0.75rem 0 1.25rem;
  font-weight: 800;
}
.hero-text {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
}
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.tracking-card span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 1px;
}
.tracking-card strong {
  display: block;
  font-size: 1.75rem;
  color: #38bdf8;
  margin: 0.5rem 0;
}
.tracking-card p {
  color: #cbd5e1;
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 3.5rem 0;
}
.page-hero.small {
  padding: 2.5rem 0;
}
.admin-hero {
  background: #0f172a;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--accent);
}

/* Section */
.section {
  padding: 4rem 0;
}
.section-title {
  margin-bottom: 2.5rem;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card .gallery-video {
  width: 100%;
  height: auto;
  max-height: 420px;
  background: #000;
}
.gallery-video {
  width: 100%;
  max-height: 640px;
  background: #000;
  border-radius: var(--radius);
}
/* Home Gallery media (video autoplay + consistent sizing) */
.home-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}
.home-gallery-card .home-gallery-image,
.home-gallery-card .home-gallery-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: #000;
}
@supports not (aspect-ratio: 16 / 9) {
  .home-gallery-card .home-gallery-image,
  .home-gallery-card .home-gallery-video {
    height: 0;
    padding-bottom: 56.25%;
  }
}
@media (max-width: 768px) {
  .home-gallery-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}
.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.card-body p {
  color: var(--muted);
  flex: 1;
  margin-bottom: 1rem;
}

/* Stats band */
.stats-band {
  background: var(--primary-light);
  color: #fff;
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stats-grid strong {
  display: block;
  font-size: 2.25rem;
  color: #fff;
}
.stats-grid span {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* Grids */
.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 3rem;
}
.detail-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.side-cta {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: fit-content;
}
.side-cta h3 {
  margin-bottom: 0.5rem;
}
.side-cta p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.feature-list div {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.feature-list strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Forms */
.form-container {
  max-width: 650px;
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Auth */
.auth-wrapper {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-box {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.auth-box h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.auth-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.auth-note strong {
  color: var(--primary);
  overflow-wrap: anywhere;
}
.otp-input {
  font-size: 1.6rem;
  letter-spacing: 0.5em;
  text-align: center;
  font-weight: 700;
}
.auth-change-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
}

/* Tables */
.table-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
th {
  background: #f1f5f9;
  font-weight: 700;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

/* ============================================================
   LIGHTWEIGHT SCROLL ANIMATIONS (Reveal on scroll)
   ============================================================ */
html {
  scroll-behavior: smooth;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Website services admin */
.website-services-head {
  margin-bottom: 1rem;
}
.admin-service-workspace {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.admin-service-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0.45rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 18px 18px 0 0;
}
.admin-service-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-height: 58px;
  padding: 0.75rem 0.95rem;
  border-radius: 13px;
  color: #64748b;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.admin-service-tab strong {
  color: #334155;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}
.admin-service-tab small {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}
.admin-service-tab:hover {
  background: #f8fafc;
  text-decoration: none;
}
.admin-service-tab.is-active {
  background: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}
.admin-service-tab.is-active strong,
.admin-service-tab.is-active small {
  color: #ffffff;
}
.admin-service-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.45rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}
.admin-service-category {
  scroll-margin-top: 128px;
  display: none;
  padding: 1.35rem 1.5rem 1.5rem;
  margin: 0;
}
.admin-service-category.is-active,
.admin-service-workspace:not([data-tabs-ready]) .admin-service-category:first-of-type {
  display: block;
}
.admin-service-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef2f7;
}
.admin-service-panel-head.with-action {
  align-items: center;
}
.admin-service-panel-head h3 {
  margin: 0.15rem 0 0;
  color: #0b1f3a;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.admin-service-panel-head span {
  display: block;
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.87rem;
}
.admin-service-panel-head .btn {
  flex: 0 0 auto;
}
.admin-service-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.admin-service-two-col .admin-panel,
.admin-service-category .admin-panel {
  min-width: 0;
}
.compact-panel-head {
  padding: 1rem 1.2rem;
}
.admin-service-category .admin-panel {
  background: #fbfcfe;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  box-shadow: none;
}
.admin-service-category .hero-admin-panel {
  padding: 1.15rem 1.2rem;
}

/* Hero admin management */
.hero-admin-panel {
  padding: 1.5rem;
  margin-bottom: 0;
}
.hero-upload-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero-upload-form .form-group {
  flex: 1 1 320px;
  margin-bottom: 0;
}
.hero-upload-actions {
  margin-top: 0;
}
.hero-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.hero-admin-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.hero-admin-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0f172a;
}
.hero-admin-item div {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.hero-admin-item div strong {
  font-size: 0.9rem;
  color: var(--primary);
}
.hero-admin-item div span {
  font-size: 0.75rem;
  color: var(--muted);
  word-break: break-all;
}
.hero-admin-item form {
  padding: 0.6rem 0.85rem 0.85rem;
  border-top: 1px solid var(--border);
}
.hero-admin-empty {
  grid-column: 1 / -1;
  padding: 2rem;
}

.branding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem 1.5rem;
}
.branding-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.branding-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.2rem;
}
.branding-card > p {
  font-size: 0.82rem;
  margin: 0 0 0.85rem;
}
.branding-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
}
.branding-preview-logo img {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  object-fit: contain;
  display: block;
}
.branding-preview-favicon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
}
.branding-empty {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.branding-card .admin-form {
  margin-top: auto;
}
.branding-card .form-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.service-image-preview {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.45rem;
}
.service-image-preview img {
  width: min(320px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0f172a;
}

/* Floating contact widget */
.contact-widget {
  position: fixed;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-widget-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-widget-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
  text-decoration: none;
}
.contact-widget-btn svg {
  width: 27px;
  height: 27px;
}
.contact-widget-btn.whatsapp { background: #25d366; }
.contact-widget-btn.wechat { background: #09b83e; }
.contact-widget-btn.email { background: var(--accent); }
.widget-settings-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
}
.widget-settings-form .form-group {
  margin-bottom: 0;
}
.widget-settings-actions {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}

.contact-map-section {
  padding-top: 0;
}
.contact-map-title {
  margin-bottom: 1.5rem;
}
.contact-map {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #f1f5f9;
  line-height: 0;
}
.contact-map iframe {
  width: 100% !important;
  height: 460px !important;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .contact-map iframe {
    height: 340px !important;
  }
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-processing { background: #e0f2fe; color: #0369a1; }
.badge-completed { background: #dcfce7; color: #166534; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* Admin Nav */
.admin-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-nav a {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text);
}
.admin-nav a:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}
.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* Flash */
.flash-area {
  margin-top: 1rem;
}
.flash {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 500;
}
.flash-success { background: #dcfce7; color: #166534; }
.flash-warning { background: #fef3c7; color: #92400e; }
.flash-danger { background: #fee2e2; color: #991b1b; }

/* Footer */
.site-footer {
  background: var(--primary);
  color: #cbd5e1;
  margin-top: 5rem;
}
.footer-inner {
  padding: 4rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-tagline {
  margin-top: 0.75rem;
  color: #94a3b8;
}
.footer-links h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-links a, .footer-links p {
  display: block;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Admin layout */
.admin-nav {
  flex-wrap: wrap;
}
.admin-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.table-wrap .dashboard-head {
  padding: 1rem 1.2rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn-link {
  border: 0;
  background: transparent;
  color: var(--primary-light);
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.btn-link:hover {
  text-decoration: underline;
}
.danger {
  color: #b91c1c;
}
.form-container.wide {
  max-width: 1140px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.settings-card h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}
.form-actions.full {
  grid-column: 1 / -1;
}

/* Professional Booking Report */
.report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
}
.report-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  transition: transform 0.15s ease;
}
.report-card span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}
.report-card strong {
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 800;
}
.booking-report-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.report-panel {
  overflow-x: auto;
}
.panel-head {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}
.panel-head h3 {
  font-size: 1.15rem;
  color: var(--primary);
}
.report-filter {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.report-filter .form-control {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}
.report-table th, .report-table td {
  padding: 0.8rem 1rem;
  vertical-align: top;
}
.report-table tbody tr:hover {
  background: #f8fafc;
}
.service-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
}
.cargo-cell {
  max-width: 280px;
  word-break: break-word;
  line-height: 1.4;
  font-size: 0.88rem;
}
.status-select {
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
}
.report-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.report-sidebar .settings-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.breakdown-row:last-child {
  border-bottom: none;
}
.muted {
  color: var(--muted);
  font-size: 0.88rem;
}
.mt-2 {
  margin-top: 2rem;
}
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.loading-overlay.show {
  opacity: 1;
  visibility: visible;
}
.loading-card {
  background: var(--surface);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  max-width: 360px;
  box-shadow: var(--shadow);
}
.loading-card h3 {
  margin: 1rem 0 0.4rem;
  color: var(--primary);
}
.loading-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}
.loading-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   ADMIN PANEL (sidebar layout)
   ============================================================ */
.admin-body {
  background: #f1f5f9;
  display: block;
}
.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #14213d 100%);
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-side-brand {
  padding: 1.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-side-brand strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  display: block;
}
.admin-side-brand strong span {
  color: #fb8c00;
}
.admin-side-brand small {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.2rem;
  display: block;
}
.admin-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.75rem;
  flex: 1;
}
.admin-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-menu a span {
  font-size: 1.05rem;
  width: 1.3rem;
  text-align: center;
}
.admin-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
}
.admin-menu a.active {
  background: rgba(230, 81, 0, 0.16);
  color: #ffffff;
  border-left-color: #fb8c00;
  font-weight: 600;
}
.admin-side-foot {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-side-foot a {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
}
.admin-side-foot a:hover {
  color: #ffffff;
}
.admin-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
}
.admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.9rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 40;
  flex-wrap: wrap;
}
.admin-topbar h1 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0;
}
.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
}
.admin-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #e65100;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
}
.admin-avatar.small {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.7rem;
}
.admin-content {
  padding: 1.75rem;
  flex: 1;
  min-width: 0;
}
.admin-content > * {
  min-width: 0;
}

/* Page head */
.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.admin-page-head h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0b1f3a;
  margin: 0.25rem 0 0.35rem;
}
.admin-page-head .muted {
  max-width: 640px;
}

/* Stat cards */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-stat-grid.five-cols {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.admin-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1e293b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.admin-stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}
.admin-stat-card span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
}
.admin-stat-card strong {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0b1f3a;
}
.admin-stat-card small {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.admin-stat-card.orange::before { background: #e65100; }
.admin-stat-card.yellow::before { background: #f59e0b; }
.admin-stat-card.blue::before { background: #0ea5e9; }
.admin-stat-card.green::before { background: #22c55e; }
.admin-stat-card.navy::before { background: #1e3a8a; }
.admin-stat-card.purple::before { background: #8b5cf6; }

/* Dashboard two-column */
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Panels */
.admin-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.admin-panel-head {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-panel-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0;
}
.admin-panel-head p {
  margin: 0.15rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
}
.admin-panel-head > a {
  color: #e65100;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}
.admin-panel-head > a:hover {
  text-decoration: underline;
}
.admin-panel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.admin-panel-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 0.35rem;
}

/* Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.88rem;
  vertical-align: middle;
}
.admin-table th:first-child,
.admin-table td:first-child {
  padding-left: 1.4rem;
}
.admin-table th:last-child,
.admin-table td:last-child {
  padding-right: 1.4rem;
}
.admin-table tbody tr:last-child td {
  border-bottom: none;
}
.admin-table tbody tr:hover {
  background: #f8fafc;
}
.admin-panel > .table-wrap {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.table-wrap .admin-table {
  min-width: 980px;
}
/* Compact tables (dashboard previews) keep a smaller minimum */
.admin-dashboard-grid .table-wrap .admin-table {
  min-width: 520px;
}
.admin-table form {
  margin: 0;
}
.admin-table .actions {
  gap: 0.45rem;
}
.small {
  font-size: 0.78rem;
}
.muted.small {
  font-size: 0.78rem;
}

/* Layout with right sidebar */
.admin-layout-sidebar-right {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}
.admin-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.admin-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Filter bar */
.admin-filter-bar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.admin-filter-bar .form-control {
  width: auto;
  min-width: 150px;
}
.admin-filter-bar input[type="search"] {
  min-width: 240px;
  flex: 1 1 240px;
}
.form-control-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
}
.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
}
.admin-count-pill {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

/* Chips & pills */
.service-chip {
  display: inline-block;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.cargo-box {
  max-width: 320px;
}
.cargo-desc {
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0 0 0.4rem;
  word-break: break-word;
}
.file-download-chip {
  display: inline-block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 0.3rem;
}
.file-download-chip:hover {
  background: #dcfce7;
  text-decoration: none;
}
.contact-link {
  color: #0891b2;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
}
.media-type-chip {
  display: inline-block;
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.3rem;
}
.media-type-chip.video { background: #fee2e2; color: #991b1b; }
.media-type-chip.image { background: #e0f2fe; color: #0369a1; }
.tagline-preview {
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.4;
}
.role-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
}
.role-badge.admin { background: #fef3c7; color: #92400e; }
.role-badge.user { background: #e0f2fe; color: #0369a1; }
.user-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Status select */
.status-select {
  padding: 0.35rem 0.5rem;
  font-size: 0.78rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}
.status-pending { border-color: #f59e0b; color: #92400e; background: #fffbeb; }
.status-processing { border-color: #0ea5e9; color: #0369a1; background: #f0f9ff; }
.status-completed { border-color: #22c55e; color: #166534; background: #f0fdf4; }
.status-cancelled { border-color: #ef4444; color: #991b1b; background: #fef2f2; }

/* Action buttons */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  min-height: 30px;
}
.btn-action.edit {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.btn-action.edit:hover {
  background: #dbeafe;
  text-decoration: none;
}
.btn-action.delete {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.btn-action.delete:hover {
  background: #fee2e2;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.empty-state span {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.empty-state h4 {
  color: #334155;
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
}
.empty-state p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
}

/* Forms */
.admin-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  max-width: 860px;
}
.admin-form .form-group label {
  color: #334155;
}
.admin-form .form-group small {
  display: block;
  color: #94a3b8;
  margin-top: 0.35rem;
  font-size: 0.78rem;
}
.form-section-divider {
  margin: 1.25rem 0;
  padding-top: 1.25rem;
  border-top: 1px dashed #e2e8f0;
}
.form-section-divider h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0 0 0.2rem;
}
.form-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}
.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.form-actions-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}

/* Settings layout */
.admin-settings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.admin-settings-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.admin-settings-card.full-width {
  grid-column: 1 / -1;
}
.card-header-icon {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef2f7;
}
.icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: #f1f5f9;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.card-header-icon h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0;
}
.card-header-icon p {
  margin: 0.2rem 0 0;
}
.three-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Breakdown list */
.breakdown-list {
  margin-top: 0.5rem;
}
.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.85rem;
}
.breakdown-item:last-child {
  border-bottom: none;
}
.breakdown-item span {
  color: #475569;
}
.breakdown-item strong {
  color: #0b1f3a;
}
.guide-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.guide-list li {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.5;
}
.guide-list li strong {
  color: #0b1f3a;
}

.admin-panel-body {
  padding: 1.4rem;
}
.hs-checker-shell {
  display: grid;
  gap: 1.4rem;
}
.hs-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}
.hs-card-clean {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.hs-card-head {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #eef2f7;
}
.hs-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hs-form-panel textarea {
  min-height: 220px;
  resize: vertical;
}
.hs-form-panel,
.hs-result-panel {
  width: 100%;
}
.hs-upload-box small {
  display: block;
  margin-top: 0.45rem;
  color: #64748b;
  line-height: 1.45;
}
.hs-preview-card {
  display: grid;
  gap: 1rem;
}
.hs-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 70%);
}
.hs-preview-top h4 {
  margin: 0.45rem 0 0.25rem;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 850;
}
.hs-preview-top p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}
.hs-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 800;
}
.hs-main-code {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hs-preview-grid,
.hs-item-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.hs-preview-grid div,
.hs-item-meta div {
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #f8fafc;
}
.hs-preview-grid span,
.hs-item-meta span,
.hs-history-code span,
.hs-history-tax span,
.hs-preview-note span,
.hs-item-lartas span {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hs-preview-grid strong,
.hs-item-meta strong,
.hs-history-code strong,
.hs-history-tax strong {
  display: block;
  margin-top: 0.25rem;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.25;
  word-break: break-word;
}
.hs-preview-note,
.hs-item-lartas {
  padding: 0.9rem 1rem;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
}
.hs-preview-note p,
.hs-item-lartas p {
  margin: 0.35rem 0 0;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.55;
}
.hs-item-lartas small {
  display: block;
  margin-top: 0.45rem;
  color: #64748b;
  line-height: 1.45;
}
.hs-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.hs-item-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0;
}
.hs-preview-items {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}
.hs-preview-section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed #cbd5e1;
}
.hs-preview-section-title span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hs-preview-section-title strong {
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 800;
}
.hs-item-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.hs-item-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
}
.hs-item-card-head span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hs-item-card-head h4 {
  margin: 0.25rem 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 850;
}
.hs-item-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
}
.hs-item-card-head > strong {
  flex: 0 0 auto;
  height: fit-content;
  padding: 0.5rem 0.65rem;
  border-radius: 11px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.9rem;
  white-space: nowrap;
}
.hs-insw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}
.hs-insw-button:hover {
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}
.hs-history-list {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}
.hs-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.6fr) minmax(180px, 0.8fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
}
.hs-history-main small {
  color: #94a3b8;
  font-size: 0.76rem;
}
.hs-history-main h4 {
  margin: 0.2rem 0;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 850;
}
.hs-history-main p {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
}
.hs-history-tax {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.55rem;
  align-items: center;
}
.hs-history-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}
.hs-empty-state {
  min-height: 270px;
}

/* Responsive admin */
@media (max-width: 1024px) {
  .admin-stat-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-stat-grid.five-cols { grid-template-columns: repeat(3, 1fr); }
  .admin-dashboard-grid { grid-template-columns: 1fr; }
  .admin-layout-sidebar-right { grid-template-columns: 1fr; }
  .admin-grid-2col { grid-template-columns: 1fr; }
  .admin-settings-layout { grid-template-columns: 1fr; }
  .admin-settings-card.full-width { grid-column: auto; }
  .hs-split { grid-template-columns: 1fr; }
  .hs-history-row { grid-template-columns: 1fr; align-items: start; }
  .hs-history-actions { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .admin-menu { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; }
  .admin-menu a { flex: 0 0 auto; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
  .admin-content { padding: 1rem; }
  .admin-stat-grid, .admin-stat-grid.five-cols { grid-template-columns: repeat(2, 1fr); }
  .three-cols { grid-template-columns: 1fr; }
  .admin-panel-head { flex-direction: column; align-items: flex-start; }
  .admin-filter-bar { justify-content: flex-start; width: 100%; }
  .admin-filter-bar .form-control, .admin-filter-bar input[type="search"] { width: 100%; min-width: 0; flex: 1 1 auto; }
  .hs-preview-top { flex-direction: column; }
  .hs-main-code { align-self: flex-start; }
  .hs-preview-grid, .hs-item-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-result-actions { grid-template-columns: 1fr; }
  .hs-item-card-head { flex-direction: column; }
  .hs-item-card-head > strong { align-self: flex-start; }
}

/* ============================================================
   MOBILE (public site)
   ============================================================ */
@media (max-width: 900px) {
  .site-header { z-index: 80; }
  .header-inner {
    flex-wrap: wrap;
    min-height: 104px;
    height: auto;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .brand {
    font-size: 1.55rem;
    line-height: 1.15;
  }
  .brand-logo-img {
    height: 64px;
    max-width: 290px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    line-height: 1;
  }
  .mobile-menu-toggle .bars {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 22px;
    gap: 5px;
  }
  .mobile-menu-toggle .bars span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .mobile-menu-toggle strong { display: none; }
  .mobile-menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .header-menu {
    display: none;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.1rem 0 0.5rem;
    border-top: 1px solid var(--border);
  }
  .header-menu.is-open { display: flex; }
  .mobile-menu-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--muted);
  }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .main-nav a {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.02rem;
    font-weight: 600;
  }
  .main-nav a:hover { color: var(--accent); }
  .main-nav .nav-cta {
    margin-top: 0.7rem;
    padding: 0.85rem 1rem;
    border-bottom: 0;
    text-align: center;
  }
  .auth-links {
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border);
  }
  .user-menu-panel,
  .lang-menu {
    left: 0;
    right: auto;
  }

  .hero { padding: 3rem 0; }
  .hero-grid, .split-grid, .detail-grid, .footer-inner, .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .booking-report-layout { grid-template-columns: 1fr; }
  .report-head { flex-direction: column; align-items: flex-start; }
  .stats-grid { gap: 1.25rem; }
  .section { padding: 2.75rem 0; }
  .section-title h2 { font-size: 1.6rem; }
  .page-hero { padding: 2.5rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .form-container { padding: 1.5rem 1.25rem; }
  .auth-box { padding: 1.75rem 1.35rem; }
  .otp-input { font-size: 1.35rem; letter-spacing: 0.35em; }
  .side-cta { padding: 1.5rem; }
  .home-gallery-grid { grid-template-columns: 1fr; }
  .gallery-media, .home-gallery-grid video, .home-gallery-grid img { width: 100%; }
  .detail-image { max-height: 260px; }
  .hero-admin-grid { grid-template-columns: 1fr; }
  .admin-service-two-col { grid-template-columns: 1fr; }
  .admin-service-category-head { flex-wrap: wrap; }
  .admin-service-category-head .btn { margin-left: 0; }
  .admin-service-category { scroll-margin-top: 70px; }
  .admin-service-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.4rem;
  }
  .admin-service-tab {
    min-height: 52px;
    padding: 0.6rem 0.7rem;
  }
  .admin-service-tab strong { font-size: 0.82rem; }
  .admin-service-tab.is-active::after { display: none; }
  .branding-grid { grid-template-columns: 1fr; padding: 1rem 1rem 1.25rem; }
  .widget-settings-form { grid-template-columns: 1fr; }
  .hero-upload-form { flex-direction: column; align-items: stretch; }
  .hero-upload-form .form-group { flex: 1 1 auto; }
  .hero-upload-actions .btn { width: 100%; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  th, td { padding: 0.75rem 0.85rem; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .contact-widget {
    right: 0.85rem;
    gap: 0.55rem;
  }
  .contact-widget-btn {
    width: 48px;
    height: 48px;
  }
  .contact-widget-btn svg {
    width: 24px;
    height: 24px;
  }
  .header-inner {
    min-height: 92px;
    padding: 0.85rem 1rem;
  }
  .brand { font-size: 1.4rem; }
  .brand-logo-img {
    height: 56px;
    max-width: 250px;
  }
  .mobile-menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  .mobile-menu-toggle .bars {
    width: 22px;
    height: 20px;
    gap: 4.5px;
  }
  .mobile-menu-toggle .bars span {
    width: 22px;
    height: 2.8px;
  }
  .hero h1 { font-size: 1.75rem; }
  .hero-actions .btn { width: 100%; }
  .admin-stat-grid, .admin-stat-grid.five-cols { grid-template-columns: 1fr; }
}
