/* ============================================================
   Harvest Touch Hub CIC — Main Stylesheet
   Brand: Navy Blue + Hot Magenta
   Font:  Inter
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --blue:        #1e4e8c;
  --blue-light:  #2d6bbf;
  --blue-dark:   #122f5c;
  --magenta:     #d0257e;
  --magenta-lt:  #e0408e;
  --magenta-dk:  #a81d66;
  --cream:       #fdfcf8;
  --white:       #ffffff;
  --charcoal:    #1e2330;
  --gray-100:    #f3f5f9;
  --gray-200:    #e4e9f0;
  --gray-400:    #8fa0b8;
  --gray-600:    #4a5a72;
  --text:        #1a2742;
  --text-muted:  #5a6e8a;
  --border:      #dce4ee;
  --radius:      0.75rem;
  --radius-lg:   1.25rem;
  --shadow:      0 4px 20px -4px rgba(30,78,140,.12);
  --shadow-lg:   0 12px 40px -8px rgba(30,78,140,.22);
  --transition:  0.25s ease;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; color: var(--text); background: var(--white); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--charcoal); }

/* ── UTILITY ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-magenta { color: var(--magenta); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary    { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary  { background: var(--magenta); color: #fff; border-color: var(--magenta); }
.btn-secondary:hover { background: var(--magenta-dk); border-color: var(--magenta-dk); transform: translateY(-1px); }
.btn-outline    { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: #fff; color: var(--blue); }
.btn-sm, .btn-primary-sm, .btn-outline-sm {
  padding: .5rem 1.2rem; font-size: .875rem; border-radius: calc(var(--radius) - 2px);
}
.btn-primary-sm { background: var(--magenta); color: #fff; border: 2px solid var(--magenta); font-weight: 600; cursor:pointer; display:inline-flex; align-items:center; gap:.4rem; transition: all var(--transition); }
.btn-primary-sm:hover { background: var(--magenta-dk); transform: translateY(-1px); }
.btn-outline-sm { background: transparent; color: var(--text); border: 2px solid var(--border); font-weight: 500; cursor:pointer; display:inline-flex; align-items:center; gap:.4rem; transition: all var(--transition); }
.btn-outline-sm:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ── ALERTS ────────────────────────────────────────────────── */
.alert { padding: .9rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .95rem; border-left: 4px solid transparent; }
.alert-success { background:#ecfdf5; border-color:#10b981; color:#065f46; }
.alert-error   { background:#fef2f2; border-color:#ef4444; color:#991b1b; }
.alert-warning { background:#fffbeb; border-color:#f59e0b; color:#92400e; }
.alert-info    { background:#eff6ff; border-color:#3b82f6; color:#1e40af; }
.flash-container { padding: 0 1.5rem; max-width: 1200px; margin: 0 auto; }

/* ── SECTION HEADINGS ──────────────────────────────────────── */
.section-label { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); background: rgba(208,37,126,.08); padding: .3rem .9rem; border-radius: 2rem; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--charcoal); margin-bottom: .75rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-header .section-subtitle { margin: 0 auto; }

/* ── HEADER / NAV ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(30,78,140,.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-wrapper { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; background: var(--blue); border-radius: .5rem; display: flex; align-items: center; justify-content: center; }
.logo-h { color: #fff; font-size: 1.3rem; font-weight: 800; line-height: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: .95rem; font-weight: 700; color: var(--charcoal); line-height: 1.1; }
.logo-cic { font-size: .7rem; font-weight: 600; color: var(--magenta); letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-link { padding: .5rem .75rem; font-size: 1rem; font-weight: 500; color: var(--text-muted); border-radius: .5rem; transition: all var(--transition); display: flex; align-items: center; gap: .25rem; }
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--gray-100); }
.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; min-width: 210px; z-index: 200; }
.dropdown-right { left: auto; right: 0; transform: none; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item { display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; border-radius: .5rem; font-size: .95rem; color: var(--text-muted); transition: all var(--transition); }
.dropdown-item svg { width: 16px; height: 16px; stroke: var(--magenta); }
.dropdown-item:hover { background: var(--gray-100); color: var(--blue); }

/* Mobile */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; margin-left: auto; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all var(--transition); }
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--border); padding: 1rem 1.5rem 1.5rem; }
.mobile-menu.open { display: block; }
.mobile-nav-link { display: block; padding: .65rem .5rem; font-size: .95rem; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--gray-100); }
.mobile-nav-link.mobile-sub { padding-left: 1.5rem; font-size: .875rem; color: var(--gray-400); }
.mobile-nav-link:hover { color: var(--blue); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }

/* ── HERO SECTION ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 55%, rgba(208,37,126,.2) 100%);
  color: #fff; padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 2rem; padding: .35rem .9rem .35rem .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; backdrop-filter: blur(6px); }
.hero-badge .dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 1.25rem; }
.hero h1 .highlight { color: var(--magenta-lt); }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 520px; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 2.5rem; }
.hero-register-btn {
  background: var(--magenta); color: #fff; border: 2px solid var(--magenta);
  padding: .9rem 2rem; border-radius: var(--radius); font-size: 1rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .6rem; transition: all var(--transition);
  box-shadow: 0 0 0 4px rgba(208,37,126,.3);
  animation: hero-btn-pulse 3s ease-in-out infinite;
}
.hero-register-btn:hover { background: var(--magenta-dk); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(208,37,126,.5); }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-val { font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero-stat-lab { font-size: .8rem; color: rgba(255,255,255,.7); font-weight: 500; }
.hero-visual { display: flex; flex-direction: column; gap: 1rem; }
.hero-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); padding: 1.5rem; backdrop-filter: blur(10px); }
.hero-card-label { font-size: .8rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: .5rem; }
.hero-card-val { font-size: 1.75rem; font-weight: 800; color: #fff; }
.hero-card-sub { font-size: .875rem; color: rgba(255,255,255,.75); margin-top: .25rem; }
.hero-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
@keyframes hero-btn-pulse {
  0%,100%{ box-shadow: 0 0 0 4px rgba(208,37,126,.25); }
  50%{ box-shadow: 0 0 0 10px rgba(208,37,126,.08); }
}

/* ── CARDS ─────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); transition: all var(--transition); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Service card */
.service-card { border-top: 4px solid var(--blue); text-align: center; }
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.service-icon svg { width: 28px; height: 28px; stroke: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .65rem; }
.service-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.65; }
.service-card .card-link { margin-top: 1.25rem; font-size: .875rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .35rem; }
.service-card .card-link:hover { color: var(--magenta); }

/* Team card */
.team-card { text-align: center; }
.team-avatar { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-light)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.75rem; font-weight: 800; color: #fff; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.team-card .role { font-size: .85rem; color: var(--magenta); font-weight: 600; }
.team-card p { font-size: .875rem; color: var(--text-muted); margin-top: .65rem; }

/* Blog card */
.blog-card { overflow: hidden; padding: 0; }
.blog-card-img { height: 200px; background: var(--gray-100); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.blog-card-body { padding: 1.5rem; }
.blog-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--magenta); }
.blog-card h3 { font-size: 1.05rem; margin: .4rem 0 .65rem; line-height: 1.35; }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }
.blog-meta { font-size: .8rem; color: var(--gray-400); display: flex; align-items: center; gap: .5rem; }

/* Stat card */
.stat-card { text-align: center; border-top: 3px solid var(--magenta); }
.stat-icon { width: 50px; height: 50px; background: rgba(208,37,126,.1); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.stat-icon svg { width: 24px; height: 24px; stroke: var(--magenta); }
.stat-value { font-size: 2.25rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { font-size: .95rem; font-weight: 600; color: var(--charcoal); margin-top: .4rem; }
.stat-desc { font-size: .825rem; color: var(--text-muted); margin-top: .3rem; }

/* ── SECTIONS ──────────────────────────────────────────────── */
section { padding: 5rem 0; }
.bg-cream { background: var(--cream); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-gradient { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); color: #fff; }

/* ── CTA BAND ──────────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 60%, rgba(208,37,126,.25) 100%); color: #fff; text-align: center; padding: 4.5rem 0; position: relative; overflow: hidden; }
.cta-section h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── REGISTRATION CTA (floating pulse) ─────────────────────── */
.register-cta-strip {
  background: var(--magenta); color: #fff; text-align: center;
  padding: 1.25rem 1.5rem; position: relative;
}
.register-cta-strip p { font-size: .95rem; font-weight: 500; margin: 0; }
.register-cta-strip strong { font-weight: 800; }
.register-cta-strip a { color: #fff; text-decoration: underline; font-weight: 700; }

/* ── FORMS ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.35rem; }
label { display: block; font-size: .875rem; font-weight: 600; color: var(--charcoal); margin-bottom: .4rem; }
.form-control {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: #fff; color: var(--text); font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,78,140,.15); }
.form-control.error { border-color: #ef4444; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238fa0b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .875rem; color: var(--text-muted); margin-top: .3rem; }
.field-error { font-size: .875rem; color: #ef4444; margin-top: .3rem; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .75rem; }
.form-check input[type=checkbox] { margin-top: .15rem; accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }
.form-check label { font-weight: 400; font-size: 1rem; margin: 0; }

/* Auth card */
.auth-wrapper { min-height: calc(100vh - 140px); display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; background: var(--gray-100); }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2.5rem; width: 100%; max-width: 480px; }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-title { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: .4rem; }
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--gray-400); font-size: .85rem; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background: var(--border); }
.auth-switch { text-align: center; font-size: 1rem; color: var(--text-muted); margin-top: 1.5rem; }
.auth-switch a { color: var(--blue); font-weight: 600; }

/* Register page form */
.register-wrapper { max-width: 700px; margin: 0 auto; padding: 3rem 1.5rem; }
.register-header { text-align: center; margin-bottom: 2.5rem; }
.register-header .badge { background: rgba(208,37,126,.1); color: var(--magenta); padding: .3rem .85rem; border-radius: 2rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; display: inline-block; margin-bottom: .75rem; }
.progress-steps { display: flex; align-items: center; margin-bottom: 2.5rem; }
.step { display: flex; flex-direction: column; align-items: center; flex: 1; }
.step-circle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .875rem; border: 2px solid var(--border); background: #fff; color: var(--gray-400); transition: all var(--transition); }
.step.active .step-circle { background: var(--blue); border-color: var(--blue); color: #fff; }
.step.done .step-circle { background: #10b981; border-color: #10b981; color: #fff; }
.step-label { font-size: .8rem; color: var(--text-muted); margin-top: .35rem; font-weight: 500; }
.step-connector { flex: 1; height: 2px; background: var(--border); margin: 0 .5rem; margin-bottom: 1.5rem; }
.step-connector.done { background: #10b981; }

/* ── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); color: #fff; padding: 3.5rem 0; text-align: center; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); color: #fff; margin-bottom: .75rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.8); padding: 4rem 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo .logo-name { color: #fff; }
.footer-tagline { color: var(--magenta-lt); font-weight: 700; font-size: .95rem; margin: .75rem 0 .5rem; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.65; max-width: 280px; }
.footer-socials { display: flex; gap: .65rem; margin-top: 1.25rem; }
.social-link { width: 38px; height: 38px; border-radius: .5rem; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: all var(--transition); color: rgba(255,255,255,.8); text-decoration: none; }
.social-link svg { width: 18px; height: 18px; stroke: rgba(255,255,255,.8); fill: none; stroke-width: 1.75; }
.social-link:hover { background: var(--magenta); color: #fff; }
.social-link:hover svg { stroke: #fff; }
.social-link .tiktok-icon { width: 18px; height: 18px; fill: rgba(255,255,255,.8); stroke: none; }
.social-link:hover .tiktok-icon { fill: #fff; }
.footer-heading { font-size: .875rem; font-weight: 700; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--magenta-lt); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .75rem; font-size: .875rem; color: rgba(255,255,255,.65); }
.footer-contact-list svg { width: 16px; height: 16px; stroke: var(--magenta-lt); flex-shrink: 0; margin-top: .15rem; }
.footer-contact-list a { color: rgba(255,255,255,.65); }
.footer-contact-list a:hover { color: var(--magenta-lt); }
.footer-cta { margin-top: 1.25rem; }
.footer-register-btn { background: var(--magenta); border-color: var(--magenta); }
.footer-newsletter { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.newsletter-text h4 { color: #fff; font-size: 1rem; margin-bottom: .3rem; }
.newsletter-text p { font-size: .875rem; color: rgba(255,255,255,.6); }
.newsletter-form { display: flex; gap: .75rem; flex: 1; max-width: 420px; }
.newsletter-form input { flex: 1; padding: .65rem 1rem; border-radius: var(--radius); border: 1.5px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; font-size: .875rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; border-color: var(--magenta); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; font-size: .8rem; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 1rem; }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── ADMIN ──────────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--charcoal); color: #fff; padding: 1.5rem 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar-logo { padding: 0 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1rem; }
.admin-nav-link { display: flex; align-items: center; gap: .75rem; padding: .65rem 1.25rem; font-size: .95rem; color: rgba(255,255,255,.65); transition: all var(--transition); }
.admin-nav-link svg { width: 18px; height: 18px; }
.admin-nav-link:hover,.admin-nav-link.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-nav-link.active { border-left: 3px solid var(--magenta); }
.admin-nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); padding: 1rem 1.25rem .4rem; font-weight: 700; }
.admin-main { background: var(--gray-100); padding: 2rem; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.admin-title { font-size: 1.5rem; font-weight: 800; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.admin-stat-card { background: #fff; border-radius: var(--radius); padding: 1.25rem; border-left: 4px solid var(--blue); box-shadow: var(--shadow); }
.admin-stat-card.magenta { border-left-color: var(--magenta); }
.admin-stat-card.green { border-left-color: #10b981; }
.admin-stat-card.orange { border-left-color: #f59e0b; }
.admin-stat-num { font-size: 2rem; font-weight: 800; color: var(--charcoal); }
.admin-stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--gray-100); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: .8rem 1rem; text-align: left; color: var(--text-muted); font-weight: 700; border-bottom: 1px solid var(--border); }
.data-table td { padding: .85rem 1rem; font-size: 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: var(--gray-100); }
.badge-status { display: inline-block; padding: .2rem .65rem; border-radius: 2rem; font-size: .75rem; font-weight: 700; }
.badge-active,.badge-approved { background: #d1fae5; color: #065f46; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-inactive,.badge-declined { background: #fee2e2; color: #991b1b; }
.badge-waitlisted { background: #ede9fe; color: #5b21b6; }

/* ── PAGE CONTENT ──────────────────────────────────────────── */
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.prose p { margin-bottom: 1rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose strong { font-weight: 700; }
.prose a { color: var(--blue); text-decoration: underline; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-stat-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Old hero classes */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 3.5rem 0 3rem; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }

  /* Admin */
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .data-table { display: block; overflow-x: auto; }

  section { padding: 3.5rem 0; }

  /* ── INDEX PAGE INLINE-GRID OVERRIDES ── */

  /* Hero stats row: 3 cols → row wrap */
  [style*="grid-template-columns:repeat(3,auto)"],
  [style*="grid-template-columns: repeat(3,auto)"] {
    grid-template-columns: repeat(3,1fr) !important;
    gap: 1rem !important;
  }

  /* 2-col feature/about layout → 1 col */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* 3-col grids (new services, blog, strategy) → 1 col */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 4-col grids (stats, methodology) → 2 col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 1rem !important;
  }

  /* Event strip: stack vertically */
  [style*="justify-content:space-between"][style*="flex-wrap:wrap"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Reduce section padding */
  [style*="padding:5rem 0"],
  [style*="padding: 5rem 0"] {
    padding: 3rem 0 !important;
  }
  [style*="padding:4rem 3rem"],
  [style*="padding: 4rem 3rem"] {
    padding: 2.5rem 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1.25rem; }
  .admin-stat-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .auth-card { padding: 1.75rem 1.25rem; }

  /* 4-col → 1 col on very small screens */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero stats 3-col → 1 col on very small */
  [style*="grid-template-columns:repeat(3,auto)"],
  [style*="grid-template-columns: repeat(3,auto)"] {
    grid-template-columns: 1fr !important;
  }

  /* Reduce hero font sizes */
  h1 { font-size: 2.25rem !important; }

  /* Strategy phase numbers off-screen on tiny screens */
  [style*="position:absolute"][style*="top:-1rem"][style*="left:-1rem"] {
    top: .5rem !important; left: .5rem !important;
  }

  .container { padding: 0 1rem; }
}

/* ── TABLET (max 900px) ───────────────────────────── */
@media (max-width: 900px) {
  /* What We Do: 2-col → 1-col */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  /* Strategy 3 phases → 1 col */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Methodology 4-col → 2-col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
  /* Impact stats banner padding */
  [style*="padding:2rem 3rem"] {
    padding: 2rem 1.5rem !important;
  }
}

/* ── MOBILE (max 640px) ───────────────────────────── */
@media (max-width: 640px) {
  /* Hero */
  .container { padding: 0 1rem !important; }
  [style*="padding:5rem 1rem"],
  [style*="padding: 5rem 1rem"] { padding: 3.5rem 1rem !important; }
  [style*="max-width:780px"],
  [style*="max-width: 780px"] { max-width: 100% !important; }

  /* Hero stats — keep 3 cols but smaller */
  [style*="grid-template-columns:repeat(3,auto)"],
  [style*="grid-template-columns: repeat(3,auto)"] {
    grid-template-columns: repeat(3,1fr) !important;
    gap: .75rem !important;
    width: 100% !important;
  }

  /* Hero buttons — stack */
  [style*="display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:3rem"] {
    flex-direction: column !important;
  }

  /* All 2-col → 1-col */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* All 3-col → 1-col */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 4-col → 2-col on mobile */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 1rem !important;
  }

  /* Section padding reduction */
  [style*="padding:5rem 0"],
  [style*="padding: 5rem 0"] { padding: 3rem 0 !important; }
  [style*="padding:4rem 3rem"],
  [style*="padding: 4rem 3rem"] { padding: 2rem 1.25rem !important; }
  [style*="padding:2rem 3rem"],
  [style*="padding: 2rem 3rem"] { padding: 1.5rem 1.25rem !important; }

  /* Impact banner overlay text */
  [style*="max-width:550px"],
  [style*="max-width: 550px"] { max-width: 100% !important; }

  /* Event strip — stack */
  [style*="justify-content:space-between"][style*="flex-wrap:wrap"],
  [style*="justify-content: space-between"][style*="flex-wrap: wrap"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  /* Blog header — stack */
  [style*="justify-content:space-between"][style*="align-items:flex-end"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Feature cards 2-col inner grid → 1-col */
  [style*="grid-template-columns:1fr 1fr"][style*="gap:1rem"],
  [style*="grid-template-columns: 1fr 1fr"][style*="gap: 1rem"] {
    grid-template-columns: 1fr !important;
  }

  /* CTA section */
  [style*="border-radius:2rem"][style*="padding:4rem 3rem"] {
    border-radius: 1.25rem !important;
    padding: 2rem 1.25rem !important;
  }

  /* Strategy phase numbers — keep in bounds */
  [style*="top:-1rem"][style*="left:-1rem"] {
    top: .75rem !important; left: .75rem !important;
    width: 28px !important; height: 28px !important;
    font-size: .8rem !important;
  }

  /* Skills-training image decorative background */
  [style*="transform:translate(-1rem,-1rem)"] {
    display: none !important;
  }

  /* 95% completion card — reposition */
  [style*="bottom:-1.5rem"][style*="right:-1.5rem"] {
    bottom: .75rem !important; right: .75rem !important;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; gap: .5rem !important; }

  /* Typography scale-down */
  [style*="font-size:2.25rem"] { font-size: 1.75rem !important; }
  [style*="font-size:clamp"] { font-size: 2.25rem !important; }
}

/* ── VERY SMALL (max 400px) ───────────────────────── */
@media (max-width: 400px) {
  /* 4-col → 1-col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Hero stats 3 cols tiny */
  [style*="grid-template-columns:repeat(3,auto)"],
  [style*="grid-template-columns: repeat(3,auto)"] {
    grid-template-columns: repeat(3,1fr) !important;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE PATCH — comprehensive mobile fixes
   ══════════════════════════════════════════════════════════ */

/* Global — prevent horizontal overflow on all devices */
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ── TABLET (≤ 1024px) ────────────────────────────────── */
@media (max-width: 1024px) {
  /* What We Do two-col */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  /* 3-col new services / blog / strategy → 1-col */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  /* 4-col stats / methodology → 2-col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 1.25rem !important;
  }
}

/* ── MOBILE (≤ 768px) ─────────────────────────────────── */
@media (max-width: 768px) {
  /* Section padding */
  section,
  [style*="padding:5rem 0"],
  [style*="padding: 5rem 0"] { padding: 3rem 0 !important; }

  /* Container */
  .container, [class*="container"] { padding-left: 1rem !important; padding-right: 1rem !important; }

  /* Hero */
  [style*="min-height:90vh"] { min-height: 70vh !important; }
  [style*="padding:5rem 1rem"] { padding: 3rem 1rem !important; }
  [style*="max-width:780px"] { max-width: 100% !important; }

  /* Hero buttons stack */
  [style*="display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:3rem"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Hero stats 3-col — keep but smaller font */
  [style*="grid-template-columns:repeat(3,auto)"],
  [style*="grid-template-columns: repeat(3,auto)"] {
    grid-template-columns: repeat(3,1fr) !important;
    gap: .75rem !important;
    width: 100% !important;
  }

  /* All 2-col → 1-col */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* All 3-col grids → 1-col */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 4-col → 2-col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 1rem !important;
  }

  /* Event strip — stack */
  [style*="justify-content:space-between"][style*="color:#fff"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  /* CTA section padding */
  [style*="padding:4rem 3rem"],
  [style*="padding: 4rem 3rem"] { padding: 2rem 1.25rem !important; }
  [style*="border-radius:2rem"] { border-radius: 1.25rem !important; }

  /* Impact banner text overlay */
  [style*="padding:2rem 3rem"],
  [style*="padding: 2rem 3rem"] { padding: 1.5rem 1.25rem !important; }
  [style*="height:280px"] { height: 220px !important; }

  /* Decorative offset element — hide on mobile */
  [style*="transform:translate(-1rem,-1rem)"] { display: none !important; }

  /* Floating stat card — reposition */
  [style*="bottom:-1.5rem"][style*="right:-1.5rem"] {
    bottom: .5rem !important; right: .5rem !important;
  }

  /* Strategy phase numbers inside card */
  [style*="top:-1rem"][style*="left:-1rem"] {
    top: .5rem !important; left: .5rem !important;
    width: 28px !important; height: 28px !important;
    font-size: .8rem !important;
  }

  /* Blog/services header row stack */
  [style*="justify-content:space-between"][style*="align-items:flex-end"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Feature cards inner 2-col → 1-col */
  [style*="grid-template-columns:1fr 1fr"][style*="gap:1rem"] {
    grid-template-columns: 1fr !important;
  }

  /* Typography */
  [style*="font-size:2.25rem"] { font-size: 1.6rem !important; }
  [style*="font-size:2.5rem"] { font-size: 1.75rem !important; }
  h1 { font-size: 2rem !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; gap: .5rem !important; }

  /* Emma chat widget — smaller on mobile */
  #emmaWindow { width: calc(100vw - 2rem) !important; right: 1rem !important; }
}

/* ── SMALL MOBILE (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {
  /* 4-col → 1-col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero stats — keep 3 col but tighter */
  [style*="grid-template-columns:repeat(3,auto)"],
  [style*="grid-template-columns: repeat(3,auto)"] {
    grid-template-columns: repeat(3,1fr) !important;
    gap: .5rem !important;
  }
  [style*="font-size:2.25rem;font-weight:800;color:var(--magenta)"] { font-size: 1.5rem !important; }

  /* Methodology cards — 1 col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="repeat(4"] { grid-template-columns: 1fr !important; }

  /* Admin */
  .admin-stat-grid { grid-template-columns: 1fr !important; }
  .auth-card { padding: 1.5rem 1.1rem !important; }
}

/* ============================================================
   BOOTSTRAP 5 INTEGRATION — Brand overrides & custom components
   ============================================================ */

/* ── Brand CSS vars (Bootstrap-compatible names) ─────────── */
:root {
  --hth-blue:    #1e4e8c;
  --hth-magenta: #d0257e;
  --bs-primary:  #1e4e8c;
  --bs-font-sans-serif: 'Inter', system-ui, sans-serif;
}

body { font-family: 'Inter', system-ui, sans-serif; }

/* ── Navbar ───────────────────────────────────────────────── */
/* Override Bootstrap 5.3 CSS variables for correct brand colours */
.hth-navbar {
  --bs-navbar-color:               #1a2742;
  --bs-navbar-hover-color:         #1e4e8c;
  --bs-navbar-active-color:        #1e4e8c;
  --bs-navbar-toggler-border-color:transparent;
  --bs-navbar-toggler-icon-bg:     url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a2742' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #dce4ee;
  box-shadow: 0 1px 8px rgba(30,78,140,.07);
}
/* Desktop nav links */
.hth-navbar .navbar-nav .nav-link,
.hth-navbar .navbar-nav .nav-link:link,
.hth-navbar .navbar-nav .nav-link:visited {
  font-weight: 500;
  color: #1a2742 !important;
  border-radius: .5rem;
  padding: .5rem .85rem !important;
  transition: all .2s;
}
.hth-navbar .navbar-nav .nav-link:hover {
  color: #1e4e8c !important;
  background: #f3f5f9;
}
.hth-navbar .navbar-nav .nav-link.active,
.hth-navbar .navbar-nav .nav-link.show {
  color: #1e4e8c !important;
  font-weight: 600;
  background: #f3f5f9;
}
/* Dropdown arrow colour */
.hth-navbar .dropdown-toggle::after { border-top-color: #1a2742; }
/* Dropdown menu */
.hth-navbar .dropdown-menu {
  --bs-dropdown-link-color:        #1a2742;
  --bs-dropdown-link-hover-color:  #1e4e8c;
  --bs-dropdown-link-hover-bg:     #f3f5f9;
  border: 1px solid #dce4ee;
  border-radius: .75rem;
  box-shadow: 0 12px 40px rgba(30,78,140,.15);
  padding: .5rem;
}
.hth-navbar .dropdown-item {
  border-radius: .5rem;
  font-size: .9rem;
  padding: .6rem .85rem;
  color: #1a2742 !important;
  font-weight: 500;
}
.hth-navbar .dropdown-item:hover,
.hth-navbar .dropdown-item:focus { background: #f3f5f9; color: #1e4e8c !important; }
/* Toggler */
.hth-navbar .navbar-toggler { border: 1px solid #dce4ee; padding: .4rem .65rem; border-radius: .5rem; }
.hth-navbar .navbar-toggler:focus { box-shadow: none; }
/* Mobile collapsed menu — white background with dark text */
@media (max-width: 991.98px) {
  .hth-navbar .navbar-collapse {
    background: #fff;
    border-top: 1px solid #dce4ee;
    margin-top: .5rem;
    padding: .75rem 1rem 1rem;
    border-radius: 0 0 .75rem .75rem;
    box-shadow: 0 8px 24px rgba(30,78,140,.12);
  }
  .hth-navbar .navbar-nav .nav-link { padding: .65rem 1rem !important; border-radius: .4rem; }
  .hth-navbar .dropdown-menu { box-shadow: none; border: 1px solid #e2e8f0; margin-left: .5rem; }
  .hth-navbar .d-flex { padding-top: .75rem; border-top: 1px solid #f1f5f9; margin-top: .5rem; flex-wrap: wrap; gap: .5rem !important; }
}

/* ── Custom buttons ───────────────────────────────────────── */
.btn-hth-primary {
  background: #1e4e8c;
  color: #fff !important;
  border: 2px solid #1e4e8c;
  font-weight: 600;
  border-radius: .6rem;
  transition: all .2s;
}
.btn-hth-primary:hover { background: #122f5c; border-color: #122f5c; transform: translateY(-1px); }

.btn-hth-magenta {
  background: #d0257e;
  color: #fff !important;
  border: 2px solid #d0257e;
  font-weight: 600;
  border-radius: .6rem;
  transition: all .2s;
}
.btn-hth-magenta:hover { background: #a81d66; border-color: #a81d66; transform: translateY(-1px); }

/* ── Badges ───────────────────────────────────────────────── */
.hth-badge {
  background: rgba(30,78,140,.1);
  color: #1e4e8c;
  font-weight: 600;
  font-size: .82rem;
  padding: .35rem 1rem;
}
.hth-badge-magenta {
  background: rgba(208,37,126,.15);
  color: #d0257e;
  font-weight: 600;
  font-size: .82rem;
  padding: .35rem 1rem;
}

/* ── Gradient text ────────────────────────────────────────── */
.hth-gradient-text {
  background: linear-gradient(135deg,#1e4e8c,#d0257e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Footer ───────────────────────────────────────────────── */
.hth-footer {
  background: #1e4e8c;
  color: rgba(255,255,255,.8);
}
.hth-footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.hth-footer-links li { margin-bottom: .5rem; }
.hth-footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}
.hth-footer-links a:hover { color: #fff; }
.hth-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .65rem;
}
.hth-footer-contact a { color: rgba(255,255,255,.65); text-decoration: none; }
.hth-footer-contact a:hover { color: #fff; }
.hth-footer-contact .bi { color: #d0257e; flex-shrink: 0; margin-top: .15rem; }

/* Social icons */
.hth-social-link {
  width: 38px; height: 38px;
  border-radius: .5rem;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all .2s;
  text-decoration: none;
}
.hth-social-link svg { width: 18px; height: 18px; }
.hth-social-link:hover { background: #d0257e; color: #fff; }

/* Value badges */
.hth-value-badge {
  background: rgba(208,37,126,.2);
  border: 1px solid rgba(208,37,126,.4);
  color: #e0408e;
  padding: .2rem .65rem;
  border-radius: 2rem;
  font-size: .75rem;
  font-weight: 600;
}

/* Newsletter input */
.hth-newsletter-input {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.25) !important;
  color: #fff !important;
}
.hth-newsletter-input::placeholder { color: rgba(255,255,255,.5) !important; }
.hth-newsletter-input:focus { background: rgba(255,255,255,.15) !important; box-shadow: 0 0 0 .2rem rgba(208,37,126,.3) !important; }

/* ── Flash messages ───────────────────────────────────────── */
.flash-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Admin (keep working) ────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 70px); }
.admin-sidebar { background: var(--hth-blue); padding: 1.5rem 0; }
.admin-content { padding: 2rem; background: #f8fafc; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: #fff; border-radius: .75rem; padding: 1.5rem; border: 1px solid #e2e8f0; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: #f8fafc; padding: .75rem 1rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; border-bottom: 1px solid #e2e8f0; text-align: left; }
.data-table td { padding: .85rem 1rem; border-bottom: 1px solid #f1f5f9; font-size: 1rem; color: #334155; }
.data-table tr:hover td { background: #f8fafc; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .875rem; color: #374151; margin-bottom: .4rem; }
.form-control { width: 100%; padding: .65rem 1rem; border: 1px solid #d1d5db; border-radius: .5rem; font-size: 1rem; transition: border-color .2s; color: #1f2937; background: #fff; }
.form-control:focus { outline: none; border-color: var(--hth-blue); box-shadow: 0 0 0 3px rgba(30,78,140,.08); }
.form-hint { font-size: .875rem; color: #6b7280; margin-top: .3rem; }

/* ── Auth cards ───────────────────────────────────────────── */
.auth-card { background: #fff; border-radius: 1rem; padding: 2.5rem; box-shadow: 0 10px 40px rgba(30,78,140,.1); border: 1px solid #e2e8f0; max-width: 460px; margin: 3rem auto; }

/* ── Responsive admin ─────────────────────────────────────── */
@media (max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .data-table { display: block; overflow-x: auto; }
}
@media (max-width: 480px) {
  .admin-stat-grid { grid-template-columns: 1fr; }
}

/* ── Fix Bootstrap colour conflicts on content ────────────── */
.text-muted { color: #5a6e8a !important; }
.display-3, .display-4, .display-5 { font-family: 'Inter', system-ui, sans-serif; font-weight: 800; }
.card { --bs-card-border-color: #e2e8f0; }
.text-primary { color: #1e4e8c !important; }
.btn-outline-primary {
  --bs-btn-color:        #1e4e8c;
  --bs-btn-border-color: #1e4e8c;
  --bs-btn-hover-bg:     #1e4e8c;
  --bs-btn-hover-border-color: #1e4e8c;
  --bs-btn-hover-color:  #fff;
}
.object-fit-cover { object-fit: cover; }
.hth-footer .small, .hth-footer small { color: rgba(255,255,255,.55); }
/* Hero section — ensure text stays white over gradient */
.hth-hero * { color: inherit; }
/* Ensure card body text is readable */
.card-text { color: #5a6e8a; }
.card-title { color: #1a2742; }
/* Badge text-bg-primary-subtle override */
.hth-badge { display: inline-block; }
