/* ============================================================
   STYLES.CSS — Harvin Properties
   All colours driven by CSS custom properties so themes
   injected by theme.js take effect instantly.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── Default token values (Ocean theme / fallback) ── */
:root {
  --bg:             #F8FAFF;
  --bg-card:        #FFFFFF;
  --bg-subtle:      #EEF4FF;
  --border:         rgba(14,165,233,0.14);
  --border-hover:   rgba(14,165,233,0.35);
  --border-strong:  rgba(14,165,233,0.22);

  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;

  --blue:           #0EA5E9;
  --blue-dark:      #0284C7;
  --blue-light:     #BAE6FD;
  --blue-dim:       rgba(14,165,233,0.10);

  --modal-accent:   #0EA5E9;

  --hero-grad:      linear-gradient(145deg,#E0F2FE 0%,#F0F9FF 35%,#FEF9EE 70%,#F8FAFF 100%);
  --hero-blob1:     rgba(14,165,233,0.15);
  --hero-blob2:     rgba(245,158,11,0.12);
  --team-bg:        linear-gradient(180deg,#EFF8FF 0%,#F8FAFF 100%);
  --footer-bg:      #0C1628;
  --navbar-bg:      rgba(255,255,255,0.97);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm:    0 1px 4px rgba(14,165,233,0.08);
  --shadow-card:  0 4px 24px rgba(14,165,233,0.10),0 1px 4px rgba(0,0,0,0.03);
  --shadow-modal: 0 20px 60px rgba(14,165,233,0.16),0 4px 16px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(14,165,233,0.18);

  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; transition: background 0.3s; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

#navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}

.nav-brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
}

.nav-logo-svg { width: 38px; height: 38px; flex-shrink: 0; }

/* SVG logo rect fill follows theme primary */
.nav-logo-svg rect { fill: var(--blue); transition: fill 0.35s; }

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1;
  transition: color 0.35s;
}

.nav-brand-text span { color: var(--blue); transition: color 0.35s; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  box-shadow: 0 2px 12px var(--blue-dim) !important;
  border: none !important;
  display: inline-block !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px) !important;
}

#nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 4px;
}

#nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: var(--transition);
}

#mobile-menu {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  z-index: 99;
  flex-direction: column; gap: 0.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: background 0.35s;
}

#mobile-menu.open { display: flex; }

#mobile-menu a {
  font-size: 1rem; font-weight: 500;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

#mobile-menu a:hover { color: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: auto;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--hero-grad);
  padding-top: 70px;
  padding-bottom: 1.5rem;
  transition: background 0.35s ease;
}

#hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--hero-blob1) 0%, transparent 65%);
  pointer-events: none; transition: background 0.35s;
}

#hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, var(--hero-blob2) 0%, transparent 65%);
  pointer-events: none; transition: background 0.35s;
}

.hero-bg, .hero-overlay, .hero-grain { display: none; }

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px;
  padding: 2rem 1.5rem 0.5rem;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid var(--border-strong);
  padding: 0.45rem 1.1rem; border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease both;
  transition: color 0.35s, background 0.35s, border-color 0.35s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  animation: fadeUp 0.7s 0.1s ease both;
  transition: color 0.35s;
}

.hero-title em { font-style: italic; color: var(--blue); transition: color 0.35s; }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  font-weight: 400; max-width: 520px;
  margin: 0 auto 3rem; line-height: 1.7;
  animation: fadeUp 0.7s 0.18s ease both;
  transition: color 0.35s;
}

/* ============================================================
   AUTH CARD
   ============================================================ */
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  max-width: 700px; margin: 0 auto;
  animation: fadeUp 0.7s 0.26s ease both;
  box-shadow: var(--shadow-card);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.auth-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.25rem;
  transition: color 0.35s;
}

.auth-card-sub {
  font-size: 0.875rem; color: var(--text-secondary);
  margin-bottom: 1.75rem; transition: color 0.35s;
}

.user-type-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0.875rem; margin-bottom: 1.25rem;
}

.user-type-pill {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.4rem;
  padding: 1.1rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 0.8125rem; font-weight: 600; cursor: pointer;
}

.user-type-pill:hover {
  border-color: var(--pill-color, var(--blue));
  background: color-mix(in srgb, var(--pill-color, var(--blue)) 8%, var(--bg-card));
  color: var(--pill-color, var(--blue));
  transform: translateY(-3px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--pill-color, var(--blue)) 18%, transparent);
}

.user-type-pill[data-type="tenant"]  { --pill-color: #0EA5E9; }
.user-type-pill[data-type="landlord"]{ --pill-color: #F59E0B; }
.user-type-pill[data-type="manager"] { --pill-color: #10B981; }

.pill-icon   { font-size: 1.75rem; line-height: 1; }
.pill-label  { font-weight: 700; color: var(--text-primary); transition: color 0.35s; }
.pill-action { font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }

.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 0.25rem 0 1.25rem;
  color: var(--text-muted); font-size: 0.75rem; font-weight: 500;
}

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

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

.register-pill { background: var(--bg-subtle); border-color: var(--border); }

/* ============================================================
   AUTH MODAL
   ============================================================ */
#modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}

#modal-overlay.open { opacity: 1; pointer-events: all; }

#auth-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%,-46%) scale(0.97);
  width: min(580px,94vw); max-height: 90vh; overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  z-index: 201; box-shadow: var(--shadow-modal);
  opacity: 0; pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s ease, background 0.35s;
}

#auth-modal.open {
  opacity: 1; pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}

.modal-header {
  padding: 1.75rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  position: sticky; top: 0;
  background: var(--bg-card); z-index: 1;
  transition: background 0.35s, border-color 0.35s;
}

.modal-header-left { display: flex; align-items: center; gap: 1rem; }

#modal-user-icon {
  font-size: 2rem; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--modal-accent) 10%, var(--bg-card));
  border: 1.5px solid color-mix(in srgb, var(--modal-accent) 22%, transparent);
  border-radius: var(--radius-md);
  transition: background 0.35s, border-color 0.35s;
}

#modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 600;
  line-height: 1.2; color: var(--text-primary);
  transition: color 0.35s;
}

#modal-subtitle { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 0.2rem; transition: color 0.35s; }

#modal-close {
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 1rem;
  transition: all var(--transition); flex-shrink: 0;
}

#modal-close:hover { background: #FEE2E2; border-color: #FCA5A5; color: #EF4444; }

.modal-tabs {
  display: flex; padding: 0 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
  transition: background 0.35s, border-color 0.35s;
}

.modal-tab {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted); background: none; border: none;
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
  transition: all var(--transition);
}

.modal-tab.active { color: var(--modal-accent); border-color: var(--modal-accent); }
.modal-tab:hover:not(.active) { color: var(--text-secondary); }

.modal-body { padding: 1.5rem 2rem 2rem; }

/* ── Forms ── */
.auth-form { display: flex; flex-direction: column; }

.form-fields {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.875rem 1rem; margin-bottom: 0.5rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.3rem; }

.form-label {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-secondary); letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 0.25rem;
  transition: color 0.35s;
}

.required-dot { color: var(--modal-accent); }

.form-input {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.875rem;
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--text-primary); outline: none;
  transition: all var(--transition); width: 100%;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--modal-accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--modal-accent) 14%, transparent);
}

.form-input.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }

.field-error { font-size: 0.72rem; color: #EF4444; min-height: 0.9rem; }

.forgot-row { text-align: right; margin: 0.5rem 0 1rem; }

.forgot-link { font-size: 0.8rem; color: var(--text-muted); transition: color var(--transition); }
.forgot-link:hover { color: var(--blue); }

.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--modal-accent); color: #fff;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-md);
  border: none; width: 100%; margin-top: 1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--modal-accent) 28%, transparent);
}

.btn-submit:hover {
  filter: brightness(1.08); transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--modal-accent) 34%, transparent);
}

.btn-submit.loading { opacity: 0.7; pointer-events: none; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 3.5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center; margin-bottom: 4rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-header.in-view { opacity: 1; transform: none; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.875rem;
  transition: color 0.35s;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,5vw,3.4rem);
  font-weight: 700; line-height: 1.1;
  color: var(--text-primary); margin-bottom: 1rem;
  letter-spacing: -0.015em; transition: color 0.35s;
}

.section-title em { font-style: italic; color: var(--blue); transition: color 0.35s; }

.section-desc {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto; line-height: 1.7;
  transition: color 0.35s;
}

/* ============================================================
   TEAM
   ============================================================ */
#team {
  background: var(--team-bg);
  position: relative;
  transition: background 0.35s;
}

#team::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(to bottom,transparent,var(--border-strong) 20%,var(--border-strong) 80%,transparent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; gap: 1.25rem; align-items: flex-start;
  transition: all 0.28s ease;
  opacity: 0; transform: translateY(20px);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.team-card.in-view { opacity: 1; transform: none; }

.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.team-card:hover::before { transform: scaleX(1); }

.team-avatar-wrap { position: relative; flex-shrink: 0; }

.team-avatar {
  width: 62px; height: 62px;
  border-radius: var(--radius-md); border: 2px solid;
  display: flex; align-items: center; justify-content: center;
}

.team-initials {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; letter-spacing: 0.03em;
}

.team-accent-dot {
  position: absolute; bottom: -3px; right: -3px;
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--bg-card);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 0.2rem;
  color: var(--text-primary); transition: color 0.35s;
}

.team-role {
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.team-bio {
  font-size: 0.875rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 0.875rem; transition: color 0.35s;
}

.team-links { display: flex; gap: 0.5rem; }

.team-social {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
  background: var(--bg-subtle);
}

.team-social:hover {
  border-color: var(--link-color);
  color: var(--link-color);
  background: color-mix(in srgb, var(--link-color) 10%, var(--bg-card));
  transform: translateY(-1px);
}

/* ── Toast ── */
#toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 100px; padding: 0.75rem 1.5rem;
  font-size: 0.875rem; font-weight: 600;
  z-index: 500; opacity: 0; pointer-events: none;
  transition: all 0.32s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap; box-shadow: var(--shadow-card);
}

#toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

#toast::before { content: '✓ '; color: #10B981; font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--footer-bg);
  color: #64748B;
  transition: background 0.35s;
}

.footer-top {
  padding: 4rem 2rem 3rem;
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr repeat(4,1fr);
  gap: 3rem;
}

.footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }

.footer-logo-svg { width: 34px; height: 34px; flex-shrink: 0; }
.footer-logo-svg rect { fill: var(--blue); transition: fill 0.35s; }

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
}

.footer-logo-text span { color: var(--blue); transition: color 0.35s; }

.footer-tagline {
  font-size: 0.875rem; color: #475569;
  line-height: 1.65; margin-bottom: 1.5rem; max-width: 230px;
}

.footer-social-row { display: flex; gap: 0.5rem; }

.footer-social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #64748B;
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--blue-dim);
  border-color: var(--border);
  color: var(--blue);
}

.footer-col-title {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}

.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

.footer-link { font-size: 0.875rem; color: #475569; transition: color var(--transition); }
.footer-link:hover { color: #CBD5E1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}

.footer-copy { font-size: 0.8rem; color: #334155; }

.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-legal-link { font-size: 0.78rem; color: #334155; transition: color var(--transition); }
.footer-legal-link:hover { color: #64748B; }

/* ── Floating Contact CTA ── */
.contact-float-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 8999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem 0.65rem 1rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 24px var(--blue-dim), 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.22s ease;
  animation: floatIn 0.6s 1.2s cubic-bezier(0.34,1.56,0.64,1) both;
  white-space: nowrap;
}
.contact-float-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--blue-dim), 0 2px 8px rgba(0,0,0,0.15);
}
.contact-float-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.contact-float-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
  animation: pulseGreen 1.8s infinite;
  flex-shrink: 0;
}
@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
@keyframes floatIn {
  from { opacity:0; transform: translateY(20px) scale(0.9); }
  to   { opacity:1; transform: none; }
}

/* ── Nav Contact CTA pill ── */
.nav-contact-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 0.38rem 1rem;
  border-radius: 100px;
  font-weight: 700 !important;
  transition: background 0.18s ease, transform 0.18s ease;
  border: 1.5px solid transparent;
}
.nav-contact-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
}

/* ── Inline Contact Nudge Banner ── */
.contact-nudge-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 3px solid rgba(255,255,255,0.12);
  border-bottom: 3px solid rgba(0,0,0,0.15);
}
.contact-nudge-band::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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.contact-nudge-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.contact-nudge-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.contact-nudge-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.contact-nudge-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  line-height: 1.7;
}
.contact-nudge-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.25rem;
}
.contact-nudge-btn-primary {
  background: #fff;
  color: var(--blue-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.contact-nudge-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}
.contact-nudge-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.contact-nudge-btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}
.contact-nudge-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.25rem;
}
.contact-nudge-trust-item {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.contact-nudge-trust-item::before {
  content: '✓';
  font-weight: 700;
  color: #10B981;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  #nav-burger { display: flex; }
  .user-type-grid, .register-grid { grid-template-columns: 1fr; }
  .form-fields { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  #navbar { padding: 0 1.25rem; }
  .nav-brand-text { font-size: 1.1rem; }
  section { padding: 2.5rem 1.25rem; }
  .auth-card { padding: 1.5rem 1.25rem; }
  .modal-body { padding: 1.25rem 1.25rem 1.75rem; }
  .modal-header { padding: 1.25rem 1.25rem 0.875rem; }
  .modal-tabs { padding: 0 1.25rem; }
  .footer-top { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
}
