:root {
  /* === Color tokens === */
  --gold: #B48A2E;
  --gold-light: #D4A94A;
  --gold-pale: #F5E6B8;
  --navy: #0F1A33;
  --navy-mid: #1F2A44;
  --navy-light: #2C3954;
  --bg: #EEF1F5;
  --bg-alt: #F4F7FB;
  --card: #FFFFFF;
  --card-soft: rgba(255,255,255,0.85);
  --text: #0F1A33;
  --text-muted: #475168;
  --border: rgba(15,26,51,0.16);
  --border-strong: rgba(15,26,51,0.30);
  --shadow-sm: 0 1px 2px rgba(15,26,51,0.07);
  --shadow: 0 4px 14px rgba(15,26,51,0.12);
  --shadow-lg: 0 14px 36px rgba(15,26,51,0.18);

  /* === Typography scale === */
  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 15px;
  --fs-md:   17px;
  --fs-lg:   20px;
  --fs-xl:   24px;
  --fs-2xl:  30px;
  --fs-3xl:  38px;

  /* === Weight scale === */
  --fw-normal: 500;
  --fw-medium: 600;
  --fw-bold:   700;
  --fw-black:  900;

  /* === Spacing scale (4px base) === */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 40px;
  --sp-8: 48px;

  /* === Radius scale === */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* === Line heights === */
  --lh-tight: 1.25;
  --lh-snug:  1.45;
  --lh-base:  1.65;
  --lh-loose: 1.85;
}

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

body {
  font-family: 'Tajawal', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  line-height: var(--lh-base);
  overflow-x: hidden;
  min-height: 100vh;
}

/* === Type scale baseline === */
h1, .h1 { font-size: var(--fs-3xl); font-weight: var(--fw-black); line-height: var(--lh-tight); color: var(--navy); margin: 0; }
h2, .h2 { font-size: var(--fs-2xl); font-weight: var(--fw-black); line-height: var(--lh-tight); color: var(--navy); margin: 0; }
h3, .h3 { font-size: var(--fs-xl);  font-weight: var(--fw-bold);  line-height: var(--lh-snug);  color: var(--navy); margin: 0; }
h4, .h4 { font-size: var(--fs-md);  font-weight: var(--fw-bold);  line-height: var(--lh-snug);  color: var(--navy); margin: 0; }
h5, .h5 { font-size: var(--fs-base);font-weight: var(--fw-bold);  line-height: var(--lh-snug);  color: var(--navy); margin: 0; }
small, .text-small { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-muted { color: var(--text-muted); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(180,138,46,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 90%, rgba(70,85,119,0.04) 0%, transparent 60%),
    linear-gradient(160deg, #EEF1F5 0%, #E6EAF1 50%, #F4F6FA 100%);
  z-index: -1;
}

/* Removed the diagonal hatch overlay — it added visual noise that washed out cards. */

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--navy); }

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.85);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.logo { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; text-decoration: none; }
.logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 4px 12px rgba(180,138,46,0.25); color: #fff; }
.logo-image { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; box-shadow: 0 4px 12px rgba(15,26,51,0.08); }
.logo-text { line-height: 1.1; }
.logo-text .brand { font-size: 1.2rem; font-weight: 900; color: var(--navy); letter-spacing: 0.5px; }
.logo-text .tagline { font-size: 0.7rem; color: var(--text-muted); font-weight: 300; }

.header-nav { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.btn-ghost {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-admin {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  border: none;
  padding: 0.5rem 1.4rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(180,138,46,0.25);
}
.btn-admin:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(180,138,46,0.35); color: #fff; }

.lang-switcher select {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.hero { padding: 5rem 2.5rem 4rem; text-align: center; max-width: 1180px; margin: 0 auto; }
.hero h1 { white-space: nowrap; }
@media (max-width: 900px) { .hero h1 { white-space: normal; } }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(180,138,46,0.1); border: 1px solid rgba(180,138,46,0.25); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; color: var(--gold); margin-bottom: 2rem; font-weight: 500; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.2; margin-bottom: 1.2rem; color: var(--navy); }
.hero p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; max-width: 600px; margin: 0 auto 2.5rem; font-weight: 500; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 18px rgba(180,138,46,0.25);
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(180,138,46,0.4); color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--bg-alt); border-color: var(--gold); color: var(--navy); }

.section { padding: 3rem 2.5rem; max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 1.8rem; font-weight: 900; color: var(--navy); margin-bottom: 0.5rem; }
.section-title p { color: var(--text-muted); font-size: 0.95rem; }
.gold-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); margin: 0.8rem auto 0; }

.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media(max-width: 700px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: 20px; padding: 2.5rem; position: relative; overflow: hidden; transition: all 0.3s; box-shadow: var(--shadow); }
.plan-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.plan-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }

.plan-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }
.plan-name { font-size: 1.4rem; font-weight: 900; color: var(--navy); margin-bottom: 0.5rem; }
.plan-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }

.plan-prices { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; }
.price-item { display: flex; justify-content: space-between; align-items: center; background: var(--bg-alt); border: 1px solid var(--border); padding: 0.7rem 1rem; border-radius: 10px; }
.price-label { font-size: 0.9rem; color: var(--text-muted); }
.price-value { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.price-period { font-size: 0.75rem; color: var(--text-muted); }

.plan-btn { width: 100%; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #fff; border: none; padding: 0.85rem; border-radius: 10px; font-family: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; text-align: center; box-shadow: 0 3px 10px rgba(180,138,46,0.25); }
.plan-btn:hover { box-shadow: 0 6px 18px rgba(180,138,46,0.4); color: #fff; }

.flow-container { max-width: 1180px; margin: 2rem auto; padding: 0 1.5rem; }
.flow-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 2.5rem; flex-wrap: wrap; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.step-circle { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); background: #fff; transition: all 0.3s; }
.step-circle.active { border-color: var(--gold); background: var(--gold); color: #fff; }
.step-circle.done { border-color: var(--gold); background: rgba(180,138,46,0.15); color: var(--gold); }
.step-label { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; }
.step-line { flex: 1; min-width: 60px; max-width: 180px; height: 1px; background: var(--border); margin: 0 0.6rem 1.5rem; }
.step-line.done { background: var(--gold); }

.flow-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow); max-width: 1120px; margin: 0 auto; }
.flow-card h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 0.5rem; color: var(--navy); }
.flow-card .subtitle { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,46,0.12); }
.form-group select option { background: #fff; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }
/* Checkboxes and radios must NOT inherit the 100% width rule above. */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  accent-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Pill-style radio group used in checkout Start. */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}
.radio-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
  color: var(--text);
}
.radio-pill:hover { border-color: var(--gold); }
.radio-pill:has(input:checked) {
  border-color: var(--gold);
  background: rgba(180,138,46,0.06);
  box-shadow: 0 0 0 3px rgba(180,138,46,0.10);
}
.radio-pill input[type="radio"] { flex: 0 0 auto; width: 20px; height: 20px; accent-color: var(--gold); }
.pill-icon { font-size: 2.1rem; line-height: 1; flex: 0 0 auto; }
.pill-main { display: flex; flex-direction: column; gap: 0.2rem; line-height: 1.2; }
.pill-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.pill-price { font-size: 1.02rem; font-weight: 700; color: var(--gold); }

/* Inline checkbox row: full-width container, box adjacent to text. */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.6rem 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  cursor: pointer;
  accent-color: var(--gold);
}
.checkbox-row span { flex: 1 1 auto; line-height: 1.5; }

.form-actions { display: flex; gap: 1rem; justify-content: space-between; margin-top: 1rem; flex-wrap: wrap; }

.service-cat-title { font-size: 0.78rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 1rem 0 0.6rem; border-bottom: 1px solid var(--border); padding-bottom: 0.3rem; }
.service-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.8rem; border-radius: 8px; transition: background 0.2s; margin-bottom: 0.3rem; }
.service-item:hover { background: var(--bg-alt); }
.service-item label { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; flex: 1; font-size: 0.9rem; color: var(--text); }
.service-item input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--gold); }
.service-badge { font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: 20px; font-weight: 700; white-space: nowrap; }
.badge-included { background: rgba(180,138,46,0.12); color: var(--gold); border: 1px solid rgba(180,138,46,0.25); }
.badge-optional { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }
.service-addons { list-style: none; margin-top: 0.3rem; padding-inline-start: 1.4rem; }
.service-addons li { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }
.service-addons li::before { content: '↳ '; color: var(--gold); }

.order-summary { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.5rem; }
.summary-title { font-size: 0.85rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.9rem; }
.summary-row .label { color: var(--text-muted); font-weight: 500; }
.summary-row .value { color: var(--navy); font-weight: 600; }
.summary-divider { border: none; border-top: 1px solid var(--border); margin: 0.8rem 0; }
.summary-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; }
.summary-total .total-label { color: var(--navy); }
.summary-total .total-amount { color: var(--gold); }

.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.5rem; }
.payment-method { border: 1px solid var(--border); border-radius: 10px; padding: 1rem; cursor: pointer; transition: all 0.2s; text-align: center; background: #fff; box-shadow: var(--shadow-sm); }
.payment-method:hover, .payment-method.selected { border-color: var(--gold); background: rgba(180,138,46,0.06); }
.payment-method .pm-icon { font-size: 1.5rem; margin-bottom: 0.3rem; }
.payment-method .pm-name { font-size: 0.8rem; color: var(--text-muted); }

.activation-notice { display: flex; align-items: flex-start; gap: 0.8rem; background: rgba(180,138,46,0.08); border: 1px solid rgba(180,138,46,0.2); border-radius: 10px; padding: 1rem; margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.activation-notice .notice-icon { font-size: 1.2rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.success-screen { text-align: center; padding: 3rem 2rem; }
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-screen h3 { font-size: 1.8rem; font-weight: 900; color: var(--gold); margin-bottom: 0.8rem; }
.success-screen p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; max-width: 400px; margin: 0 auto 2rem; }
.policy-number { display: inline-block; background: rgba(180,138,46,0.1); border: 1px solid rgba(180,138,46,0.3); padding: 0.6rem 1.5rem; border-radius: 10px; font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 2rem; letter-spacing: 2px; }

.action-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }

.btn-cancel { background: #fff; border: 1px solid rgba(220,50,50,0.3); color: #d64545; padding: 0.6rem 1.5rem; border-radius: 8px; font-family: inherit; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-cancel:hover { background: rgba(220,50,50,0.08); border-color: #d64545; color: #d64545; }

.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 75px); }
.admin-sidebar { background: #fff; padding: 1.5rem 0; border-inline-end: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.sidebar-section { margin-bottom: 0.5rem; }
.sidebar-label { font-size: 0.68rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 0.5rem 1.5rem; }
.sidebar-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 1.5rem; cursor: pointer; transition: all 0.2s; font-size: 0.9rem; color: var(--text-muted); border-inline-start: 3px solid transparent; text-decoration: none; }
.sidebar-item:hover { background: var(--bg-alt); color: var(--navy); }
.sidebar-item.active { background: rgba(180,138,46,0.08); color: var(--gold); border-inline-start-color: var(--gold); }
.sidebar-item .si-icon { font-size: 1rem; width: 20px; text-align: center; }

/* Admin sidebar toggle — hidden on desktop (sidebar is always visible there). */
.admin-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.admin-nav-toggle .ant-icon { font-size: 1.2rem; line-height: 1; }

@media (max-width: 800px) {
  .admin-layout { grid-template-columns: 1fr; }
  /* Collapse the sidebar into a drawer toggled by the button. */
  .admin-nav-toggle { display: inline-flex; margin: 1rem 1rem 0; }
  .admin-sidebar { display: none; padding: 0.5rem 0; border-inline-end: none; border-bottom: 1px solid var(--border); }
  .admin-layout.sidebar-open .admin-sidebar { display: block; }
}

.admin-main { padding: 2rem; overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-header h2 { font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.admin-header p { color: var(--text-muted); font-size: 0.85rem; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
@media(max-width: 900px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: 14px; padding: 1.3rem; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.stat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.stat-icon { font-size: 1.5rem; margin-bottom: 0.7rem; }
.stat-value { font-size: 1.8rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }

.admin-table-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.table-header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
.table-header h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th { background: var(--bg-alt); padding: 0.75rem 1.2rem; text-align: start; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); }
td { padding: 0.85rem 1.2rem; font-size: 0.88rem; border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-alt); }

.status-badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.status-active { background: rgba(46,160,107,0.12); color: #2ea06b; border: 1px solid rgba(46,160,107,0.28); }
.status-pending { background: rgba(214,158,0,0.12); color: #c88d00; border: 1px solid rgba(214,158,0,0.28); }
.status-cancelled { background: rgba(214,69,69,0.10); color: #d64545; border: 1px solid rgba(214,69,69,0.25); }
.status-expired { background: rgba(120,130,150,0.12); color: #707a94; border: 1px solid rgba(120,130,150,0.25); }

.admin-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-tab { padding: 0.7rem 1.5rem; cursor: pointer; font-size: 0.9rem; color: var(--text-muted); border-bottom: 2px solid transparent; transition: all 0.2s; font-family: inherit; text-decoration: none; }
.admin-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.admin-tab:hover { color: var(--navy); }

.terms-editor { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.terms-textarea { width: 100%; min-height: 300px; background: #fff; border: none; color: var(--text); font-family: inherit; font-size: 0.93rem; padding: 1.2rem; outline: none; resize: vertical; line-height: 1.9; }

.service-manage-item { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1rem; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 0.6rem; background: #fff; flex-wrap: wrap; }
.service-manage-item input[type="text"] { flex: 1; min-width: 200px; background: transparent; border: none; color: var(--text); font-family: inherit; font-size: 0.9rem; outline: none; }

.toggle-switch { position: relative; width: 44px; height: 24px; cursor: pointer; display: inline-block; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: #e5e8ef; border-radius: 50px; transition: 0.3s; border: 1px solid var(--border); }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 2px; bottom: 2px; background: #fff; border-radius: 50%; transition: 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.toggle-switch input:checked + .toggle-slider { background: rgba(180,138,46,0.3); border-color: var(--gold); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); background: var(--gold); }

.btn-danger-sm { background: #fff; border: 1px solid rgba(214,69,69,0.28); color: #d64545; padding: 0.3rem 0.8rem; border-radius: 6px; font-family: inherit; font-size: 0.8rem; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-danger-sm:hover { background: rgba(214,69,69,0.08); color: #d64545; }

.btn-add-service { width: 100%; background: rgba(180,138,46,0.06); border: 1px dashed rgba(180,138,46,0.35); color: var(--gold); padding: 0.8rem; border-radius: 10px; font-family: inherit; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; margin-top: 0.5rem; text-decoration: none; display: block; text-align: center; }
.btn-add-service:hover { background: rgba(180,138,46,0.12); color: var(--navy); }

.pricing-box { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.pricing-box h4 { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.price-input-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; flex-wrap: wrap; gap: 0.5rem; }
.price-input-row label { font-size: 0.88rem; color: var(--text-muted); }
.price-input-wrap { display: flex; align-items: center; gap: 0.5rem; }
.price-input-wrap input { width: 100px; background: #fff; border: 1px solid var(--border); color: var(--text); padding: 0.5rem 0.8rem; border-radius: 8px; font-family: inherit; font-size: 0.95rem; text-align: center; outline: none; }
.price-input-wrap input:focus { border-color: var(--gold); }
.price-currency { font-size: 0.8rem; color: var(--text-muted); }

.alert { padding: 0.9rem 1.2rem; border-radius: 10px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-success { background: rgba(46,160,107,0.1); border: 1px solid rgba(46,160,107,0.28); color: #2ea06b; }
.alert-danger { background: rgba(214,69,69,0.08); border: 1px solid rgba(214,69,69,0.25); color: #d64545; }
.alert-info { background: rgba(180,138,46,0.08); border: 1px solid rgba(180,138,46,0.25); color: var(--gold); }

.validation-summary-errors, .validation-summary ul { color: #d64545; font-size: 0.85rem; margin-bottom: 1rem; list-style: none; }
.field-validation-error { color: #d64545; font-size: 0.8rem; display: block; margin-top: 0.3rem; }

.page-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 1.5rem; color: var(--navy); }
.page-subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

[dir="ltr"] body { font-family: 'Segoe UI', 'Arial', sans-serif; }

.auth-container { max-width: 560px; margin: 3rem auto; padding: 0 1.5rem; }
.auth-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: 20px; padding: 3rem 3.5rem; box-shadow: var(--shadow); }
@media (max-width: 600px) { .auth-card { padding: 2rem 1.5rem; } }
.auth-card h2 { font-size: 1.4rem; font-weight: 900; color: var(--navy); margin-bottom: 0.4rem; }
.auth-card .subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.terms-box { background: var(--bg-alt); border: 1px solid var(--border-strong); border-radius: 16px; padding: 2rem; font-size: 0.93rem; line-height: 2; color: var(--text); font-weight: 500; white-space: pre-line; max-height: 400px; overflow-y: auto; }

.summary-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.8rem; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 4rem;
  background: #fff;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  box-shadow: 0 -2px 10px rgba(31,42,68,0.04);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding: 3rem 2.5rem 2rem;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.5rem 1.5rem 1.5rem; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.88rem; }
.footer-col a { color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-contact {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-dot { color: var(--gold); font-weight: 700; }

/* ================================================================ */
/* === Design system unification (option B)                       === */
/* These rules are intentionally last so they win specificity ties  */
/* and keep cards/typography/forms consistent across the platform.  */
/* ================================================================ */

/* Cards — single visual family */
.flow-card,
.admin-table-card,
.auth-card,
.plan-card,
.stat-card,
.pricing-box,
.terms-editor {
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: var(--card);
  box-shadow: var(--shadow);
}
.stat-card { border-radius: var(--r-lg); }

/* Headings */
.admin-header h2  { font-size: var(--fs-xl);  font-weight: var(--fw-black); line-height: var(--lh-tight); color: var(--navy); }
.admin-header p   { font-size: var(--fs-sm);  color: var(--text-muted); margin-top: var(--sp-1); }
.section-title h2 { font-size: var(--fs-2xl); font-weight: var(--fw-black); }
.section-title p  { font-size: var(--fs-base); color: var(--text-muted); }
.flow-card h3     { font-size: var(--fs-xl);  font-weight: var(--fw-bold);  margin-bottom: var(--sp-2); }
.flow-card .subtitle { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--sp-5); font-weight: var(--fw-normal); }
.page-title       { font-size: var(--fs-2xl); font-weight: var(--fw-black); margin-bottom: var(--sp-4); }
.page-subtitle    { font-size: var(--fs-base); color: var(--text-muted); margin-bottom: var(--sp-5); }

/* Summary blocks */
.summary-row    { font-size: var(--fs-sm); padding: 2px 0; }
.summary-total  { font-size: var(--fs-md); margin-top: var(--sp-2); }

/* Buttons — unified shape */
.btn-primary,
.btn-secondary {
  border-radius: var(--r-md);
  padding: 12px 28px;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2px;
}
.btn-ghost,
.btn-admin {
  border-radius: var(--r-md);
  padding: 8px 18px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}
.btn-cancel,
.btn-danger-sm {
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

/* Forms */
.form-group { margin-bottom: var(--sp-4); }
.form-group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-normal);
  border: 1px solid var(--border-strong);
}
.form-row { gap: var(--sp-4); }
.form-actions { gap: var(--sp-3); margin-top: var(--sp-4); }

/* Tables — tighter, clearer */
.admin-table-card { padding: 0; }
table th {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.6px;
  padding: 12px 18px;
}
table td {
  font-size: var(--fs-sm);
  padding: 14px 18px;
  font-weight: var(--fw-normal);
  color: var(--text);
}

/* Tabs */
.admin-tab {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: 10px 20px;
}
.admin-tab.active { font-weight: var(--fw-bold); }

/* Status badges */
.status-badge {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.4px;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

/* Sidebar */
.sidebar-label { font-size: var(--fs-xs); }
.sidebar-item  { font-size: var(--fs-sm); font-weight: var(--fw-medium); }

/* Body small text consistency in inline contexts */
small { color: var(--text-muted); font-weight: var(--fw-normal); }

/* Settings sub-card — consistent white container for admin form sections */
.settings-card {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
  margin-bottom: var(--sp-4);
}
.settings-card legend {
  background: var(--card);
  padding: 0 var(--sp-3);
  font-weight: var(--fw-bold);
  color: var(--navy);
  font-size: var(--fs-base);
}
.settings-card > h3, .settings-card > h4 { margin-bottom: var(--sp-3); }


/* === Home Hero v2 === */
.hero-v2 {
  position: relative;
  width: 100%;
  margin: 0 0 0;
  padding: 4.5rem 2rem 4rem;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #FBF7EC 0%, #EEF1F5 65%, #F5F0DD 100%);
  box-shadow: 0 8px 30px rgba(15,26,51,0.08);
}
.hero-v2-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(180,138,46,0.18) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(15,26,51,0.10) 0%, transparent 45%);
  pointer-events: none;
}
.hero-v2-inner {
  position: relative;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-v2 .hero-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(180,138,46,0.3);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-v2-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 1.2rem;
  letter-spacing: -0.5px;
}
/* Keep the hero title on a single line on tablets/desktop; it wraps on phones. */
@media (min-width: 768px) {
  .hero-v2-title { white-space: nowrap; }
}
.hero-v2-desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 500;
}
.hero-v2 .hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn-lg {
  padding: 0.95rem 2rem !important;
  font-size: 1rem !important;
}

/* === Trust strip === */
.trust-strip {
  max-width: 1180px;
  margin: -2.5rem auto 3rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 2;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 4px 14px rgba(15,26,51,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15,26,51,0.08);
}
.trust-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.trust-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* === How-it-works steps === */
.steps-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  position: relative;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,26,51,0.08);
}
.step-tile-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(180,138,46,0.3);
}
.step-tile-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.step-tile-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* === Final CTA === */
.final-cta {
  max-width: 1180px;
  margin: 4rem auto 3rem;
  padding: 0 1.5rem;
}
.final-cta-inner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2a4a 100%);
  color: #fff;
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(180,138,46,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta-inner h2 {
  position: relative;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.8rem;
}
.final-cta-inner p {
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin: 0 0 2rem;
  font-weight: 500;
}
.final-cta-inner .btn-primary {
  position: relative;
}

@media (max-width: 640px) {
  .hero-v2 { padding: 2.5rem 1.25rem 2.25rem; border-radius: 0; margin: 0; }
  .trust-strip { margin-top: -1.5rem; padding: 0 1rem; }
  .final-cta-inner { padding: 2.5rem 1.5rem; }
}

/* === Public top navigation === */
.main-nav { display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold); background: rgba(180,138,46,0.08); }

/* Hamburger toggle — hidden on desktop, shown on mobile. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 40px;
  padding: 0 11px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle-bar { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  header.site-header { padding: 0.9rem 1.25rem; }
  .nav-toggle { display: flex; }
  /* Collapse the menu + header actions behind the hamburger. */
  .main-nav, .header-nav { display: none; }
  /* Admin/area pages have no hamburger — keep header actions (language, logout) visible. */
  .site-header.header-area .header-nav { display: flex; flex-direction: row; width: auto; }
  .site-header.nav-open .main-nav {
    display: flex; order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    border-top: 1px solid var(--border); margin-top: 0.4rem; padding-top: 0.5rem;
  }
  .site-header.nav-open .header-nav {
    display: flex; order: 4; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0.55rem; padding-top: 0.6rem;
  }
  .main-nav a { padding: 0.75rem 0.6rem; border-radius: 8px; font-size: 1rem; }
  .site-header.nav-open .header-nav > *,
  .site-header.nav-open .header-nav form { width: 100%; }
  .site-header.nav-open .header-nav .btn-ghost,
  .site-header.nav-open .header-nav .btn-admin { width: 100%; text-align: center; justify-content: center; }
  .site-header.nav-open .header-nav .lang-switcher,
  .site-header.nav-open .header-nav .lang-switcher select { width: 100%; }
}

.hidden { display: none !important; }

/* === Supervising office — home section === */
.office-section .office-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.office-media { flex: 0 0 auto; }
.office-logo { width: 120px; height: 120px; object-fit: contain; border-radius: 16px; background: var(--bg-alt, #EEF1F5); padding: 10px; border: 1px solid var(--border); }
.office-logo-fallback { display: flex; align-items: center; justify-content: center; font-size: 56px; }
.office-body { flex: 1; min-width: 240px; }
.office-eyebrow { color: var(--gold); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px; margin-bottom: 0.3rem; }
.office-name { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin: 0 0 0.4rem; }
.office-license { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.6rem; }
.office-license span { color: var(--navy); font-weight: 600; }
.office-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; white-space: pre-line; }
.office-desc-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* === Supervising office — dedicated page === */
.office-page { max-width: 900px; margin: 0 auto; background: var(--card); border: 1px solid var(--border-strong); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow); }
.office-page-head { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.office-logo-lg { width: 110px; height: 110px; object-fit: contain; border-radius: 16px; background: var(--bg-alt, #EEF1F5); padding: 10px; border: 1px solid var(--border); }
.office-contact { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: grid; gap: 0.5rem; color: var(--text-muted); }
.office-contact a { color: var(--gold); }
.office-placeholder { text-align: center; color: var(--text-muted); padding: 3rem 2rem; background: var(--card); border: 1px dashed var(--border-strong); border-radius: 16px; max-width: 700px; margin: 0 auto; }

/* === Contact page === */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.contact-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: 16px; padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); transition: all 0.2s; display: block; }
a.contact-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-label { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.3rem; }
.contact-value { color: var(--navy); font-weight: 600; word-break: break-word; }
.contact-social { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 2rem; }
.contact-social a { border: 1px solid var(--border-strong); padding: 0.4rem 0.9rem; border-radius: 8px; color: var(--navy); font-size: 0.85rem; text-decoration: none; }
.contact-social a:hover { border-color: var(--gold); color: var(--gold); }

/* === Admin: office language sub-tabs === */
.office-langs { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.office-lang-nav { display: flex; flex-wrap: wrap; gap: 4px; background: var(--bg-alt, #EEF1F5); padding: 6px; }
.office-lang-btn { border: 1px solid transparent; background: transparent; padding: 0.4rem 0.8rem; border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.office-lang-btn.active { background: #fff; color: var(--navy); border-color: var(--border); box-shadow: var(--shadow-sm); }
.office-lang-panel { padding: 1rem; }

/* === FAQ accordion (public) === */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-list-page { max-width: 900px; }
.faq-item { background: var(--card); border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-q { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); flex: 0 0 auto; }
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-a { padding: 0 1.2rem 1.1rem; color: var(--text-muted); line-height: 1.85; }
.faq-a p { margin-bottom: 0.6rem; }
.faq-a a { color: var(--gold); }
.faq-a ul, .faq-a ol { margin-inline-start: 1.2rem; margin-bottom: 0.6rem; }
