/* =============================================
   xe8 CONTACT PAGE — style.css
   Nav: WHITE background (per designer spec)
   Footer: LIGHT GREY background (per designer spec)
   Mobile-first | Minimal JS | Performance
   ============================================= */

:root {
  /* Brand colours */
  --navy:        #1a2461;   /* deep navy — headings, logo text */
  --navy-mid:    #022a99;   /* mid navy — accents */
  --blue-acc:    #022a99;
  --orange:      #ff7f00;   /* primary CTA orange */
  --orange-dark: #d96b00;
  --orange-soft: #fff3e0;

  /* Page colours */
  --white:       #ffffff;
  --off-white:   #f5f6fa;
  --footer-bg:   #eef0f5;   /* designer footer — light grey */
  --grey-light:  #e2e4ed;
  --grey-mid:    #8a90a8;
  --grey-dark:   #555a6e;
  --text-dark:   #111827;
  --text-body:   #374151;

  /* Nav — white per designer */
  --nav-bg:      #ffffff;
  --nav-border:  #e2e4ed;
  --nav-text:    #374151;
  --nav-active:  #ff7f00;

  /* Form */
  --input-border: #d1d5db;
  --input-focus:  #022a99;
  --input-bg:     #ffffff;

  /* Misc */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.10);
  --shadow-form: 0 8px 32px rgba(30,58,138,0.12);
  --transition:  0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: 'Barlow', sans-serif; color: var(--text-body); background: var(--white); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-dark);
}
h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
}
h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
h4 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}
p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
}

.label-text {
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--grey-mid);
}

/* ---- Layout ---- */
.container      { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-md   { width: 100%; max-width: 860px;  margin: 0 auto; padding: 0 20px; }
.section-pad    { padding: 60px 0; }
.section-pad-sm { padding: 40px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,127,0,0.3); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* =============================================
   NAVIGATION — WHITE background per designer
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo — matches designer: navy "xe" + orange "8" */
.navbar-logo { display: flex; align-items: center; }

.logo-img-wrap { display: flex; align-items: center; gap: 0; }

.logo-xe {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-8 {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Nav links */
.nav-links { display: none; gap: 4px; align-items: center; }

.nav-links a {
  color: var(--nav-text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover    { color: var(--orange); }
.nav-links a.active   { color: var(--orange); }

/* Nav right: LOGIN text + REGISTER button */
.nav-right { display: none; align-items: center; gap: 10px; }

.nav-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(13,27,75,0.35);
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-login:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

@keyframes register-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(255,127,0,0.4), 0 0 0 0 rgba(255,127,0,0.25); }
  50%       { box-shadow: 0 4px 14px rgba(255,127,0,0.4), 0 0 0 8px rgba(255,127,0,0); }
}
.nav-register {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 6px;
  white-space: nowrap;
  animation: register-pulse 2.5s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.nav-register:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,127,0,0.6);
  animation: none;
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.25s ease; }

/* Mobile drawer */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--nav-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 24px;
  border-bottom: 1px solid var(--grey-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:hover  { color: var(--orange); background: var(--off-white); }
.mobile-menu a.active { color: var(--orange); }

.mobile-menu-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px 20px;
}
.mobile-menu-actions a {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, filter 0.2s;
}
.mobile-login {
  color: var(--navy);
  border: 2px solid rgba(13,27,75,0.35);
}
.mobile-login:hover {
  background: var(--navy);
  color: var(--white);
}
.mobile-register {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 4px 12px rgba(255,127,0,0.35);
}
.mobile-register:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(255,127,0,0.5);
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-light);
  padding: 10px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--grey-mid);
}
.breadcrumb-inner a { color: var(--blue-acc); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .current { color: var(--text-dark); font-weight: 600; }

/* =============================================
   PAGE HERO
   ============================================= */
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #022a99 60%, #1a2461 100%);
  padding: 52px 0 48px;
  text-align: center;
}
.contact-hero h1       { color: var(--white); margin-bottom: 14px; }
.contact-hero h1 span  { color: var(--orange); }
.contact-hero .hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 0.97rem;
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.75;
}

.hero-channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-channel-chip {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
}

/* =============================================
   CONTACT FORM SECTION
   ============================================= */
.form-section { background: var(--off-white); }

.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

/* Left: form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-form);
  border: 1px solid var(--grey-light);
}

.form-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-card-sub {
  font-size: 14px;
  color: var(--grey-mid);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Form fields */
.form-row { margin-bottom: 20px; }

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-row .required { color: var(--orange); margin-left: 2px; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--input-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: #b0b5c4; }

.form-row textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* =============================================
   CUSTOM SELECT DROPDOWN  (.csd-*)
   Panel uses position:fixed — renders correctly
   regardless of ancestor overflow or sticky nav
   ============================================= */

/* Trigger button — looks like a styled select */
.csd-wrap { position: relative; }

.csd-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 46px;
}
.csd-trigger:focus {
  outline: none;
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
.csd-trigger[aria-expanded="true"] {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
.csd-trigger.is-error { border-color: #e53935; }

/* Placeholder text style */
.csd-value { flex: 1; line-height: 1.4; }
.csd-value.is-placeholder { color: #b0b5c4; }

/* Animated chevron */
.csd-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--grey-mid);
  transition: transform 0.2s ease, color 0.15s ease;
}
.csd-trigger[aria-expanded="true"] .csd-chevron {
  transform: rotate(180deg);
  color: var(--input-focus);
}

/* Dropdown panel — fixed position so it renders at the right
   place regardless of body overflow or sticky ancestors */
.csd-panel {
  display: none;
  position: fixed;          /* KEY: viewport-relative, never misplaces */
  z-index: 9999;
  background: var(--white);
  border: 1.5px solid var(--input-focus);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(30,58,138,0.14), 0 2px 8px rgba(0,0,0,0.08);
  overflow-y: auto;
  max-height: 280px;
  padding: 4px 0;
  list-style: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.csd-panel.is-open { display: block; }

/* Individual options */
.csd-option {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  border-bottom: 1px solid var(--grey-light);
  line-height: 1.4;
  transition: background var(--transition), color var(--transition);
}
.csd-option:last-child { border-bottom: none; }
.csd-option:hover,
.csd-option:focus      { background: #eef2ff; color: var(--navy); outline: none; }
.csd-option.is-selected {
  background: #eef2ff;
  color: var(--navy);
  font-weight: 700;
}
.csd-option.is-selected::after {
  content: '✓';
  float: right;
  color: var(--input-focus);
  font-weight: 900;
}

/* Error message injected by JS */
.field-error {
  display: block;
  color: #e53935;
  font-size: 0.78rem;
  margin-top: 5px;
  font-weight: 600;
  line-height: 1.4;
}

/* Two-column row on tablet+ */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 20px;
}

/* Privacy notice */
.form-privacy {
  font-size: 0.78rem;
  color: var(--grey-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}
.form-privacy a { color: var(--blue-acc); text-decoration: underline; }

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  background: #edf7f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success-icon svg { width: 28px; height: 28px; stroke: #1a7a4a; stroke-width: 2.5; fill: none; }
.form-success h3 { color: var(--text-dark); margin-bottom: 8px; font-size: 1.1rem; }
.form-success p  { color: var(--grey-mid); font-size: 0.9rem; }

/* Right: quick contact info */
.form-aside { display: flex; flex-direction: column; gap: 16px; }

.aside-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.aside-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  margin-bottom: 6px;
}

.aside-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.aside-card-detail {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.aside-card-detail a { color: var(--blue-acc); font-weight: 600; }
.aside-card-detail a:hover { text-decoration: underline; }

.aside-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  background: #e8f0ff;
  color: var(--blue-acc);
}

.aside-lang-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.lang-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  color: var(--text-dark);
}

/* =============================================
   SUPPORT CHANNELS TABLE
   ============================================= */
.channels-section { background: var(--white); }

.section-header { margin-bottom: 32px; }
.section-header .label-text { margin-bottom: 8px; }
.section-header h2 { margin-bottom: 10px; }
.section-header .section-desc { font-size: 0.95rem; color: var(--text-body); line-height: 1.7; max-width: 680px; }

/* Desktop table */
.channels-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.channels-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 560px;
}

.channels-table thead tr { background: var(--navy); }
.channels-table thead th {
  color: var(--white);
  font-weight: 700;
  padding: 13px 16px;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.channels-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.channels-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

.channels-table tbody tr:nth-child(odd)  { background: var(--off-white); }
.channels-table tbody tr:nth-child(even) { background: var(--white); }
.channels-table tbody tr:hover { background: #eef2ff; }

.channels-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--grey-light);
  vertical-align: top;
  line-height: 1.6;
}

.ch-name { font-weight: 700; color: var(--navy); }
.ch-link { color: var(--blue-acc); font-weight: 600; font-size: 0.82rem; display: block; margin-top: 4px; }
.ch-link:hover { text-decoration: underline; }

.response-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  background: #edf7f2;
  color: #1a7a4a;
}

/* Mobile channel cards */
.channel-cards { display: none; }

.channel-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.channel-card-header {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95rem;
}
.channel-card-body { padding: 14px 16px; }
.channel-card-row  { margin-bottom: 10px; font-size: 0.875rem; }
.channel-card-row:last-child { margin-bottom: 0; }
.channel-card-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--grey-mid); margin-bottom: 3px; }
.channel-card-value { color: var(--text-body); line-height: 1.5; }
.channel-card-value a { color: var(--blue-acc); font-weight: 600; }

/* =============================================
   SELF-HELP TABLE
   ============================================= */
.selfhelp-section { background: var(--off-white); }

.selfhelp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.selfhelp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 480px;
}
.selfhelp-table thead tr { background: var(--orange); }
.selfhelp-table thead th {
  color: var(--white);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.selfhelp-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.selfhelp-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

.selfhelp-table tbody tr:nth-child(odd)  { background: var(--white); }
.selfhelp-table tbody tr:nth-child(even) { background: #faf9f8; }
.selfhelp-table tbody tr:hover { background: #fff3e0; }
.selfhelp-table td { padding: 13px 16px; border-bottom: 1px solid var(--grey-light); vertical-align: top; line-height: 1.6; }
.selfhelp-table .q-text { font-weight: 600; color: var(--text-dark); font-size: 0.875rem; }
.selfhelp-table .selfhelp-link { color: var(--blue-acc); font-weight: 600; font-size: 0.82rem; }
.selfhelp-table .selfhelp-link:hover { text-decoration: underline; }

/* Mobile selfhelp cards */
.selfhelp-cards { display: none; }
.selfhelp-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.selfhelp-card-q { font-weight: 700; color: var(--text-dark); font-size: 0.875rem; margin-bottom: 6px; }
.selfhelp-card-a { font-size: 0.82rem; color: var(--text-body); line-height: 1.5; margin-bottom: 8px; }
.selfhelp-card-link { font-size: 0.8rem; color: var(--blue-acc); font-weight: 600; }
.selfhelp-card-link:hover { text-decoration: underline; }

/* =============================================
   WHAT TO INCLUDE
   ============================================= */
.tips-section { background: var(--white); }

.tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.tip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.tip-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-content h3 { font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; }
.tip-content p  { font-size: 0.85rem; color: var(--text-body); line-height: 1.6; }

/* =============================================
   URGENT RG CALLOUT
   ============================================= */
.rg-callout {
  background: #fff3e0;
  border: 1.5px solid #ff7f0040;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 40px 0 0;
}
.rg-callout-title { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; margin-bottom: 8px; }
.rg-callout p { font-size: 0.875rem; color: var(--text-body); line-height: 1.7; }
.rg-callout a { color: var(--blue-acc); font-weight: 600; }
.rg-callout a:hover { text-decoration: underline; }

/* =============================================
   BUSINESS ENQUIRIES
   ============================================= */
.business-section { background: var(--off-white); }

.biz-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.biz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 440px;
}
.biz-table thead tr { background: var(--navy); }
.biz-table thead th {
  color: var(--white);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.biz-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.biz-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.biz-table tbody tr:nth-child(odd)  { background: var(--white); }
.biz-table tbody tr:nth-child(even) { background: var(--off-white); }
.biz-table td { padding: 12px 16px; border-bottom: 1px solid var(--grey-light); vertical-align: top; line-height: 1.6; }
.biz-table .biz-type { font-weight: 700; color: var(--navy); }
.biz-table .biz-email { color: var(--blue-acc); font-weight: 600; font-size: 0.85rem; }

/* Mobile biz cards */
.biz-cards { display: none; }
.biz-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.biz-card-type  { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.biz-card-email { font-size: 0.85rem; color: var(--blue-acc); font-weight: 600; margin-bottom: 4px; }
.biz-card-time  { font-size: 0.8rem; color: var(--grey-mid); }

/* Address block */
.address-block {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.address-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.address-icon svg { width: 20px; height: 20px; stroke: var(--navy); stroke-width: 1.8; fill: none; }
.address-content h4 { font-size: 0.85rem; color: var(--navy); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.06em; }
.address-content p  { font-size: 0.875rem; color: var(--text-body); line-height: 1.7; }

/* =============================================
   FOOTER — LIGHT GREY per designer spec
   ============================================= */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--grey-light);
  padding: 52px 0 0;
  color: var(--text-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

/* Logo in footer — same as designer screenshot */
.footer-logo { display: flex; align-items: center; gap: 0; margin-bottom: 14px; }
.footer-logo .logo-xe { font-size: 1.6rem; }
.footer-logo .logo-8  { font-size: 1.6rem; }

.footer-desc {
  font-size: 0.875rem;
  color: var(--grey-dark);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 280px;
}

/* Social icons — navy circle per designer */
.footer-social { display: flex; gap: 10px; margin-bottom: 0; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--orange); transform: translateY(-2px); }

/* Footer columns */
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--grey-dark);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-contact h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark); margin-bottom: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--grey-dark); line-height: 1.5; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.footer-contact-item a { color: var(--grey-dark); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--orange); }
.footer-map { margin-top: 14px; border-radius: 8px; overflow: hidden; border: 1px solid var(--grey-light); }
.footer-map iframe { display: block; width: 100%; height: 130px; border: 0; }




/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--grey-light);
  padding: 18px 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--grey-mid);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 540px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .tips-grid  { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .section-pad { padding: 80px 0; }

  /* Nav desktop */
  .hamburger   { display: none; }
  .nav-links   { display: flex; }
  .nav-right   { display: flex; }
  .mobile-menu { display: none !important; }

  /* Form layout: form left, aside right */
  .form-layout { grid-template-columns: 1fr 340px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; }
}

@media (min-width: 960px) {
  .form-layout { grid-template-columns: 1fr 360px; }
}

/* ─── Mobile form fixes ─── */
@media (max-width: 767px) {
  /* font-size must be ≥ 16px on iOS to prevent auto-zoom on focus */
  .form-row input,
  .form-row select,
  .form-row textarea {
    font-size: 1rem;      /* 16px — critical iOS fix */
    min-height: 46px;     /* comfortable touch target */
    padding: 12px 14px;
  }
  .form-row select  { padding-right: 42px; }  /* extra room for arrow */
  .form-row textarea { min-height: 120px; }
}

/* Table vs card switching */
@media (max-width: 767px) {
  .channels-table-wrap { display: none; }
  .channel-cards       { display: block; }
  .selfhelp-table-wrap { display: none; }
  .selfhelp-cards      { display: block; }
  .biz-table-wrap      { display: none; }
  .biz-cards           { display: block; }
}

@media (min-width: 768px) {
  .channels-table-wrap { display: block; }
  .channel-cards       { display: none; }
  .selfhelp-table-wrap { display: block; }
  .selfhelp-cards      { display: none; }
  .biz-table-wrap      { display: block; }
  .biz-cards           { display: none; }
}

/* =============================================
   NAV — Dropdown + mobile-sub additions
   ============================================= */

.nav-item { position: relative; }
.nav-item > a {
  display: block; color: var(--nav-text); font-size: 0.82rem; font-weight: 600;
  padding: 6px 11px; border-radius: var(--radius-sm);
  letter-spacing: 0.02em; text-transform: uppercase;
  transition: color var(--transition); text-decoration: none;
}
.nav-item > a:hover  { color: var(--orange); }
.nav-item > a.active { color: var(--orange); }
.nav-item.has-dropdown > a::after {
  content: ''; display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 5px; vertical-align: middle; opacity: 0.6;
  transition: transform var(--transition);
}
.dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius-md); min-width: 210px;
  box-shadow: var(--shadow-md); z-index: 300; overflow: hidden;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown.open  .dropdown { display: block; }
.dropdown a {
  display: block; padding: 11px 16px; font-size: 0.82rem; font-weight: 600;
  color: var(--text-body); border-bottom: 1px solid var(--grey-light);
  transition: color var(--transition), background var(--transition);
  text-decoration: none; text-transform: none; letter-spacing: 0;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--orange); background: var(--off-white); }
.mobile-sub { background: var(--off-white); border-bottom: 1px solid var(--grey-light); }
.mobile-sub a {
  display: block; color: var(--grey-dark); font-size: 0.85rem; font-weight: 600;
  padding: 10px 24px 10px 36px; border-bottom: 1px solid var(--grey-light);
  transition: color var(--transition); text-decoration: none;
}
.mobile-sub a:last-child { border-bottom: none; }
.mobile-sub a:hover  { color: var(--orange); }

/* Site logo image */
.site-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo .site-logo-img,
.footer-brand .site-logo-img {
  height: 30px;
}

/* ── Scroll-to-top button ── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ff7f00;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 999;
}
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scroll-top:hover { background: #d96b00; }
#scroll-top:focus-visible { outline: 3px solid #ff7f00; outline-offset: 3px; }
