@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:wght@600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap");

:root {
  --bg: #f7f1e8;
  --surface: rgba(255, 250, 244, 0.92);
  --surface-strong: #fffdf9;
  --surface-dark: #1d2433;
  --line: rgba(72, 47, 30, 0.14);
  --text: #1f2430;
  --muted: #6d665d;
  --brand: #bb5a3c;
  --brand-deep: #91391d;
  --brand-soft: #f6d5c5;
  --accent: #0f766e;
  --accent-soft: #cdece8;
  --danger: #c2410c;
  --success: #21835b;
  --shadow: 0 24px 60px rgba(57, 33, 18, 0.14);
  --shadow-soft: 0 16px 34px rgba(31, 36, 48, 0.1);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(187, 90, 60, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(15, 118, 110, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, #fbf7f1 0%, #f4eee4 100%);
  padding: 24px;
  text-align: center;
}

a {
  color: inherit;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.page-shell-narrow {
  max-width: 1040px;
}

.landing-body,
.login-layout {
  position: relative;
  overflow-x: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  margin-bottom: 36px;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(145, 57, 29, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-align: left;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
}

@media (min-width: 640px) {
  .brand-tagline {
    display: block;
  }
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  box-shadow: 0 18px 34px rgba(145, 57, 29, 0.32);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  border-radius: 12px;
  border: none;
  background: rgba(12, 9, 6, 0.72);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
}

/* Drawer backdrop */
.site-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer close button */
.site-nav-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  border: none !important;
  background: rgba(17, 17, 17, 0.08) !important;
  color: #111 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  z-index: 2;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
  font-weight: normal;
}

.site-nav-close:hover {
  background: rgba(17, 17, 17, 0.14) !important;
  color: #000 !important;
  transform: none !important;
  box-shadow: none !important;
}

.site-nav a,
.back-link,
.auth-form-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(72, 47, 30, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.site-nav a:hover,
.back-link:hover,
.auth-form-footer a:hover,
.button-link:hover,
button:hover,
.menu ul li a:hover,
.btn-print:hover,
.btn-delete:hover,
.pagination a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(31, 36, 48, 0.12);
}

.hero-grid,
.login-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.hero-copy,
.hero-card,
.login-panel,
.form-container,
.container {
  background: var(--surface);
  border: 1px solid rgba(145, 57, 29, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy,
.login-panel {
  padding: 52px;
  text-align: left;
}

.hero-card,
.form-container,
.container {
  padding: 32px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero-copy h1,
.login-panel h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--brand-deep);
}

.hero-text,
.login-copy,
.feature-card p,
.hero-card p,
.hero-card li,
.status-card span,
.status-card strong {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 34px;
}

.button-link,
button,
.btn-print,
.btn-delete,
.continue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button-link,
button,
.btn-print,
.continue-button {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 16px 28px rgba(145, 57, 29, 0.24);
}

.button-link-muted {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border: 1px solid rgba(72, 47, 30, 0.1);
  box-shadow: none;
}

.hero-stats,
.login-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats div,
.login-points span {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(72, 47, 30, 0.08);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.4rem;
  color: var(--brand-deep);
}

.hero-stats span,
.login-points span {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-card {
  text-align: left;
}

.hero-card h2,
.form-container h2,
.container h2,
.container h3,
.form-container h3 {
  margin-top: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.1;
}

.process-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  display: grid;
  gap: 12px;
}

.status-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(
    160deg,
    rgba(15, 118, 110, 0.08),
    rgba(255, 255, 255, 0.86)
  );
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.status-card strong {
  display: block;
  margin: 10px 0 14px;
  color: var(--text);
  font-size: 1.1rem;
}

.status-card a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

/* feature-card styles defined in landing section below */

.feature-index {
  margin: 0 0 16px;
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.login-layout {
  display: flex;
  align-items: center;
}

.back-link {
  margin: 0 0 20px;
}

.login-panel {
  background:
    linear-gradient(180deg, rgba(29, 36, 51, 0.92), rgba(40, 50, 70, 0.95)),
    linear-gradient(135deg, rgba(187, 90, 60, 0.26), transparent 55%);
  color: #fff;
}

.login-panel .eyebrow,
.login-panel h1,
.login-panel .login-copy {
  color: #fff;
}

.login-panel .login-copy {
  opacity: 0.82;
}

.auth-form-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form-card form {
  display: grid;
  gap: 14px;
}

.auth-form-footer {
  margin-top: 18px;
}

.error,
.error-banner {
  color: #fff;
  background: linear-gradient(135deg, #d15a33, #a6361f);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 0 0 16px;
  box-shadow: 0 12px 22px rgba(161, 42, 24, 0.16);
}

.container {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.form-container {
  width: min(100%, 1000px);
  margin: 0 auto;
}

input[type="text"],
select,
textarea,
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"] {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #f3f4f6;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

input[type="number"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  color: #9a9287;
}

.menu {
  background: linear-gradient(
    135deg,
    rgba(29, 36, 51, 0.96),
    rgba(18, 28, 46, 0.94)
  );
  padding: 12px 18px;
  border-radius: 24px;
  margin: 0 0 18px;
  box-shadow: 0 22px 40px rgba(20, 29, 46, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  flex-shrink: 1;
  min-width: 0;
}

.menu ul li a {
  display: inline-flex;
  text-decoration: none;
  color: #f3ece3;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

table,
.changes-table,
#overlay-table-container table,
.action-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--surface-strong);
  border-radius: 18px;
  overflow: hidden;
}

table th,
table td,
.changes-table th,
.changes-table td,
#overlay-table-container th,
#overlay-table-container td,
.action-history-table th,
.action-history-table td {
  border: 1px solid rgba(72, 47, 30, 0.1);
  padding: 14px 12px;
  text-align: left;
}

table th,
.changes-table th,
#overlay-table-container th,
.action-history-table th {
  background: #f7efe6;
  color: #513d2e;
  font-weight: 800;
}

table tr:nth-child(even) {
  background-color: rgba(247, 241, 232, 0.62);
}

table tr:hover {
  background-color: rgba(246, 213, 197, 0.2);
}

table td a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.order-filters-container {
  margin-top: 20px;
}

.order-filters-container form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.order-filters-container input[type="text"] {
  flex: 1;
}

.overlay,
.overlay-del {
  display: none;
  position: fixed;
  inset: 0;
  padding: 24px;
  background: rgba(17, 25, 37, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-content,
.overlay-content-del {
  background: var(--surface-strong);
  padding: 28px;
  border-radius: 24px;
  width: min(100%, 760px);
  box-shadow: 0 24px 60px rgba(17, 25, 37, 0.34);
  text-align: left;
}

.changes-table .old-value,
#overlay-table-container .old-value {
  color: #8f1d1d;
  font-weight: 700;
  background: #fde7e3;
  padding: 8px 10px;
  border-radius: 12px;
}

.changes-table .new-value,
#overlay-table-container .new-value {
  color: #17633d;
  font-weight: 700;
  background: #e0f3e9;
  padding: 8px 10px;
  border-radius: 12px;
}

.form-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.form-label {
  flex: 0 0 180px;
  font-weight: 700;
  text-align: left;
}

.form-input {
  flex: 1;
}

.receipt {
  width: min(100%, 760px);
  margin: 0 auto 28px;
  padding: 26px;
  background: #fff;
  border-radius: 20px;
}

.receipt-header {
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.receipt-section {
  margin-top: 20px;
  text-align: left;
}

.signature {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.signature div {
  width: 45%;
  text-align: center;
  border-top: 1px solid #000;
  padding-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
}

.badge-status-1 {
  background: #6b7280;
}

.badge-status-2 {
  background: #6d28d9;
}

.badge-status-3 {
  background: #2563eb;
}

.badge-status-4 {
  background: #dc2626;
}

.badge-status-5 {
  background: #16a34a;
}

.badge-status-6 {
  background: #0f766e;
}

.badge-status-7 {
  background: #475569;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 8px;
}

.pagination a {
  min-width: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(72, 47, 30, 0.1);
}

.pagination a.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  border-color: transparent;
}

.pagination a.disabled {
  pointer-events: none;
  color: #aaa;
}

.top-buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-delete {
  background: linear-gradient(135deg, #d15a33, #a6361f);
  color: #fff;
}

.admin-list {
  padding: 20px;
}

/* ── Panel layout ── */
.panel-shell {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Flash messages ── */
.flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
}

.flash-success {
  background: linear-gradient(
    135deg,
    rgba(33, 131, 91, 0.14),
    rgba(33, 131, 91, 0.06)
  );
  border: 1px solid rgba(33, 131, 91, 0.28);
  color: #0e5235;
}

.flash-error {
  background: linear-gradient(
    135deg,
    rgba(193, 65, 12, 0.14),
    rgba(193, 65, 12, 0.06)
  );
  border: 1px solid rgba(193, 65, 12, 0.28);
  color: #7c2008;
}

.flash-info {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(37, 99, 235, 0.04)
  );
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #1e3a8a;
}

.flash-warning {
  background: linear-gradient(
    135deg,
    rgba(217, 119, 6, 0.14),
    rgba(217, 119, 6, 0.06)
  );
  border: 1px solid rgba(217, 119, 6, 0.28);
  color: #78350f;
}

/* ── Sub-navigation for orders filter ── */
.panel-subnav {
  background: linear-gradient(
    135deg,
    rgba(29, 36, 51, 0.96),
    rgba(18, 28, 46, 0.94)
  );
  padding: 14px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 12px 28px rgba(20, 29, 46, 0.18);
}

.panel-subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-subnav ul li a {
  display: inline-flex;
  text-decoration: none;
  color: #d4ccc3;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.2s,
    color 0.2s;
}

/* ══════════════════════════════════════════
   LANDING PAGE – PHOTO-RICH REDESIGN
   ══════════════════════════════════════════ */

/* ── Reset body for new layout ── */
body.landing-body {
  padding: 0;
  margin: 0;
  background: #faf6f0;
}

body.landing-body.status-body {
  background-image: url("../photo/Zeg-8.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.landing-body.status-body .sticky-nav,
body.landing-body.status-body .sticky-nav.nav-scrolled {
  background: rgba(255, 252, 247, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(30, 20, 10, 0.1);
}

body.landing-body.status-body .sticky-nav .brand-logo,
body.landing-body.status-body .sticky-nav.nav-scrolled .brand-logo {
  filter: none;
}

body.landing-body.status-body .sticky-nav .site-nav,
body.landing-body.status-body .sticky-nav.nav-scrolled .site-nav {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.landing-body.status-body .sticky-nav .site-nav a,
body.landing-body.status-body .sticky-nav.nav-scrolled .site-nav a {
  color: var(--text) !important;
}

body.landing-body.status-body .sticky-nav .site-nav a:hover,
body.landing-body.status-body .sticky-nav.nav-scrolled .site-nav a:hover {
  background: rgba(145, 57, 29, 0.06) !important;
  color: var(--text) !important;
}

body.landing-body.status-body .sticky-nav .site-nav a::after,
body.landing-body.status-body .sticky-nav.nav-scrolled .site-nav a::after {
  background: var(--text) !important;
}

/* ── Sticky nav ── */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 18px 32px;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    padding 0.3s;
}

.sticky-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sticky-nav.nav-scrolled {
  padding: 10px 32px;
  background: rgba(255, 252, 247, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(30, 20, 10, 0.1);
}

/* ── Landing nav links (over photo) ── */
.sticky-nav .site-nav a {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  min-height: auto;
  position: relative;
}

.sticky-nav .site-nav a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.sticky-nav .site-nav a:hover::after {
  transform: scaleX(1);
}

.sticky-nav .site-nav a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff;
  box-shadow: none;
  transform: none;
}

/* Once scrolled – dark text on light background */
.sticky-nav.nav-scrolled .site-nav a {
  color: var(--text);
}

.sticky-nav.nav-scrolled .site-nav a::after {
  background: var(--brand-deep);
}

.sticky-nav.nav-scrolled .site-nav a:hover {
  background: rgba(145, 57, 29, 0.05) !important;
  color: var(--brand-deep);
}

/* Nav brand logo – white on hero, normal after scroll */
.sticky-nav .brand-logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  transition:
    filter 0.3s,
    transform 0.3s;
}

.sticky-nav.nav-scrolled .brand-logo {
  filter: none;
}

/* Final landing nav polish: override generic tile styles */
body.landing-body .sticky-nav .site-nav {
  gap: 6px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(18, 12, 7, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

body.landing-body .sticky-nav .site-nav a {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  font-size: clamp(1rem, 0.36vw + 0.92rem, 1.12rem) !important;
  text-decoration: none;
  line-height: 1;
}

body.landing-body .sticky-nav .site-nav a:not(.site-nav-status) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.94) !important;
}

body.landing-body .sticky-nav .site-nav a:not(.site-nav-status):hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

body.landing-body .sticky-nav .site-nav a:not(.site-nav-status)::after {
  left: 12px;
  right: 12px;
}

body.landing-body .sticky-nav .site-nav a.site-nav-status {
  position: relative;
}

body.landing-body .sticky-nav .site-nav a.site-nav-status::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  border: 1px solid rgba(255, 220, 175, 0.42);
  pointer-events: none;
}

body.landing-body
  .sticky-nav.nav-scrolled
  .site-nav
  a:not(.site-nav-status):hover {
  background: rgba(145, 57, 29, 0.06) !important;
}

body.landing-body .sticky-nav.nav-scrolled .site-nav {
  background: rgba(255, 250, 244, 0.92);
  border-color: rgba(145, 57, 29, 0.12);
  box-shadow: 0 12px 28px rgba(30, 20, 10, 0.12);
}

body.landing-body .sticky-nav.nav-scrolled .site-nav a:not(.site-nav-status) {
  color: var(--text) !important;
}

body.landing-body.status-body .sticky-nav .site-nav a:not(.site-nav-status),
body.landing-body.status-body
  .sticky-nav.nav-scrolled
  .site-nav
  a:not(.site-nav-status) {
  color: var(--text) !important;
}

body.landing-body.status-body
  .sticky-nav
  .site-nav
  a:not(.site-nav-status):hover,
body.landing-body.status-body
  .sticky-nav.nav-scrolled
  .site-nav
  a:not(.site-nav-status):hover {
  background: rgba(145, 57, 29, 0.06) !important;
  color: var(--text) !important;
}

body.landing-body .sticky-nav .site-nav a.site-nav-status,
body.landing-body .sticky-nav.nav-scrolled .site-nav a.site-nav-status {
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #c56745, #8f3419) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 230, 205, 0.38) !important;
  box-shadow:
    0 10px 22px rgba(145, 57, 29, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
  font-weight: 700;
  font-size: clamp(1rem, 0.28vw + 0.94rem, 1.08rem) !important;
  letter-spacing: 0.02em;
}

body.landing-body .sticky-nav .site-nav a.site-nav-status::after,
body.landing-body .sticky-nav.nav-scrolled .site-nav a.site-nav-status::after {
  display: none;
}

body.landing-body .sticky-nav .site-nav a.site-nav-status:hover,
body.landing-body .sticky-nav.nav-scrolled .site-nav a.site-nav-status:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.06);
}

/* ── Hero photo ── */
.hero-photo {
  position: relative;
  min-height: 100svh;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .hero-photo {
    margin-top: 66px;
  }
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 5, 0.42) 0%,
    rgba(10, 8, 5, 0.28) 40%,
    rgba(10, 8, 5, 0.78) 75%,
    rgba(10, 8, 5, 0.92) 100%
  );
}

.hero-photo-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 48px;
}

.hero-eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 220, 190, 0.85);
}

.hero-photo-title {
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-photo-title em {
  font-style: italic;
  color: rgba(246, 213, 197, 0.95);
}

.hero-photo-sub {
  margin: 0 0 36px;
  max-width: 680px;
  color: rgba(255, 248, 242, 0.92);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
  font-weight: 400;
}

.hero-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(145, 57, 29, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(145, 57, 29, 0.5);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-photo-stats {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
}

.hero-stat {
  flex: 1;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 220, 190, 0.75);
}

.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ── Progressive background loading ── */
.lazy-bg {
  position: relative;
  background-color: #23170f;
}

.lazy-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 18%,
    rgba(255, 230, 200, 0.18) 46%,
    rgba(255, 255, 255, 0) 72%
  );
  background-size: 220% 100%;
  animation: lazy-bg-shimmer 1.5s linear infinite;
  opacity: 0.95;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.lazy-bg.bg-loaded::before {
  opacity: 0;
  animation: none;
}

@keyframes lazy-bg-shimmer {
  from {
    background-position: 140% 0;
  }
  to {
    background-position: -80% 0;
  }
}

/* ── Photo strip ── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 240px;
  gap: 0;
}

.photo-strip-item {
  background-size: cover;
  background-position: center;
  filter: brightness(0.88) saturate(0.9);
  transition:
    filter 0.4s,
    transform 0.4s;
  overflow: hidden;
}

.photo-strip-item:hover {
  filter: brightness(1) saturate(1.05);
  z-index: 1;
  transform: scaleY(1.02);
}

/* ── Page shell for inner content ── */
.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Landing contrast boost (pricing only) ── */
body.landing-body .pricing-section {
  background: linear-gradient(
    160deg,
    rgba(16, 12, 9, 0.96),
    rgba(27, 20, 15, 0.92)
  );
  border: 1px solid rgba(255, 221, 188, 0.14);
  border-radius: 26px;
  padding: 56px 34px;
  margin-bottom: 34px;
  box-shadow: 0 22px 46px rgba(10, 7, 5, 0.32);
}

body.landing-body .pricing-section .eyebrow {
  color: rgba(255, 213, 175, 0.86);
}

body.landing-body .pricing-section .section-title {
  color: #fff7ef;
}

body.landing-body .pricing-section .section-lead {
  color: rgba(255, 239, 223, 0.82);
}

body.landing-body .pricing-card {
  background: rgba(27, 19, 14, 0.94);
  border-color: rgba(255, 225, 193, 0.12);
}

body.landing-body .pricing-card h3 {
  color: #fff5e8;
  border-bottom-color: rgba(255, 225, 193, 0.14);
}

body.landing-body .pricing-table,
body.landing-body .pricing-table td,
body.landing-body .pricing-table th {
  color: rgba(255, 237, 218, 0.9);
}

body.landing-body .pricing-section table.pricing-table {
  background: rgba(18, 13, 10, 0.9);
  border: 1px solid rgba(255, 223, 186, 0.12);
}

body.landing-body .pricing-table th,
body.landing-body .pricing-divider {
  background: rgba(255, 223, 186, 0.14);
  color: rgba(255, 229, 200, 0.96);
}

body.landing-body .pricing-table td {
  background: rgba(24, 17, 13, 0.78);
  border-bottom-color: rgba(255, 225, 193, 0.1);
}

body.landing-body .pricing-table tr:nth-child(even) td {
  background: rgba(31, 22, 17, 0.84);
}

body.landing-body .pricing-table .price-range {
  color: #ffd8b3;
}

body.landing-body .pricing-table .price-fixed {
  color: #afe8e2;
}

body.landing-body .pricing-table .price-add {
  color: #f7d6a3;
}

body.landing-body .pricing-note {
  background: rgba(255, 223, 186, 0.1);
  border-color: rgba(255, 225, 193, 0.16);
  color: rgba(255, 236, 215, 0.86);
}

body.landing-body .pricing-note strong {
  color: rgba(255, 223, 186, 0.95);
}

/* ── Pricing showcase redesign ── */
body.landing-body .pricing-showcase {
  position: relative;
  overflow: hidden;
  margin: 28px 0 40px;
  padding: 60px 34px 36px;
  border-radius: 30px;
  border: 1px solid rgba(255, 214, 176, 0.2);
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(255, 208, 155, 0.24),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 84%,
      rgba(62, 132, 123, 0.2),
      transparent 36%
    ),
    linear-gradient(145deg, #1c130f 0%, #281a12 48%, #211711 100%);
  box-shadow: 0 26px 56px rgba(10, 7, 5, 0.36);
}

body.landing-body .pricing-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 232, 206, 0.08) 48%,
    rgba(255, 255, 255, 0) 72%
  );
  background-size: 180% 100%;
  animation: pricing-sheen 9s linear infinite;
  pointer-events: none;
}

body.landing-body .pricing-showcase-head {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

body.landing-body .pricing-showcase .eyebrow {
  color: rgba(255, 215, 170, 0.88);
}

body.landing-body .pricing-showcase .section-title {
  margin-bottom: 10px;
  color: #fff6ea;
  line-height: 0.95;
}

body.landing-body .pricing-showcase .section-lead {
  color: rgba(255, 237, 219, 0.82);
  margin: 0 auto;
}

body.landing-body .pricing-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.landing-body .pricing-panel {
  background: linear-gradient(
    160deg,
    rgba(45, 30, 22, 0.94),
    rgba(31, 22, 16, 0.95)
  );
  border: 1px solid rgba(255, 223, 191, 0.14);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(8, 5, 3, 0.3);
  transform: translateY(14px);
  opacity: 0;
  animation: pricing-panel-in 0.7s ease forwards;
}

body.landing-body .pricing-panel:nth-child(2) {
  animation-delay: 0.14s;
}

body.landing-body .pricing-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

body.landing-body .pricing-panel h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  color: #fff5e8;
}

body.landing-body .pricing-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffe1be;
  background: rgba(255, 228, 199, 0.1);
  border: 1px solid rgba(255, 228, 199, 0.2);
}

body.landing-body .pricing-groups {
  display: grid;
  gap: 12px;
}

body.landing-body .pricing-group {
  border-radius: 14px;
  background: rgba(13, 10, 8, 0.56);
  border: 1px solid rgba(255, 219, 183, 0.12);
  padding: 14px 14px 12px;
}

body.landing-body .pricing-group-soft {
  background: rgba(18, 30, 27, 0.46);
  border-color: rgba(156, 220, 214, 0.2);
}

body.landing-body .pricing-group h4 {
  margin: 0 0 10px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(255, 218, 182, 0.85);
}

body.landing-body .pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

body.landing-body .pricing-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 248, 239, 0.04);
}

body.landing-body .pricing-list span {
  color: rgba(255, 238, 221, 0.9);
  text-align: left;
  font-size: 0.93rem;
}

body.landing-body .pricing-list strong {
  color: #ffd6ad;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

body.landing-body .pricing-list-addons strong {
  color: #aee5de;
}

body.landing-body .pricing-callout {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 226, 195, 0.2);
  background: rgba(255, 223, 186, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body.landing-body .pricing-callout p {
  margin: 0;
  color: rgba(255, 236, 215, 0.88);
  line-height: 1.6;
  text-align: left;
}

body.landing-body .pricing-callout strong {
  color: #ffe3c0;
}

body.landing-body .pricing-callout .btn-brand {
  flex-shrink: 0;
}

@keyframes pricing-panel-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pricing-sheen {
  from {
    background-position: 150% 0;
  }
  to {
    background-position: -70% 0;
  }
}

@media (max-width: 980px) {
  body.landing-body .pricing-showcase {
    padding: 50px 22px 26px;
  }

  body.landing-body .pricing-showcase-grid {
    grid-template-columns: 1fr;
  }

  body.landing-body .pricing-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  body.landing-body .pricing-panel {
    padding: 18px 14px;
  }

  body.landing-body .pricing-panel h3 {
    font-size: 1.56rem;
  }

  body.landing-body .pricing-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.landing-body .pricing-list strong {
    justify-self: start;
  }
}

/* ── Services section ── */
.services-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
  padding: 96px 0 72px;
}

.services-text {
  position: sticky;
  top: 100px;
}

.services-text .section-lead {
  margin-bottom: 28px;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 12px 24px rgba(145, 57, 29, 0.22);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px rgba(145, 57, 29, 0.32);
}

.services-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-card {
  border-radius: 20px;
  overflow: hidden;
}

.service-card-photo {
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: transform 0.4s ease;
}

.service-card-photo:hover {
  transform: scale(1.015);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(15, 10, 5, 0.82) 0%,
    rgba(15, 10, 5, 0.1) 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.service-card-overlay h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.service-card-overlay p {
  margin: 0;
  color: rgba(255, 240, 228, 0.82);
  font-size: 0.88rem;
  line-height: 1.6;
}

.service-card-light {
  background: rgba(255, 250, 244, 0.95);
  border: 1px solid rgba(145, 57, 29, 0.1);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 24px rgba(57, 33, 18, 0.08);
}

.service-card-light h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.service-card-light p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Quote banner ── */
.quote-banner {
  position: relative;
  background-size: cover;
  background-position: center 40%;
  border-radius: 24px;
  overflow: hidden;
  margin: 0 0 80px;
  padding: 80px 64px;
}

.quote-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 8, 5, 0.78) 0%,
    rgba(40, 25, 12, 0.55) 100%
  );
}

.quote-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.quote-banner-content blockquote {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.quote-banner-content cite {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 213, 197, 0.75);
  font-style: normal;
}

/* ── How it works ── */
.how-section {
  margin-bottom: 80px;
}

.how-header {
  margin-bottom: 48px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
}

.how-step {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-step:last-child {
  border-right: none;
}

.how-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(145, 57, 29, 0.15);
  line-height: 1;
  margin-bottom: -8px;
}

.how-body h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.how-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

.how-cta {
  text-align: center;
}

/* ── Pricing section ── */
.pricing-section {
  margin-bottom: 80px;
}

.pricing-header {
  margin-bottom: 36px;
}

/* ── Gallery section ── */
.gallery-section {
  margin-bottom: 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
  margin-top: 28px;
}

.gallery-item {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  filter: brightness(0.95) saturate(0.92);
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.015);
  filter: brightness(1.05) saturate(1.08);
  z-index: 1;
}

.gallery-tall {
  grid-row: 1 / 3;
}

.gallery-wide {
  grid-column: 2 / 4;
}

/* ── Contact section ── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

.contact-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}

.contact-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 8, 5, 0.75) 0%,
    rgba(10, 8, 5, 0.08) 55%
  );
}

.contact-photo-text {
  position: relative;
  z-index: 2;
  padding: 40px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Pricing layout ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(145, 57, 29, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 36px;
  text-align: left;
}

.pricing-card h3 {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-table th {
  background: rgba(247, 241, 232, 0.9);
  color: #513d2e;
  font-weight: 800;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid rgba(145, 57, 29, 0.12);
}

.pricing-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(72, 47, 30, 0.08);
  vertical-align: middle;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:nth-child(even) td {
  background: rgba(247, 241, 232, 0.35);
}

.pricing-table .price-range {
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
}

.pricing-table .price-fixed {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.pricing-table .price-add {
  font-weight: 700;
  color: #7c5c1a;
  white-space: nowrap;
}

.pricing-divider {
  background: rgba(247, 241, 232, 0.9);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.pricing-note {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 245, 235, 0.9);
  border: 1px solid rgba(145, 57, 29, 0.12);
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-note strong {
  color: var(--brand-deep);
}

/* ── Contact cards ── */
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(145, 57, 29, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-card-accent {
  background: linear-gradient(
    135deg,
    rgba(145, 57, 29, 0.07),
    rgba(255, 250, 244, 0.95)
  );
  border-color: rgba(145, 57, 29, 0.14);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(247, 241, 232, 0.9);
  color: var(--brand-deep);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-card h4 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.92rem;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.contact-card .big-link {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  font-family: "Cormorant Garamond", Georgia, serif;
  margin-top: 4px;
}

.contact-card .big-link:hover {
  color: var(--brand-deep);
}

/* ── Footer ── */
.site-footer {
  margin-top: 72px;
  padding: 36px 32px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto 14px;
  opacity: 0.7;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-deep);
}

/* ── Shared ── */
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.section-title {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-lead {
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.7;
  font-size: 1rem;
  max-width: 560px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  body.landing-body .pricing-section {
    padding: 44px 24px;
  }

  .services-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 0 48px;
  }
  .services-text {
    position: static;
  }
  .contact-section {
    grid-template-columns: 1fr;
  }
  .contact-photo {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-photo-content {
    padding: 0 24px 32px;
  }
  .hero-photo-stats {
    padding: 20px 24px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-stat-sep {
    display: none;
  }
  .hero-stat {
    flex: 1 1 40%;
  }
  .photo-strip {
    grid-template-columns: repeat(3, 1fr);
    height: 160px;
  }
  .photo-strip-item:nth-child(4),
  .photo-strip-item:nth-child(5) {
    display: none;
  }
  .services-cards {
    grid-template-columns: 1fr;
  }
  .service-card-photo {
    aspect-ratio: 16/9;
  }
  .service-card-light {
    aspect-ratio: auto;
  }
  .quote-banner {
    padding: 48px 28px;
  }
  .how-steps {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .how-step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .how-step:last-child {
    border-bottom: none;
  }
  .gallery-section {
    margin-bottom: 64px;
  }
  .gallery-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72vw, 280px);
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 12px;
    margin-top: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-grid::-webkit-scrollbar {
    height: 7px;
  }
  .gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(31, 36, 48, 0.22);
    border-radius: 999px;
  }
  .gallery-item {
    aspect-ratio: 4 / 5;
    min-height: 220px;
    border-radius: 18px;
    scroll-snap-align: center;
    box-shadow: 0 10px 24px rgba(31, 36, 48, 0.14);
    filter: brightness(0.98) saturate(1.02);
  }
  .gallery-item:hover {
    transform: none;
    filter: brightness(1.02) saturate(1.04);
  }
  .gallery-tall {
    grid-row: auto;
  }
  .gallery-wide {
    grid-column: auto;
  }
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .sticky-nav {
    padding: 12px 20px;
  }
  body.landing-body .sticky-nav .site-nav {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }
  body.landing-body .sticky-nav .site-nav a {
    font-size: 1rem !important;
    padding: 10px 12px !important;
  }
  body.landing-body .sticky-nav .site-nav a.site-nav-status {
    font-size: 1.02rem !important;
    padding: 10px 16px !important;
  }
  .sticky-nav .brand-logo {
    height: 40px;
  }
  .page-shell {
    padding: 0 20px;
  }
}

.section-title {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.1;
  text-align: left;
  font-weight: 700;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 24px;
  text-align: left;
  line-height: 1.7;
}

/* ── Section divider ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 0;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-divider span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-deep);
  white-space: nowrap;
}

/* ── Feature cards with icon ── */
.feature-card {
  padding: 32px 28px;
  text-align: left;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(145, 57, 29, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--brand-soft),
    rgba(246, 213, 197, 0.4)
  );
  color: var(--brand-deep);
  margin-bottom: 4px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── Pricing section ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(145, 57, 29, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 36px;
  text-align: left;
}

.pricing-card h3 {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.pricing-table th {
  background: rgba(247, 241, 232, 0.9);
  color: #513d2e;
  font-weight: 800;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid rgba(145, 57, 29, 0.12);
}

.pricing-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(72, 47, 30, 0.08);
  vertical-align: middle;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:nth-child(even) td {
  background: rgba(247, 241, 232, 0.35);
}

.pricing-table .price-range {
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
}

.pricing-table .price-fixed {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.pricing-table .price-add {
  font-weight: 700;
  color: #7c5c1a;
  white-space: nowrap;
}

.pricing-divider {
  background: rgba(247, 241, 232, 0.9);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.pricing-note {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 245, 235, 0.9);
  border: 1px solid rgba(145, 57, 29, 0.12);
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-note strong {
  color: var(--brand-deep);
}

/* ── Contact section ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid rgba(145, 57, 29, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-card-accent {
  background: linear-gradient(
    135deg,
    rgba(145, 57, 29, 0.07),
    rgba(255, 250, 244, 0.95)
  );
  border-color: rgba(145, 57, 29, 0.14);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(247, 241, 232, 0.9);
  color: var(--brand-deep);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card h4 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.contact-card .big-link {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  font-family: "Cormorant Garamond", Georgia, serif;
  margin-top: 4px;
}

.contact-card .big-link:hover {
  color: var(--brand-deep);
}

/* ── Primary button variant ── */
.button-link-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 16px 28px rgba(145, 57, 29, 0.28);
}

/* ── Nav CTA ── */
.site-nav-cta {
  background: linear-gradient(
    135deg,
    var(--brand),
    var(--brand-deep)
  ) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* ── Hero section extra spacing ── */
.hero-section {
  margin-top: 0;
}

/* ── Site footer ── */
.site-footer {
  margin-top: 56px;
  padding: 28px 0 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-deep);
}

/* ── Responsive tweaks ── */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 32px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-table th,
  .pricing-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .site-header {
    border-radius: 20px;
    flex-wrap: wrap;
  }
  .site-nav {
    gap: 8px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-columns: minmax(82vw, 260px);
  }
}

@media (max-width: 768px) {
  body.landing-body .sticky-nav,
  body.landing-body .sticky-nav.nav-scrolled,
  body.landing-body.status-body .sticky-nav,
  body.landing-body.status-body .sticky-nav.nav-scrolled {
    background: #fff !important;
    backdrop-filter: none !important;
    box-shadow: 0 6px 18px rgba(31, 36, 48, 0.08) !important;
  }

  body.landing-body.status-body .status-hero {
    padding-top: 116px;
  }

  body.landing-body.status-body .status-hero-content {
    padding-top: 28px;
  }

  body.landing-body .sticky-nav .site-nav a:not(.site-nav-status),
  body.landing-body .sticky-nav.nav-scrolled .site-nav a:not(.site-nav-status),
  body.landing-body.status-body .sticky-nav .site-nav a:not(.site-nav-status),
  body.landing-body.status-body
    .sticky-nav.nav-scrolled
    .site-nav
    a:not(.site-nav-status) {
    color: var(--text) !important;
  }

  body.landing-body .sticky-nav .site-nav a:not(.site-nav-status)::after,
  body.landing-body
    .sticky-nav.nav-scrolled
    .site-nav
    a:not(.site-nav-status)::after,
  body.landing-body.status-body
    .sticky-nav
    .site-nav
    a:not(.site-nav-status)::after,
  body.landing-body.status-body
    .sticky-nav.nav-scrolled
    .site-nav
    a:not(.site-nav-status)::after {
    background: rgba(31, 36, 48, 0.55) !important;
  }

  body.landing-body .sticky-nav .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.landing-body .sticky-nav .site-nav-toggle {
    display: inline-flex;
  }

  body.landing-body .sticky-nav .site-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(82vw, 290px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 40px;
    background: #fff;
    border: none;
    box-shadow: -6px 0 30px rgba(31, 36, 48, 0.16);
    z-index: 1200;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(110%);
    transition:
      transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.32s;
  }

  body.landing-body .sticky-nav .site-nav.is-open {
    position: relative;
    z-index: 1201;
  }

  body.landing-body .sticky-nav .site-nav-links::before {
    content: "Zegarmistrz";
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(31, 36, 48, 0.55);
    padding: 28px 56px 20px 22px;
    border-bottom: 1px solid rgba(31, 36, 48, 0.08);
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  body.landing-body .sticky-nav .site-nav.is-open .site-nav-links {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.landing-body .sticky-nav .site-nav-links a {
    width: 100%;
    justify-content: flex-start !important;
    color: var(--text) !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(31, 36, 48, 0.08) !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 15px 22px 15px 32px !important;
    margin-left: 6px !important;
    letter-spacing: 0.01em;
    transition:
      color 0.15s ease,
      padding-left 0.18s ease,
      background 0.15s ease !important;
  }

  body.landing-body .sticky-nav .site-nav-links a:last-child {
    border-bottom: none !important;
  }

  body.landing-body .sticky-nav .site-nav-links a:link,
  body.landing-body .sticky-nav .site-nav-links a:visited,
  body.landing-body .sticky-nav .site-nav-links a:active {
    color: var(--text) !important;
  }

  body.landing-body .sticky-nav .site-nav-links a:hover {
    background: rgba(145, 57, 29, 0.08) !important;
    color: var(--text) !important;
    padding-left: 40px !important;
  }

  body.landing-body .sticky-nav .site-nav.is-open .site-nav-close {
    display: flex !important;
  }

  /* check_status.php (status-body) – override higher-specificity rule at line 977 */
  body.landing-body.status-body .sticky-nav .site-nav-links a,
  body.landing-body.status-body .sticky-nav.nav-scrolled .site-nav-links a {
    color: var(--text) !important;
    background: transparent !important;
    padding-left: 32px !important;
    margin-left: 6px !important;
  }

  body.landing-body.status-body .sticky-nav .site-nav-links a:link,
  body.landing-body.status-body .sticky-nav.nav-scrolled .site-nav-links a:link,
  body.landing-body.status-body .sticky-nav .site-nav-links a:visited,
  body.landing-body.status-body
    .sticky-nav.nav-scrolled
    .site-nav-links
    a:visited,
  body.landing-body.status-body .sticky-nav .site-nav-links a:active,
  body.landing-body.status-body
    .sticky-nav.nav-scrolled
    .site-nav-links
    a:active {
    color: var(--text) !important;
  }

  body.landing-body.status-body .sticky-nav .site-nav-links a:hover,
  body.landing-body.status-body
    .sticky-nav.nav-scrolled
    .site-nav-links
    a:hover {
    color: var(--text) !important;
    background: rgba(145, 57, 29, 0.08) !important;
    padding-left: 40px !important;
  }
}

@media (max-width: 600px) {
  body.landing-body {
    padding: 0;
  }

  body.landing-body .hero-photo {
    min-height: 76svh;
  }

  body.landing-body .hero-photo-content {
    padding: 0 16px 20px;
  }

  body.landing-body .hero-eyebrow {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  body.landing-body .hero-photo-title {
    margin-bottom: 12px;
    font-size: clamp(2.35rem, 9.5vw, 3.1rem);
  }

  body.landing-body .hero-photo-sub {
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  body.landing-body .hero-photo-actions a {
    padding: 11px 18px;
    font-size: 0.88rem;
  }

  body.landing-body .hero-photo-stats {
    padding: 10px 14px;
    gap: 10px;
  }

  body.landing-body .hero-stat strong {
    font-size: 1.25rem;
  }

  body.landing-body .hero-stat span {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  body.landing-body .photo-strip {
    height: 110px;
  }

  body.landing-body .page-shell {
    padding: 0 14px;
  }

  body.landing-body .services-section {
    gap: 20px;
    padding: 36px 0 24px;
  }

  body.landing-body .service-card-overlay {
    padding: 16px;
  }

  body.landing-body .service-card-overlay h3 {
    font-size: 1.2rem;
  }

  body.landing-body .service-card-overlay p,
  body.landing-body .service-card-light p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  body.landing-body .service-card-light {
    padding: 18px;
    gap: 8px;
  }

  body.landing-body .quote-banner {
    margin: 0 0 28px;
    padding: 28px 18px;
    border-radius: 16px;
  }

  body.landing-body .quote-banner-content blockquote {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  body.landing-body .how-section,
  body.landing-body .pricing-section,
  body.landing-body .gallery-section {
    margin-bottom: 34px;
  }

  body.landing-body .how-header,
  body.landing-body .pricing-header {
    margin-bottom: 20px;
  }

  body.landing-body .how-step {
    padding: 20px 16px;
    gap: 10px;
  }

  body.landing-body .how-num {
    font-size: 2.15rem;
    margin-bottom: -3px;
  }

  body.landing-body .how-body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  body.landing-body .how-body p {
    font-size: 0.84rem;
    line-height: 1.52;
  }

  body.landing-body .pricing-section {
    padding: 26px 14px;
    border-radius: 18px;
  }

  body.landing-body .pricing-card {
    padding: 18px;
    border-radius: 16px;
  }

  body.landing-body .pricing-card h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
    padding-bottom: 10px;
  }

  body.landing-body .pricing-table th,
  body.landing-body .pricing-table td {
    padding: 7px 8px;
    font-size: 0.79rem;
  }

  body.landing-body .pricing-note {
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  body.landing-body .contact-section {
    gap: 14px;
    margin-bottom: 22px;
  }

  body.landing-body .contact-photo {
    min-height: 220px;
    border-radius: 16px;
  }

  body.landing-body .contact-photo-text {
    padding: 20px;
  }

  body.landing-body .contact-card {
    padding: 16px;
    border-radius: 14px;
    gap: 6px;
  }

  body.landing-body .contact-card p {
    line-height: 1.55;
    font-size: 0.84rem;
  }

  body.landing-body .contact-card .big-link {
    font-size: 1.22rem;
  }

  body.landing-body .gallery-grid {
    grid-auto-columns: minmax(76vw, 220px);
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 8px;
  }

  body.landing-body .gallery-item {
    min-height: 178px;
    border-radius: 14px;
  }

  body.landing-body .site-footer {
    margin-top: 24px;
    padding: 18px 14px 10px;
    font-size: 0.76rem;
  }

  body.landing-body .footer-logo {
    height: 26px;
    margin-bottom: 8px;
  }

  /* Compact pricing on phones: less page height, scroll inside card */
  body.landing-body .pricing-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(90vw, 320px) !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 10px;
    -webkit-overflow-scrolling: touch;
  }

  body.landing-body .pricing-grid::-webkit-scrollbar {
    height: 6px;
  }

  body.landing-body .pricing-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 225, 193, 0.3);
    border-radius: 999px;
  }

  body.landing-body .pricing-card {
    scroll-snap-align: start;
    max-height: 62svh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.landing-body .pricing-card h3 {
    position: sticky;
    top: 0;
    z-index: 1;
    background: inherit;
  }
}

.panel-subnav ul li a:hover,
.panel-subnav ul li a.active {
  background: rgba(187, 90, 60, 0.72);
  color: #fff;
  border-color: transparent;
}

/* ── Danger button ── */
.btn-danger {
  background: linear-gradient(135deg, #d15a33, #a6361f) !important;
  color: #fff !important;
  border: none !important;
}

/* ── Overlay content improvements ── */
.overlay-content,
.overlay-content-del {
  max-height: 90vh;
  overflow-y: auto;
}

.overlay-inner {
  background: var(--surface-strong);
  padding: 28px;
  border-radius: 24px;
  width: min(100%, 640px);
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(17, 25, 37, 0.34);
  text-align: left;
}

.overlay-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.overlay-comment {
  margin-top: 18px;
}

.overlay-comment label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Unsaved changes warning ── */
.unsaved-warning {
  background: linear-gradient(
    135deg,
    rgba(217, 119, 6, 0.12),
    rgba(217, 119, 6, 0.04)
  );
  border: 1px solid rgba(217, 119, 6, 0.26);
  color: #78350f;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ── Form message inline ── */
#formMessage {
  min-height: 0;
  transition: all 0.2s;
}

#formMessage.is-success {
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(33, 131, 91, 0.14),
    rgba(33, 131, 91, 0.06)
  );
  border: 1px solid rgba(33, 131, 91, 0.28);
  color: #0e5235;
  font-weight: 600;
}

#formMessage.is-error {
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(193, 65, 12, 0.14),
    rgba(193, 65, 12, 0.06)
  );
  border: 1px solid rgba(193, 65, 12, 0.28);
  color: #7c2008;
  font-weight: 600;
}

/* ── Admin panel table wrapper ── */
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 18px;
  margin-top: 18px;
}

.order-table-wrapper {
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ── Reset-link row ── */
.reset-link-row td {
  background: rgba(246, 213, 197, 0.22);
  font-size: 0.88rem;
  word-break: break-all;
}

.reset-link-row a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   DASHBOARD – stats grid
═══════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid rgba(145, 57, 29, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px 14px 16px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: var(--shadow-soft);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-card-active {
  border-color: var(--brand);
  box-shadow:
    0 0 0 2px var(--brand),
    var(--shadow);
}

.stat-card-number {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-deep);
}

.stat-card-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════
   SECTION HEADING divider
═══════════════════════════════════════════════ */
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 14px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading::before,
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(72, 47, 30, 0.1);
}

/* ═══════════════════════════════════════════════
   ORDER HEADER CARD (update page top)
═══════════════════════════════════════════════ */
.order-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 22px;
  background: linear-gradient(
    135deg,
    rgba(145, 57, 29, 0.06),
    rgba(15, 118, 110, 0.04)
  );
  border: 1px solid rgba(145, 57, 29, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: 22px;
}

.order-header-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-code-display {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  line-height: 1.1;
}

.order-date-display {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

.order-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.order-header-actions .btn-print-receipt {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #fff !important;
}

.order-header-actions .btn-print-service {
  background: linear-gradient(135deg, #0f766e, #0f5c56) !important;
  color: #fff !important;
}

.order-header-actions .btn-print-receipt:hover,
.order-header-actions .btn-print-service:hover {
  filter: brightness(1.04);
}

.form-submit-row .btn-save-order {
  background: linear-gradient(135deg, #15803d, #166534) !important;
  color: #fff !important;
}

.form-submit-row .btn-save-order:hover {
  filter: brightness(1.04);
}

/* ═══════════════════════════════════════════════
   TWO-COLUMN FORM LAYOUT
═══════════════════════════════════════════════ */
.form-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

@media (max-width: 820px) {
  .form-cols {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   ORDER HISTORY TIMELINE
═══════════════════════════════════════════════ */
.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 26px;
  margin-top: 8px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(72, 47, 30, 0.1);
}

.history-item {
  position: relative;
  padding: 0 0 18px 18px;
}

.history-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--surface-strong);
}

.history-item:first-child::before {
  background: var(--accent);
}

.history-item-time {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.history-item-status {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
}

/* ═══════════════════════════════════════════════
   PANEL TOPBAR – Enhanced Design
═══════════════════════════════════════════════ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 252, 247, 0.96),
    rgba(255, 250, 244, 0.92)
  );
  border: 1px solid rgba(145, 57, 29, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(57, 33, 18, 0.08);
  backdrop-filter: blur(12px);
  flex-wrap: nowrap;
}

.topbar-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-deep);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(187, 90, 60, 0.1),
    rgba(187, 90, 60, 0.05)
  );
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(187, 90, 60, 0.2);
  transition: all 0.2s ease;
}

.topbar-admin-link:hover {
  background: linear-gradient(
    135deg,
    rgba(187, 90, 60, 0.15),
    rgba(187, 90, 60, 0.1)
  );
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(145, 57, 29, 0.15);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.topbar-username {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.topbar-role {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.12),
    rgba(15, 118, 110, 0.06)
  );
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.topbar-logout {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(193, 65, 12, 0.08);
  color: #7c2008;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid rgba(193, 65, 12, 0.2);
  transition: all 0.2s ease;
}

.topbar-logout:hover {
  background: rgba(193, 65, 12, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(193, 65, 12, 0.12);
}

/* ═══════════════════════════════════════════════
   PAGE TOOLBAR – Filters and Actions
═══════════════════════════════════════════════ */
.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  flex-wrap: wrap;
}

.toolbar-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 300px;
  max-width: 100%;
}

.filter-select,
.filter-search {
  flex: 1;
  min-width: 140px;
}

.filter-select {
  padding: 12px 14px !important;
  border: 1px solid rgba(145, 57, 29, 0.18) !important;
  border-radius: 12px !important;
  background: linear-gradient(
    135deg,
    rgba(255, 250, 244, 0.95),
    rgba(255, 252, 247, 0.98)
  ) !important;
  color: var(--text) !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(57, 33, 18, 0.06) !important;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2391391d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  padding-right: 32px !important;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--brand) !important;
  box-shadow:
    0 0 0 4px rgba(187, 90, 60, 0.1),
    0 4px 12px rgba(57, 33, 18, 0.08) !important;
}

.filter-search {
  padding: 12px 14px !important;
  border: 1px solid rgba(145, 57, 29, 0.18) !important;
  border-radius: 12px !important;
  background: rgba(255, 250, 244, 0.95) !important;
  box-shadow: 0 4px 12px rgba(57, 33, 18, 0.06) !important;
  color: var(--text) !important;
}

.filter-search::placeholder {
  color: rgba(109, 102, 93, 0.6) !important;
}

.filter-search:focus {
  border-color: var(--brand) !important;
  box-shadow:
    0 0 0 4px rgba(187, 90, 60, 0.1),
    0 4px 12px rgba(57, 33, 18, 0.08) !important;
}

.filter-btn {
  padding: 12px 20px !important;
  background: linear-gradient(
    135deg,
    var(--brand),
    var(--brand-deep)
  ) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(145, 57, 29, 0.2) !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(145, 57, 29, 0.28) !important;
}

.filter-btn:active {
  transform: translateY(0);
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(193, 65, 12, 0.08);
  color: #7c2008;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(193, 65, 12, 0.15);
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-clear:hover {
  background: rgba(193, 65, 12, 0.14);
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════
   ENHANCED TABLE STYLING
═══════════════════════════════════════════════ */
#ordersTable {
  background: var(--surface-strong) !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(57, 33, 18, 0.08) !important;
  border: 1px solid rgba(145, 57, 29, 0.08) !important;
}

#ordersTable th {
  background: linear-gradient(
    135deg,
    rgba(247, 241, 232, 0.98),
    rgba(247, 241, 232, 0.92)
  ) !important;
  color: var(--brand-deep) !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 14px !important;
  border: 1px solid rgba(145, 57, 29, 0.1) !important;
  text-align: left;
}

#ordersTable tbody tr {
  border-bottom: 1px solid rgba(145, 57, 29, 0.06) !important;
  transition: all 0.2s ease;
}

#ordersTable tbody tr:last-child {
  border-bottom: none !important;
}

#ordersTable tbody tr:hover {
  background: linear-gradient(
    90deg,
    rgba(246, 213, 197, 0.08),
    rgba(205, 236, 232, 0.04)
  ) !important;
  box-shadow: inset 0 0 0 1px rgba(145, 57, 29, 0.08);
}

#ordersTable td {
  padding: 14px 14px !important;
  border: 1px solid rgba(145, 57, 29, 0.06) !important;
  vertical-align: middle;
  font-size: 0.92rem;
}

#ordersTable td strong {
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: 0.02em;
}

#ordersTable td a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.08),
    rgba(15, 118, 110, 0.04)
  );
  color: var(--accent) !important;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(15, 118, 110, 0.15);
  transition: all 0.2s ease;
}

#ordersTable td a:hover {
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.14),
    rgba(15, 118, 110, 0.08)
  );
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.25);
}

/* ═══════════════════════════════════════════════
   PAGINATION – Enhanced
═══════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 12px;
  margin-top: 24px;
}

.pagination a {
  min-width: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(145, 57, 29, 0.15);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination a:hover:not(.disabled) {
  background: linear-gradient(
    135deg,
    rgba(187, 90, 60, 0.08),
    rgba(187, 90, 60, 0.04)
  );
  border-color: rgba(187, 90, 60, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(145, 57, 29, 0.1);
}

.pagination a.active {
  background: linear-gradient(
    135deg,
    var(--brand),
    var(--brand-deep)
  ) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 16px rgba(145, 57, 29, 0.2);
}

.pagination a.disabled {
  pointer-events: none;
  color: #bbb;
  background: rgba(240, 240, 240, 0.6);
  border-color: rgba(180, 180, 180, 0.2);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════
   ADMIN ASIDE – Sidebar
═══════════════════════════════════════════════ */
.admin-aside {
  display: none;
}

@media (min-width: 1024px) {
  .admin-aside {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: linear-gradient(
      135deg,
      rgba(29, 36, 51, 0.98),
      rgba(18, 28, 46, 0.96)
    );
    padding: 24px 16px;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    z-index: 150;
  }

  .admin-aside-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .admin-aside-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 220, 190, 0.6);
    padding: 12px 0;
    margin-bottom: 4px;
  }

  .admin-aside-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #e8dfd0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
  }

  .admin-aside-link:hover {
    background: linear-gradient(
      135deg,
      rgba(187, 90, 60, 0.4),
      rgba(187, 90, 60, 0.2)
    );
    color: #fff;
    border-color: rgba(187, 90, 60, 0.3);
    transform: translateX(4px);
  }

  .panel-shell {
    margin-left: 240px;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE IMPROVEMENTS
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .topbar {
    padding: 12px 16px;
    gap: 12px;
  }

  .topbar-brand {
    font-size: 1.1rem;
  }

  .topbar-user {
    gap: 8px;
    width: 100%;
    margin-top: 8px;
  }

  .topbar-username,
  .topbar-logout {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .page-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-filter {
    flex-direction: column;
    width: 100%;
  }

  .filter-select,
  .filter-search,
  .filter-btn {
    width: 100% !important;
  }

  #ordersTable {
    font-size: 0.85rem;
  }

  #ordersTable th,
  #ordersTable td {
    padding: 10px 8px !important;
  }

  #ordersTable td a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

/* ═══════════════════════════════════════════════
   PANEL BUTTON IMPROVEMENTS
═══════════════════════════════════════════════ */
.button-link {
  min-height: 44px;
  padding: 12px 24px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    var(--brand),
    var(--brand-deep)
  ) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(145, 57, 29, 0.2) !important;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(145, 57, 29, 0.28) !important;
}

.button-link:active {
  transform: translateY(0);
}

button {
  min-height: 44px;
  padding: 12px 24px;
  background: linear-gradient(
    135deg,
    var(--brand),
    var(--brand-deep)
  ) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(145, 57, 29, 0.2) !important;
  transition: all 0.2s ease;
  cursor: pointer;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(145, 57, 29, 0.28) !important;
}

button:active {
  transform: translateY(0);
}

button:disabled,
.continue-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none !important;
}

button:disabled:hover,
.continue-button:disabled:hover {
  transform: none;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════
   CONTAINER IMPROVEMENTS
═══════════════════════════════════════════════ */
.container {
  background: linear-gradient(
    135deg,
    rgba(255, 252, 247, 0.97),
    rgba(255, 250, 244, 0.94)
  ) !important;
  border: 1px solid rgba(145, 57, 29, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 32px rgba(57, 33, 18, 0.1) !important;
  backdrop-filter: blur(12px);
  padding: 28px;
}

/* ═══════════════════════════════════════════════
   FLASH MESSAGE IMPROVEMENTS  
═══════════════════════════════════════════════ */
.flash {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-success {
  background: linear-gradient(
    135deg,
    rgba(33, 131, 91, 0.1),
    rgba(33, 131, 91, 0.04)
  ) !important;
  border: 1px solid rgba(33, 131, 91, 0.25) !important;
  color: #0e5235;
  box-shadow: 0 4px 12px rgba(33, 131, 91, 0.08);
}

.flash-info {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(37, 99, 235, 0.04)
  ) !important;
  border: 1px solid rgba(37, 99, 235, 0.2) !important;
  color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.flash::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   TOPBAR – Hidden
═══════════════════════════════════════════════ */
.topbar {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   USER FOOTER – Bottom Right
═══════════════════════════════════════════════ */
.user-footer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background: linear-gradient(
    135deg,
    rgba(255, 252, 247, 0.96),
    rgba(255, 250, 244, 0.92)
  );
  border: 1px solid rgba(145, 57, 29, 0.15);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(57, 33, 18, 0.15);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
}

.user-footer-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}

.user-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.user-role {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(29, 78, 216, 0.14);
  width: fit-content;
  align-self: flex-end;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}

.user-action-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  border-color: var(--line);
}

.user-action-secondary:hover {
  background: #fff;
  border-color: rgba(31, 41, 55, 0.24);
}

.user-action-danger {
  background: rgba(17, 24, 39, 0.06);
  color: var(--text);
  border-color: rgba(31, 41, 55, 0.1);
}

.user-action-danger:hover {
  background: rgba(17, 24, 39, 0.1);
  border-color: rgba(31, 41, 55, 0.18);
}

@media (max-width: 768px) {
  .user-footer {
    bottom: 12px;
    right: 12px;
    padding: 10px 12px;
  }

  .user-footer-content {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .user-info {
    text-align: left;
  }

  .user-role {
    align-self: flex-start;
  }

  .user-name {
    font-size: 0.85rem;
  }

  .user-actions {
    width: 100%;
    flex-direction: column;
  }

  .user-action {
    width: 100%;
    text-align: center;
    min-height: 38px;
  }
}

.history-item-comment {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 3px;
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   DASHBOARD RECENT ORDERS – minimal table
═══════════════════════════════════════════════ */
.recent-orders-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 0;
}

.recent-orders-link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   USER INFO in menu
═══════════════════════════════════════════════ */
.menu-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8ddd2;
  font-size: 0.84rem;
  font-weight: 700;
}

.menu-user-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.menu-user-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1px;
}

/* ═══════════════════════════════════════════════
   FORM submit row
═══════════════════════════════════════════════ */
.form-submit-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 20px;
  margin-top: 10px;
  border-top: 1px solid rgba(72, 47, 30, 0.08);
}

/* ═══════════════════════════════════════════════
   QUICK ACTIONS on dashboard
═══════════════════════════════════════════════ */
.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.status-red {
  color: #b91c1c;
}

.status-green {
  color: #047857;
}

.status-black {
  color: var(--text);
}

@media print {
  body {
    padding: 0;
    background: #fff;
  }

  .menu,
  .site-header,
  .back-link,
  .button-link,
  .site-nav,
  .auth-form-footer {
    display: none;
  }

  .form-container,
  .container,
  .receipt {
    box-shadow: none;
    border: 0;
    background: #fff;
  }
}

@media (max-width: 960px) {
  body {
    padding: 16px;
  }

  .site-header,
  .hero-grid,
  .login-card,
  .feature-grid,
  .hero-stats,
  .login-points {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
    padding: 20px;
  }

  .hero-copy,
  .hero-card,
  .login-panel,
  .form-container,
  .container {
    padding: 24px;
  }

  .hero-copy h1,
  .login-panel h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .order-filters-container form,
  .top-buttons,
  .form-group {
    flex-direction: column;
    align-items: stretch;
  }

  .form-label {
    flex: none;
  }

  table,
  .changes-table,
  #overlay-table-container table,
  .action-history-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ═══════════════════════════════════════════════
   TOPBAR (replaces full menu on main orders page)
═══════════════════════════════════════════════ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: linear-gradient(
    135deg,
    rgba(29, 36, 51, 0.97),
    rgba(18, 28, 46, 0.95)
  );
  border-radius: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(20, 29, 46, 0.18);
  flex-wrap: nowrap;
}

.topbar-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8ddd2;
  letter-spacing: 0.01em;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-username {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8ddd2;
}

.topbar-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.topbar-logout {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.topbar-logout:hover {
  color: #e8ddd2;
  border-color: rgba(255, 255, 255, 0.3);
}

.topbar-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  background: var(--brand-soft);
  border: 1px solid rgba(29, 78, 216, 0.3);
  transition:
    background 0.15s,
    border-color 0.15s;
}

.topbar-admin-link:hover {
  background: #bfdbfe;
  border-color: rgba(29, 78, 216, 0.5);
}

/* ═══════════════════════════════════════════════
   ADMIN ASIDE
═══════════════════════════════════════════════ */
.admin-aside {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 200;
}

.admin-aside-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    160deg,
    rgba(29, 36, 51, 0.97),
    rgba(18, 28, 46, 0.95)
  );
  border-radius: 14px 0 0 14px;
  padding: 14px 10px;
  box-shadow: -4px 0 24px rgba(20, 29, 46, 0.22);
}

.admin-aside-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 4px;
}

.admin-aside-link {
  display: block;
  color: #e8ddd2;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background 0.15s;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.03em;
}

.admin-aside-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════
   PAGE TOOLBAR (orders list top row)
═══════════════════════════════════════════════ */
.page-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.toolbar-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.filter-select {
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #f3f4f6;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  min-width: 180px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--brand);
}

.filter-search {
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #f3f4f6;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  flex: 1;
  min-width: 160px;
}

.filter-search:focus {
  outline: none;
  border-color: var(--brand);
}

.filter-btn {
  height: 38px;
  padding: 0 16px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.filter-btn:hover {
  background: var(--brand-deep);
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(72, 47, 30, 0.08);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background 0.15s,
    color 0.15s;
}

.filter-clear:hover {
  background: rgba(72, 47, 30, 0.16);
  color: var(--text);
}

/* Calm theme overrides: toned, darker for better readability */
:root {
  --bg: #e8ecf1;
  --surface: #f3f4f6;
  --surface-strong: #ffffff;
  --surface-dark: #1f2937;
  --line: rgba(31, 41, 55, 0.18);
  --text: #111827;
  --muted: #374151;
  --brand: #1d4ed8;
  --brand-deep: #1e40af;
  --brand-soft: #dbeafe;
  --accent: #065f46;
  --accent-soft: #ccfbf1;
  --danger: #991b1b;
  --success: #14532d;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 4px 12px rgba(15, 23, 42, 0.08);
}

body {
  background: #dde1e6;
  text-align: left;
}

.site-header,
.hero-copy,
.hero-card,
.login-panel,
.form-container,
.container,
.feature-card,
.status-card,
.stat-card,
.overlay-content,
.overlay-content-del,
.overlay-inner {
  background: #f9fafb;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
}

.hero-copy h1,
.login-panel h1,
.hero-card h2,
.form-container h2,
.container h2,
.container h3,
.form-container h3 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.site-nav a,
.back-link,
.auth-form-footer a,
.button-link,
button,
.btn-print,
.btn-delete,
.continue-button,
.pagination a {
  border-radius: 10px;
  transform: none;
  box-shadow: none;
}

.button-link,
button,
.btn-print,
.continue-button,
.filter-btn {
  background: var(--brand);
  color: #fff;
}

.button-link:hover,
button:hover,
.btn-print:hover,
.continue-button:hover,
.filter-btn:hover,
.pagination a:hover,
.menu ul li a:hover {
  transform: none;
  box-shadow: none;
  filter: brightness(0.96);
}

.button-link-muted {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.menu,
.panel-subnav,
.topbar,
.admin-aside-inner,
.login-panel {
  background: #e5e7eb;
  border: 1px solid var(--line);
  box-shadow: none;
}

.menu ul li a,
.panel-subnav ul li a {
  background: #f3f4f6;
  color: var(--text);
  border: 1px solid var(--line);
}

.panel-subnav ul li a:hover,
.panel-subnav ul li a.active,
.menu ul li a:hover {
  background: #e5e7eb;
  color: var(--text);
}

.topbar-brand,
.topbar-username,
.topbar-role,
.topbar-logout,
.admin-aside-label,
.admin-aside-link {
  color: var(--text);
}

.topbar-logout,
.menu-user,
.admin-aside-link {
  border: 1px solid var(--line);
  background: #f3f4f6;
}

.menu-user {
  color: var(--text);
}

.menu-user-role {
  color: var(--muted);
}

.badge {
  border-radius: 8px;
}

.badge-status-2,
.badge-status-3,
.badge-status-4,
.badge-status-6 {
  /* Final landing navigation fix (must stay at end of file) */
  body.landing-body .sticky-nav {
    padding: 16px 30px !important;
  }

  body.landing-body .sticky-nav .sticky-nav-inner {
    gap: 18px;
  }

  body.landing-body .sticky-nav .site-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    padding: 6px !important;
    border-radius: 999px !important;
    background: rgba(16, 10, 6, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(10px);
  }

  body.landing-body .sticky-nav .site-nav a {
    border: none !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    font-size: 1.02rem !important;
    line-height: 1;
    padding: 10px 14px !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.landing-body .sticky-nav .site-nav a::after {
    display: none !important;
  }

  body.landing-body .sticky-nav .site-nav a:not(.site-nav-status):hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
  }

  body.landing-body .sticky-nav .site-nav .site-nav-status {
    background: linear-gradient(135deg, #c56745, #8f3419) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 228, 196, 0.45) !important;
    font-weight: 700;
    padding: 11px 18px !important;
    box-shadow: 0 10px 20px rgba(145, 57, 29, 0.35) !important;
  }

  body.landing-body .sticky-nav .site-nav .site-nav-status:hover {
    filter: brightness(1.05);
  }

  body.landing-body .sticky-nav.nav-scrolled {
    padding: 9px 30px !important;
    background: rgba(255, 252, 247, 0.94) !important;
    border-bottom: 1px solid rgba(145, 57, 29, 0.1);
  }

  body.landing-body .sticky-nav.nav-scrolled .site-nav {
    background: rgba(255, 248, 241, 0.95) !important;
    border-color: rgba(145, 57, 29, 0.16) !important;
    box-shadow: 0 10px 22px rgba(30, 20, 10, 0.12) !important;
  }

  body.landing-body .sticky-nav.nav-scrolled .site-nav a:not(.site-nav-status) {
    color: #3f2b1f !important;
  }

  body.landing-body
    .sticky-nav.nav-scrolled
    .site-nav
    a:not(.site-nav-status):hover {
    background: rgba(145, 57, 29, 0.1) !important;
    color: #6f2814 !important;
  }

  body.landing-body .sticky-nav .brand-logo {
    height: 46px !important;
    width: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  }

  body.landing-body .sticky-nav.nav-scrolled .brand-logo {
    filter: none;
  }

  @media (max-width: 980px) {
    body.landing-body .sticky-nav {
      padding: 12px 18px !important;
    }

    body.landing-body .sticky-nav .sticky-nav-inner {
      flex-direction: column;
      gap: 10px;
    }

    body.landing-body .sticky-nav .site-nav {
      width: 100%;
      justify-content: center;
      flex-wrap: wrap;
      border-radius: 16px !important;
    }

    body.landing-body .sticky-nav .site-nav a {
      font-size: 0.98rem !important;
      padding: 10px 12px !important;
    }

    body.landing-body .sticky-nav .site-nav .site-nav-status {
      font-size: 1rem !important;
    }
  }
  background: #2563eb;
}

.badge-status-1,
.badge-status-7 {
  background: #6b7280;
}

.badge-status-5 {
  background: #166534;
}

table th,
.changes-table th,
#overlay-table-container th,
.action-history-table th {
  background: #e5e7eb;
  color: var(--text);
  font-weight: 700;
}

table tr:nth-child(even) {
  background-color: #f3f4f6;
}

table tr:hover {
  background-color: #ede9fe;
}

.flash-success,
.flash-error,
.flash-info,
.flash-warning,
.unsaved-warning,
#formMessage.is-success,
#formMessage.is-error,
.error,
.error-banner {
  background: #f0fdf4;
  color: #1f2937;
  border: 1px solid rgba(20, 83, 45, 0.3);
  box-shadow: none;
}

.error,
.error-banner {
  color: #7c2d12;
  border-color: rgba(153, 27, 27, 0.35);
  background: #fef1f2;
}

.stack-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inline-form {
  display: inline;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-small {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 0.85rem;
}

.form-container-spaced {
  margin-top: 24px;
}

.page-toolbar-compact {
  margin-bottom: 16px;
}

.page-title-inline {
  margin: 0;
}

.order-header-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-large {
  font-size: 0.88rem;
  padding: 9px 16px;
}

.badge-compact {
  font-size: 0.74rem;
}

.order-delete-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.menu-user-logout {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}

.menu-user-logout:hover {
  color: var(--text);
}

.is-hidden {
  display: none;
}

.status-page {
  width: min(100%, 920px);
  text-align: left;
}

/* ── Status page hero ── */
.status-scene {
  position: relative;
  background: transparent;
}

.status-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 5, 0.42) 0%,
    rgba(10, 8, 5, 0.28) 40%,
    rgba(10, 8, 5, 0.78) 75%,
    rgba(10, 8, 5, 0.92) 100%
  );
  pointer-events: none;
}

.status-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-start;
  padding-top: 92px;
  padding-bottom: 56px;
  overflow: hidden;
}

.status-hero-content {
  position: relative;
  z-index: 2;
  padding: 28px 48px 48px;
  text-align: left;
}

.status-hero-title {
  margin: 10px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.status-hero-title em {
  font-style: italic;
  color: rgba(246, 213, 197, 0.95);
}

.status-hero-sub {
  margin: 0;
  color: rgba(255, 248, 242, 0.88);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Panel UI polish: layout and button consistency */
.panel-shell {
  text-align: left;
}

.panel-shell .container,
.panel-shell .form-container {
  padding: clamp(18px, 2.3vw, 30px);
}

.panel-shell h2,
.panel-shell h3 {
  margin-bottom: 14px;
}

.page-toolbar {
  align-items: stretch;
  margin-bottom: 20px;
}

.page-toolbar > .button-link {
  min-height: 42px;
  padding: 10px 18px;
}

.toolbar-filter {
  align-items: stretch;
}

.toolbar-filter .filter-select,
.toolbar-filter .filter-search,
.toolbar-filter .filter-btn,
.toolbar-filter .filter-clear {
  margin: 0;
}

.toolbar-filter .filter-select,
.toolbar-filter .filter-search,
.toolbar-filter .filter-btn {
  min-height: 42px;
}

.admin-table-wrapper,
#ordersTable {
  margin-top: 14px;
}

#ordersTable {
  min-width: 860px;
}

.orders-action-col {
  white-space: nowrap;
}

.admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions .inline-form {
  display: inline-flex;
}

.admin-actions .btn-small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.overlay-actions button {
  min-height: 40px;
  padding: 9px 16px;
}

.form-group {
  align-items: flex-start;
}

.form-label {
  padding-top: 14px;
}

@media (max-width: 900px) {
  .page-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-filter {
    width: 100%;
  }

  .page-toolbar > .button-link {
    width: 100%;
  }

  .user-footer {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .panel-shell .container,
  .panel-shell .form-container {
    border-radius: 16px;
  }

  .order-table-wrapper {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  #ordersTable th:last-child,
  #ordersTable td:last-child {
    position: sticky;
    right: 0;
    z-index: 1;
  }

  #ordersTable th:last-child {
    z-index: 2;
    box-shadow: -10px 0 18px rgba(255, 253, 249, 0.92);
  }

  #ordersTable td:last-child {
    background: rgba(255, 253, 249, 0.98);
    box-shadow: -10px 0 18px rgba(255, 253, 249, 0.92);
  }

  table th,
  table td,
  .action-history-table th,
  .action-history-table td {
    padding: 10px 8px;
    font-size: 0.84rem;
  }

  .form-group {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
  }

  .form-label {
    flex: none;
    width: 100%;
    padding-top: 0;
  }

  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions .inline-form,
  .admin-actions .btn-small {
    width: 100%;
  }

  .admin-actions .inline-form button {
    width: 100%;
  }
}

/* ── Page shell for status ── */
.status-shell {
  padding: 0 24px 60px;
  max-width: 1040px;
  min-height: 60vh; /* push footer below the fold */
  position: relative;
  z-index: 2;
}

body.landing-body.status-body .site-footer {
  position: relative;
  z-index: 3;
  max-width: none;
  margin-top: 0;
  padding: 28px 32px 20px;
  background: rgba(255, 252, 247, 0.96);
  color: var(--text);
  border-top: 1px solid rgba(145, 57, 29, 0.12);
  backdrop-filter: blur(10px);
}

body.landing-body.status-body .site-footer a {
  color: var(--text);
}

body.landing-body.status-body .site-footer a:hover {
  color: var(--brand-deep);
}

body.landing-body.status-body .footer-logo {
  opacity: 1;
}

.status-card-outer {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 36px;
  margin-top: -72px;
  position: relative;
  z-index: 10;
}

/* ── Search block ── */
.status-search-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.status-form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .status-hero-content {
    padding: 20px 20px 32px;
  }
  .status-card-outer {
    padding: 20px;
    margin-top: -24px;
  }
  .status-shell {
    padding: 0 12px 40px;
  }
}

.status-page-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.status-page h2 {
  margin: 0 0 6px;
}

.status-page-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.status-form {
  display: grid;
  gap: 10px;
}

.status-form-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.status-form-row input {
  flex: 1;
  margin: 0;
}

.status-form-row button {
  flex-shrink: 0;
  white-space: nowrap;
}

.status-not-found {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fef1f2;
  border: 1px solid rgba(153, 27, 27, 0.2);
  color: #7c2d12;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Result card ── */
.status-result {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Order info header ── */
.status-order-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.status-order-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.status-order-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-order-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.status-order-cost {
  color: var(--brand-deep);
}

/* ── Current status badge ── */
.status-current-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-current-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.status-current-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── Progress bar ── */
.status-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.status-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  transition: width 0.6s ease;
}

.status-progress-pct {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Step indicators ── */
.status-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.status-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.status-step:last-child {
  border-bottom: none;
}

.status-step-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  border: 1.5px solid #d1d5db;
}

/* done */
.status-step.done {
  color: var(--text);
}

.status-step.done .status-step-dot {
  background: var(--accent);
  border-color: var(--accent);
}

/* active */
.status-step.active {
  color: var(--text);
  font-weight: 700;
  background: var(--brand-soft);
}

.status-step.active .status-step-dot {
  background: var(--brand);
  border-color: var(--brand);
  position: relative;
}

.status-step-pulse {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

/* pending (future) */
.status-step.pending {
  opacity: 0.45;
}

.status-step.pending .status-step-dot {
  background: transparent;
}

@media (max-width: 768px) {
  body.landing-body.status-body .status-shell .status-steps {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  body.landing-body.status-body .status-shell .status-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    min-height: 72px;
    padding: 9px 7px !important;
    text-align: center !important;
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    border-bottom: 1px solid var(--line) !important;
    background: rgba(255, 255, 255, 0.82) !important;
  }

  body.landing-body.status-body .status-shell .status-step span {
    display: block;
    word-break: break-word;
    hyphens: auto;
  }

  body.landing-body.status-body .status-shell .status-step:last-child {
    border-bottom: 1px solid var(--line) !important;
  }
}

@media (max-width: 480px) {
  body.landing-body.status-body .status-shell .status-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ── Latest event banner ── */
.status-latest-event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
}

.status-latest-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.status-latest-title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.status-latest-time {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Toggle history button ── */
.status-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition:
    background 0.2s,
    border-color 0.2s;
  align-self: flex-start;
}

.status-toggle-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  transform: none;
  box-shadow: none;
}

.status-toggle-btn svg {
  transition: transform 0.25s ease;
}

/* ── History timeline ── */
.status-history {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.status-history-title {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 14px;
}

.status-history-timeline {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.status-history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.status-history-item:last-child {
  border-bottom: none;
}

.status-history-item.is-latest {
  background: var(--brand-soft);
}

.status-history-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.status-history-item.is-latest .status-history-dot {
  background: var(--brand);
}

.status-history-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  flex: 1;
}

.status-history-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.status-history-time {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: auto;
}

.status-no-history {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 540px) {
  .status-form-row {
    flex-direction: column;
  }
}

.signature-spaced {
  margin-bottom: 30px;
}

/* Final minimalist landing menu */
body.landing-body .sticky-nav .site-nav {
  gap: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.landing-body .sticky-nav .site-nav a {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 6px 0 !important;
  color: rgba(255, 255, 255, 0.96) !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 1.04rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.015em !important;
  text-transform: none;
  position: relative;
}

body.landing-body .sticky-nav .site-nav a::after {
  content: "" !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

body.landing-body .sticky-nav .site-nav a:hover::after {
  transform: scaleX(1);
}

body.landing-body .sticky-nav .site-nav a:hover {
  color: #fff !important;
  transform: none !important;
}

body.landing-body .sticky-nav .site-nav a.site-nav-status,
body.landing-body .sticky-nav.nav-scrolled .site-nav a.site-nav-status {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 6px 0 !important;
  color: #60a5fa !important;
}

body.landing-body .sticky-nav .site-nav .site-nav-status::after {
  transform: scaleX(1);
  background: #60a5fa;
}

body.landing-body .sticky-nav.nav-scrolled .site-nav a {
  color: #3f2b1f !important;
}

body.landing-body .sticky-nav.nav-scrolled .site-nav a::after {
  background: #8f3419;
}

body.landing-body .sticky-nav.nav-scrolled .site-nav .site-nav-status {
  color: #1d4ed8 !important;
}

body.landing-body .sticky-nav.nav-scrolled .site-nav .site-nav-status::after {
  background: #1d4ed8;
}

@media (max-width: 980px) {
  body.landing-body .sticky-nav .site-nav {
    gap: 12px !important;
    justify-content: center;
    flex-wrap: wrap;
  }

  body.landing-body .sticky-nav .site-nav a {
    font-size: 0.96rem !important;
  }
}

/* Final logo visibility tuning */
body.landing-body .sticky-nav .brand-logo {
  height: clamp(36px, 3.6vw, 46px) !important;
  width: auto;
  filter: none !important;
  opacity: 1;
}

body.landing-body .sticky-nav.nav-scrolled .brand-logo {
  filter: none !important;
}

body.landing-body .footer-logo {
  height: 44px;
  width: auto;
  opacity: 0.95;
}

@media (max-width: 980px) {
  body.landing-body .sticky-nav .brand-logo {
    height: 36px !important;
  }

  body.landing-body .footer-logo {
    height: 40px;
  }
}

.simple-login-shell {
  width: 100%;
}

.simple-login-card {
  width: min(100%, 460px);
  margin: 0 auto;
  text-align: left;
}

.simple-login-note {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.simple-login-footer {
  margin-top: 16px;
}

.simple-login-footer a {
  width: 100%;
}

/* Final mobile polish: menu button + pricing cards */
body.landing-body .sticky-nav .site-nav-toggle {
  min-height: 0 !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #111 !important;
  box-shadow: none !important;
  transition: background 0.18s ease;
}

body.landing-body .sticky-nav .site-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.86) !important;
  transform: none !important;
  box-shadow: none !important;
}

body.landing-body .sticky-nav.nav-scrolled .site-nav-toggle {
  min-height: 0 !important;
  background: rgba(10, 8, 6, 0.08) !important;
  color: #1a1410 !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  body.landing-body .sticky-nav .site-nav-toggle {
    display: inline-flex !important;
  }

  body.landing-body .pricing-section {
    padding: 28px 14px !important;
    border-radius: 20px !important;
  }

  body.landing-body .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.landing-body .pricing-card {
    padding: 18px 14px !important;
    border-radius: 18px !important;
  }

  body.landing-body .pricing-card h3 {
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
    font-size: 1.45rem !important;
  }

  body.landing-body .pricing-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.landing-body .pricing-section .pricing-table {
    display: table;
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    border: none !important;
    background: rgba(18, 13, 10, 0.9) !important;
  }

  body.landing-body .pricing-section .pricing-table thead {
    display: table-header-group;
  }

  body.landing-body .pricing-section .pricing-table tbody {
    display: table-row-group;
  }

  body.landing-body .pricing-section .pricing-table tr {
    display: table-row;
  }

  body.landing-body .pricing-section .pricing-table td {
    display: table-cell;
    padding: 10px 8px !important;
    line-height: 1.45;
    vertical-align: top;
  }

  body.landing-body .pricing-section .pricing-table .price-range,
  body.landing-body .pricing-section .pricing-table .price-fixed,
  body.landing-body .pricing-section .pricing-table .price-add {
    white-space: nowrap;
    text-align: right;
  }

  body.landing-body .pricing-section .pricing-table .pricing-divider {
    display: table-row;
    margin: 0;
    padding: 0;
  }

  body.landing-body .pricing-section .pricing-table .pricing-divider td {
    display: table-cell;
    padding: 8px !important;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}
