/* ==========================================================================
   Neeedbook design system
   One palette, one type scale, one set of components.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self hosted)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Mehr Nastaliq Web";
  src: url("/assets/fonts/mehr.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/fonts/noto-sans-arabic-arabic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF,
    U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74,
    U+FE76-FEFC, U+1EE00-1EEFF;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/fonts/noto-sans-arabic-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --forest: #17372d;
  --forest-700: #1e463a;
  --forest-600: #275646;
  --deep: #0e211a;
  --gold: #c8a66b;
  --gold-soft: #e6d3ad;
  --gold-ink: #7a5a26;
  --paper: #f7f4ec;
  --paper-2: #efeade;
  --surface: #fffdf7;
  --ink: #21352b;
  --ink-strong: #12261d;
  --muted: #56665b;
  --line: #e2dbcc;
  --line-strong: #d3c9b4;

  --ok: #1f6b46;
  --ok-bg: #e7f4ec;
  --warn: #8a5a12;
  --warn-bg: #fbf1dc;
  --danger: #9b2c2c;
  --danger-bg: #fbe9e7;
  --info: #245b7a;
  --info-bg: #e8f1f7;

  --font-sans: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-display: "Mehr Nastaliq Web", "Noto Nastaliq Urdu", serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-sm: 0 1px 2px rgb(18 38 29 / 0.05);
  --shadow: 0 10px 30px rgb(18 38 29 / 0.07);
  --shadow-lg: 0 24px 60px rgb(14 33 26 / 0.14);

  --container: 1160px;
  --header-h: 76px;
  --tap: 46px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink-strong);
  line-height: 1.9;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--forest-600);
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

ul,
ol {
  padding-inline-start: 1.35em;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink-strong);
}

:focus-visible {
  outline: 3px solid #2f7a5c;
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--deep);
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.narrow {
  max-width: 820px;
  margin-inline: auto;
}

.icon {
  flex: none;
  vertical-align: -0.18em;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--tap);
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary {
  background: var(--gold);
  color: #17372d;
  box-shadow: 0 6px 18px rgb(200 166 107 / 0.28);
}

.btn-primary:hover {
  background: #d8b97f;
  color: #17372d;
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--forest);
  color: var(--forest);
}

.btn-forest {
  background: var(--forest);
  color: #fff;
}

.btn-forest:hover {
  background: var(--forest-600);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--paper-2);
}

.btn-wa {
  background: #1f8f5f;
  color: #fff;
}

.btn-wa:hover {
  background: #187a50;
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn.is-loading {
  pointer-events: none;
}

.btn.is-loading .btn-label {
  opacity: 0.75;
}

.btn.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgb(19 43 34 / 0.98);
  border-bottom: 1px solid rgb(200 166 107 / 0.38);
  color: #fff;
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 10px 22px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  flex: none;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  flex: none;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.5;
  color: #f1ddb3;
}

.brand-tag {
  display: block;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #b9c9bd;
  direction: ltr;
  text-align: right;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  color: #e2eae3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #f4dfb3;
  background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   معلومات Dropdown (Navigation Links)
   -------------------------------------------------------------------------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 12px;
}

.nav-caret {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-inline-start: 2px;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: 290px;
  background: #ffffff;
  color: #1e293b;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 100;
  animation: navDropFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  text-align: right;
}

@keyframes navDropFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: flex;
}

.nav-sublink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.15s ease;
}

.nav-sublink:hover,
.nav-sublink.is-active {
  background: #f0fdf4;
}

.nav-sublink-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: all 0.15s ease;
}

.nav-sublink:hover .nav-sublink-icon,
.nav-sublink.is-active .nav-sublink-icon {
  background: #d1fae5;
  color: #065f46;
}

.nav-sublink-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.nav-sublink-text small {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
  margin-top: 1px;
}

.mobile-nav-account-block {
  display: none;
}

/* --------------------------------------------------------------------------
   Header Actions (Left Side: Notifications, Account, CTA, Toggle)
   -------------------------------------------------------------------------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
  flex: none;
}

.header-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1ddb3;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  text-decoration: none;
  flex: none;
}

.header-icon-btn:hover,
.header-icon-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: #c8a66b;
  color: #ffffff;
  transform: translateY(-1px);
}

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

/* Red Notification Counter Badge */
.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #132b22;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.45);
  font-family: var(--font-input, -apple-system, sans-serif);
  pointer-events: none;
}

.notif-badge.hidden,
.notif-badge:empty {
  display: none !important;
}

/* Notification & Account Dropdowns */
.header-notif-dropdown-wrapper,
.header-account-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notif-dropdown-menu,
.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: auto;
  background: #ffffff;
  color: #1e293b;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  z-index: 100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: notifDropFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  text-align: right;
}

.notif-dropdown-menu {
  width: 330px;
  max-width: 92vw;
}

.account-dropdown-menu {
  width: 250px;
  padding: 6px;
}

@keyframes notifDropFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notif-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.notif-dropdown-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.notif-mark-all-btn {
  background: none;
  border: none;
  color: #047857;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}

.notif-mark-all-btn:hover {
  text-decoration: underline;
  background: #ecfdf5;
}

.notif-dropdown-list {
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  position: relative;
}

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

.notif-item:hover {
  background: #f8fafc;
}

.notif-item.is-unread {
  background: #f0fdf4;
}

.notif-item.is-unread:hover {
  background: #e6f9ed;
}

.notif-item-body {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 2px;
}

.notif-item-msg {
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 4px;
}

.notif-item-time {
  font-size: 10px;
  color: #94a3b8;
  font-family: var(--font-mono, monospace);
  direction: ltr;
  display: inline-block;
}

.notif-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex: none;
  margin-top: 5px;
}

.notif-empty-state {
  padding: 28px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
}

.notif-dropdown-footer {
  padding: 10px;
  text-align: center;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.notif-dropdown-footer a {
  font-size: 12px;
  color: #047857;
  font-weight: 700;
  text-decoration: none;
}

.notif-dropdown-footer a:hover {
  text-decoration: underline;
}

/* Account Dropdown Details */
.account-dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 6px;
  border: 1px solid #f1f5f9;
}

.account-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #17372d;
  color: #f1ddb3;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.account-user-meta {
  min-width: 0;
  flex: 1;
}

.account-user-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-user-email {
  display: block;
  font-size: 11px;
  color: #64748b;
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.account-menu-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.account-menu-admin {
  background: #fefce8;
  color: #854d0e;
}

.account-menu-admin:hover {
  background: #fef9c3;
  color: #713f12;
}

.account-menu-logout {
  color: #dc2626;
}

.account-menu-logout:hover {
  background: #fef2f2;
  color: #991b1b;
}

.account-dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 4px 6px;
}

.badge-unread-mini {
  margin-inline-start: auto;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}

.header-cta {
  margin-inline-start: 4px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  color: #ead8b4;
  cursor: pointer;
  flex: none;
  padding: 0;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  max-width: var(--container);
  margin: 26px auto 0;
  padding-inline: 22px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--deep);
  border: 1px solid rgb(200 166 107 / 0.42);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.hero-copy {
  padding: 48px 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: #f0d8a4;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgb(217 189 128 / 0.4);
  background: rgb(226 202 153 / 0.09);
  padding: 7px 13px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(31px, 3.4vw, 47px);
  line-height: 1.9;
  color: #fff;
  margin: 0 0 12px;
}

.hero h1 em {
  font-style: normal;
  color: #e9cb92;
}

.hero-lead {
  font-size: 15px;
  line-height: 2;
  color: #d3dfd7;
  max-width: 46ch;
  margin: 0 0 22px;
}

.hero-search {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  max-width: 520px;
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.16);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 10px;
}

.hero-search input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #2f7a5c;
}

.hero-search .btn {
  flex: none;
  min-height: 44px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-note {
  font-size: 12px;
  color: #b9cabd;
  margin: 16px 0 0;
}

.hero-art {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.02);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--deep) 0%, transparent 45%),
    linear-gradient(0deg, rgb(14 33 26 / 0.65), transparent 55%);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  inset-inline-start: 22px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}

.hero-caption span {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #ecd5a3;
}

.hero-caption strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
}

/* Trust chips directly under the hero */
.trust-bar {
  max-width: var(--container);
  margin: 14px auto 0;
  padding-inline: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-bar svg {
  color: var(--forest);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
main {
  flex: 1;
}

.section {
  padding-block: 62px;
}

.section-tight {
  padding-block: 42px;
}

.section-head {
  margin-bottom: 30px;
  max-width: 720px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: block;
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(25px, 3vw, 34px);
  margin: 0 0 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.guide-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.card-hover {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 21px;
  margin: 0 0 6px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  margin: 0;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  color: inherit;
}

.metric {
  text-align: center;
  padding: 24px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.metric::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--forest);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.6;
  color: var(--forest);
  margin-bottom: 2px;
}

.metric-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-strong);
}

.metric-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 2px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 20px;
  margin: 0 0 6px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.step-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-ink);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef3ee;
  color: var(--forest);
  margin-bottom: 14px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
  color: inherit;
}

.category-card .feature-icon {
  background: var(--paper-2);
  color: var(--gold-ink);
}

.category-card h3 {
  font-size: 19px;
  margin: 2px 0 4px;
}

.category-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.category-card .section-link {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Promise / CTA bands
   -------------------------------------------------------------------------- */
.band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px;
}

.band-gold {
  background: linear-gradient(135deg, #f3e7cf, #f8f2e4);
  border-color: #e3d2ae;
}

.band-dark {
  background: var(--deep);
  border-color: rgb(200 166 107 / 0.4);
  color: #e6eee8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.band-dark h2 {
  color: #fff;
  font-size: 27px;
  margin: 0 0 4px;
}

.band-dark p {
  color: #c3d2c8;
  margin: 0;
  font-size: 14px;
}

.band-dark .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--gold-ink);
  flex: none;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.faq-item[open] summary {
  background: #fbf8f0;
}

/* --------------------------------------------------------------------------
   Page hero / breadcrumbs / prose
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px 36px;
  margin-top: 26px;
}

.page-hero h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 8px;
}

.page-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "›";
  color: var(--line-strong);
}

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

.breadcrumbs a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.prose {
  font-size: 15px;
  line-height: 2.1;
  color: #33463a;
}

.prose > * + * {
  margin-top: 0.9em;
}

.prose h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}

.prose h3 {
  font-size: 20px;
  margin-top: 1.4em;
  margin-bottom: 0.3em;
}

.prose p,
.prose li {
  color: #3d5044;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.3em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose a {
  color: var(--forest);
  font-weight: 600;
}

.prose blockquote {
  margin: 1.2em 0;
  padding: 16px 20px;
  border-inline-start: 4px solid var(--gold);
  background: #fbf8f0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: start;
}

.prose th {
  background: var(--paper-2);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  font-size: 14px;
  font-weight: 700;
  color: #2b4034;
}

.req {
  color: #a33434;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #d8d2c5;
  border-radius: 11px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: #c3bca9;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: #2f7a5c;
  box-shadow: 0 0 0 3px rgb(47 122 92 / 0.14);
}

.input::placeholder,
.textarea::placeholder {
  color: #8b948c;
  opacity: 1;
}

.textarea {
  min-height: 96px;
  resize: vertical;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2356665b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-inline-end: 14px;
  padding-inline-start: 38px;
}

[dir="rtl"] .select {
  background-position: left 14px center;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.field-error {
  font-size: 12.5px;
  color: var(--danger);
  font-weight: 600;
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.checkbox input {
  width: 19px;
  height: 19px;
  margin-top: 4px;
  accent-color: var(--forest);
  flex: none;
}

.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px;
  border: 1.5px dashed #cfc7b5;
  border-radius: 12px;
  background: #fbf8f1;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.file-drop:hover,
.file-drop.is-drag {
  border-color: var(--gold);
  background: #fdf9f0;
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop strong {
  color: var(--ink);
  font-size: 13.5px;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
}

.file-preview img {
  width: 44px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper-2);
}

.file-preview button {
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  min-height: 36px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.form-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #f2f6f2;
  border: 1px solid #dbe6dc;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: #41574a;
  line-height: 1.8;
}

.form-note svg {
  color: var(--forest);
  margin-top: 2px;
}

/* Stepper (request form) */
.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.stepper li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  flex: 1;
}

.stepper li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 12px;
  flex: none;
}

.stepper li.is-done::before {
  content: "✓";
  background: var(--forest);
  color: #fff;
}

.stepper li.is-current {
  color: var(--ink-strong);
}

.stepper li.is-current::before {
  background: var(--gold);
  color: var(--deep);
}

.step-panel[hidden] {
  display: none;
}

/* Alerts */
.alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.8;
  border: 1px solid transparent;
  margin-bottom: 16px;
}

.alert svg {
  margin-top: 2px;
  flex: none;
}

.alert-error {
  background: var(--danger-bg);
  border-color: #ecc5c0;
  color: #7d2323;
}

.alert-success {
  background: var(--ok-bg);
  border-color: #bfddc9;
  color: #1c5a3b;
}

.alert-info {
  background: var(--info-bg);
  border-color: #c6dce8;
  color: #234f68;
}

.alert-warn {
  background: var(--warn-bg);
  border-color: #ead6a8;
  color: #7a500f;
}

/* --------------------------------------------------------------------------
   Auth
   -------------------------------------------------------------------------- */
.auth-wrap {
  max-width: 560px;
  margin: 40px auto 70px;
  padding-inline: 18px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: clamp(26px, 4vw, 32px);
  margin: 0 0 6px;
}

.auth-card > p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

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

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0;
}

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

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8d2c5;
  border-radius: 11px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.google-btn:hover {
  border-color: #bdb5a3;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.google-btn svg {
  width: 20px;
  height: 20px;
}

.auth-switch {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin: 20px 0 0;
}

.auth-switch a {
  font-weight: 700;
}

.auth-aside {
  text-align: center;
  font-size: 13px;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   Contact / team / pricing
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item .feature-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  flex: none;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.contact-item a,
.contact-item span.value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-strong);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.tabs {
  display: flex;
  gap: 4px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}

.tabs button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}

.tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--ink-strong);
  box-shadow: var(--shadow-sm);
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--gold-ink);
}

.price-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.price-line:last-child {
  border-bottom: 0;
}

.price-line .feature-icon {
  width: 38px;
  height: 38px;
  margin: 0;
  flex: none;
  background: #f5efe2;
  color: var(--gold-ink);
}

.price-line strong {
  display: block;
  color: var(--ink-strong);
  font-size: 15px;
}

.price-line p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Tracking
   -------------------------------------------------------------------------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.tone-pending {
  background: var(--warn-bg);
  color: var(--warn);
}

.tone-progress,
.tone-info {
  background: var(--info-bg);
  color: var(--info);
}

.tone-success {
  background: var(--ok-bg);
  color: var(--ok);
}

.tone-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.track-card {
  margin-top: 22px;
}

.track-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.track-head h2 {
  font-size: 24px;
  margin: 0;
}

.track-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--muted);
  direction: ltr;
  unicode-bidi: isolate;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline li {
  position: relative;
  padding-inline-start: 34px;
  padding-bottom: 18px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: #fff;
}

.timeline li.is-done::before {
  border-color: var(--forest);
  background: var(--forest);
}

.timeline li.is-current::before {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgb(200 166 107 / 0.2);
}

.timeline li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline li:last-child::after {
  display: none;
}

.timeline strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink-strong);
}

.timeline span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.track-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.track-meta div span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.track-meta div strong {
  font-size: 14px;
  color: var(--ink-strong);
}

.track-meta .ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 60px;
  background: #10271f;
  color: #cfdad2;
  border-top: 1px solid rgb(222 195 141 / 0.3);
  padding: 46px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr 0.95fr 0.9fr 1.25fr;
  gap: 24px;
  padding-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1ddb3;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  display: block;
  line-height: 1.5;
}

.footer-brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #a9bbae;
  direction: ltr;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.95;
  color: #b3c2b7;
  margin: 0 0 12px;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: #e8d3a4;
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #cfdad2;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: #f4dfb3;
  text-decoration: underline;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.footer-contact li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #cfdad2;
}

.footer-contact svg {
  color: var(--gold);
  margin-top: 3px;
  flex: none;
}

.footer-contact a {
  color: #cfdad2;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #f4dfb3;
}

.pay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pay-list span {
  font-size: 10.5px;
  font-weight: 700;
  color: #dfe8e1;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.05);
  border-radius: 6px;
  padding: 4px 8px;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9fb1a4;
  letter-spacing: 0.2px;
}

.footer-bottom a {
  color: #c4d4c8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #f4dfb3;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #9fb1a4;
}

.footer-credit a {
  font-weight: 600;
  color: #e5d7ba;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgb(229 215 186 / 0.4);
}

.footer-credit a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.footer-heart {
  color: #ef4444;
  font-size: 12px;
  display: inline-block;
  transform: translateY(-0.5px);
  animation: pulse-heart 1.8s ease-in-out infinite;
}

@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* --------------------------------------------------------------------------
   Floating actions (mobile)
   -------------------------------------------------------------------------- */
.fab-wa {
  position: fixed;
  z-index: 55;
  inset-inline-end: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f8f5f;
  color: #fff;
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.22);
  text-decoration: none;
}

.fab-wa:hover {
  background: #187a50;
  color: #fff;
  transform: translateY(-2px);
}

.fab-wa svg {
  width: 27px;
  height: 27px;
}

.sticky-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   Compatibility hooks for account pages that still use older utility names
   -------------------------------------------------------------------------- */
.font-input {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--forest);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-primary:hover {
  background: var(--forest-700);
}

.hero-primary:active {
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   Legacy customer portal (kept until the account area is rebuilt)
   -------------------------------------------------------------------------- */
.page-shell {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding: 34px 22px 60px;
}

.customer-portal-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.customer-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.user-card-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.user-avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #e9f2eb;
  color: var(--forest);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}

.user-info-mini strong {
  display: block;
  font-size: 16px;
  color: var(--ink-strong);
}

.user-info-mini small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.customer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cnav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 11px;
  color: #33473a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.cnav-item:hover {
  background: var(--paper-2);
  color: var(--ink-strong);
}

.cnav-item.active {
  background: var(--forest);
  color: #fff;
}

.badge-unread {
  margin-inline-start: auto;
  background: #b3261e;
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

.customer-panel-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-head h1 {
  font-size: 25px;
  margin: 0;
  color: var(--forest);
}

.account-details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 18px 0;
}

.account-details h2 {
  font-size: 23px;
  margin: 0 0 10px;
}

.account-details p {
  font-size: 14px;
  margin: 7px 0;
  color: #3d5044;
}

.account-logout {
  display: inline-block;
  margin: 12px;
  color: var(--danger);
  text-decoration: none;
}

.account-request-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-request-list article {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 15px;
  border-radius: 12px;
}

.account-request-list h3 {
  font-size: 19px;
  color: var(--forest);
  margin: 0 0 6px;
}

.notice-success {
  padding: 14px 17px;
  border-radius: 12px;
  background: var(--ok-bg);
  border: 1px solid #bfddc9;
  color: var(--ok);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
}

.notice-success button {
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 34px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin-block: 26px;
}

.callout {
  background: #fbf8f0;
  border: 1px solid #e8ddc6;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 13.5px;
  color: #4a5b4f;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .nav-link {
    padding-inline: 9px;
    font-size: 13px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
  .footer-contact-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }
  .hero-card {
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 280px;
    order: -1;
  }
  .hero-art::after {
    background: linear-gradient(0deg, var(--deep) 0%, transparent 70%);
  }
  .hero-copy {
    padding: 32px 28px 34px;
  }
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-portal-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px;
  }
  .page-hero {
    padding: 26px 24px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
  }
  .header-inner {
    padding: 10px 16px;
    gap: 12px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-cta {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #132b22;
    border-bottom: 1px solid rgba(200, 166, 107, 0.35);
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    z-index: 80;
    animation: notifDropFade 0.2s ease;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-dropdown::after {
    display: none;
  }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    margin-top: 4px;
    margin-bottom: 4px;
    display: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex;
  }
  .nav-sublink {
    color: #e2eae3;
  }
  .nav-sublink:hover,
  .nav-sublink.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #f4dfb3;
  }
  .nav-sublink-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #f1ddb3;
  }
  .nav-sublink-text strong {
    color: #f1ddb3;
  }
  .nav-sublink-text small {
    color: #94a3b8;
  }
  .mobile-nav-account-block {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 10px;
    padding-top: 12px;
  }
  .mobile-account-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 8px;
    color: #f1ddb3;
  }
  .mobile-account-meta strong {
    display: block;
    font-size: 13px;
    color: #ffffff;
  }
  .mobile-account-meta small {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    direction: ltr;
    text-align: right;
  }
  .mobile-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: #e2eae3;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s ease;
  }
  .mobile-sublink:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f1ddb3;
  }
  .notif-dropdown-menu,
  .account-dropdown-menu {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  }
  .brand-tag {
    display: none;
  }
  .brand-name {
    font-size: 21px;
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: 46px;
  }
  .section-tight {
    padding-block: 32px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    margin-top: 12px;
    padding-inline: 12px;
  }
  .hero-card {
    border-radius: 20px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-copy {
    padding: 26px 20px 28px;
  }
  .hero-search {
    flex-direction: column;
    padding: 8px;
  }
  .hero-search .btn {
    width: 100%;
  }
  .trust-bar {
    padding-inline: 16px;
    font-size: 12px;
    gap: 6px 14px;
  }
  .container {
    padding-inline: 16px;
  }
  .page-hero {
    margin-top: 14px;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .band {
    padding: 24px;
    border-radius: 20px;
  }
  .band-dark {
    flex-direction: column;
    align-items: flex-start;
  }
  .band-dark .actions {
    width: 100%;
  }
  .band-dark .actions .btn {
    flex: 1;
  }
  .form-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-brand-col,
  .footer-policy-col,
  .footer-contact-col {
    grid-column: 1 / -1;
  }
  .footer-policy-col .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer {
    margin-top: 44px;
    padding-top: 34px;
  }
  .track-meta {
    grid-template-columns: 1fr;
  }
  .stepper li {
    font-size: 0;
    gap: 0;
  }
  .stepper li::before {
    font-size: 12px;
  }
  .stepper li.is-done::before {
    font-size: 12px;
  }
  .account-request-list {
    grid-template-columns: 1fr;
  }
  .customer-panel-content {
    padding: 18px;
  }
  .fab-wa {
    width: 50px;
    height: 50px;
    bottom: 76px;
  }
  .sticky-cta {
    position: fixed;
    z-index: 54;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgb(16 39 31 / 0.97);
    border-top: 1px solid rgb(200 166 107 / 0.35);
    backdrop-filter: blur(8px);
  }
  .sticky-cta .btn {
    flex: 1;
    min-height: 44px;
    font-size: 13px;
  }
  .sticky-cta .btn-secondary {
    flex: 0 0 auto;
    color: #e6eee8;
    border-color: rgb(255 255 255 / 0.25);
  }
  body.has-sticky-cta {
    padding-bottom: 68px;
  }
}

@media (max-width: 420px) {
  .hero-search {
    border-radius: 12px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .header-inner {
    padding-inline: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   PWA Update Toast Notification
   -------------------------------------------------------------------------- */
.pwa-update-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 380px;
  width: calc(100vw - 32px);
  background: #132b22;
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(200, 166, 107, 0.4);
  padding: 12px 16px;
  direction: rtl;
  text-align: right;
  animation: pwaSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pwaSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pwa-update-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-update-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(200, 166, 107, 0.2);
  color: #f1ddb3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
}

.pwa-update-text {
  flex: 1;
  min-width: 0;
}

.pwa-update-text strong {
  display: block;
  font-size: 13px;
  color: #f1ddb3;
  font-weight: 700;
  margin-bottom: 2px;
}

.pwa-update-text span {
  display: block;
  font-size: 11px;
  color: #b9c9bd;
  line-height: 1.35;
}

.pwa-update-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.pwa-update-btn-refresh {
  background: #c8a66b;
  color: #17372d;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.pwa-update-btn-refresh:hover {
  background: #d4b47a;
}

.pwa-update-btn-close {
  background: transparent;
  color: #b9c9bd;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.pwa-update-btn-close:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .pwa-update-toast {
    bottom: 74px; /* Above mobile sticky-cta */
    right: 16px;
    left: 16px;
    width: auto;
  }
}

@media print {
  .site-header,
  .site-footer,
  .fab-wa,
  .sticky-cta {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
