/* ============================================================
   BNKS & ASSOCIATES — Dark Luxury Gold Theme
   Black background · Gold borders · Ambient glow
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

/* === CSS VARIABLES === */
:root {
  /* Dark palette */
  --bg-deep:     #06080E;
  --bg-dark:     #090C14;
  --bg-card:     #0C101A;
  --bg-card2:    #0F1420;
  --navy:        #0B1F3A;
  --navy-mid:    #152E52;
  --navy-light:  #1D3D69;

  /* Gold */
  --gold:        #C9A84C;
  --gold-light:  #E8C870;
  --gold-pale:   rgba(201,168,76,0.12);
  --gold-glow:   rgba(201,168,76,0.25);
  --gold-glow-md: rgba(201,168,76,0.15);
  --gold-glow-sm: rgba(201,168,76,0.08);

  /* Text */
  --white:       #FFFFFF;
  --text-dark:   #FFFFFF;
  --text-mid:    rgba(255,255,255,0.65);
  --text-light:  rgba(255,255,255,0.4);
  --cream:       #06080E;

  /* Borders */
  --border:      rgba(201,168,76,0.18);
  --border-glow: rgba(201,168,76,0.35);

  /* Shadows */
  --shadow-sm:   0 4px 20px rgba(0,0,0,0.4);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.5);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.6);

  /* Card glow */
  --card-glow:   0 0 0 1px rgba(201,168,76,0.15), 0 8px 32px rgba(0,0,0,0.5), 0 0 40px rgba(201,168,76,0.06);
  --card-glow-hover: 0 0 0 1px rgba(201,168,76,0.4), 0 16px 60px rgba(0,0,0,0.6), 0 0 60px rgba(201,168,76,0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito Sans', -apple-system, sans-serif;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:       16px;
  --radius-sm:    8px;
}

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* === NAVIGATION === */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6,8,14,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 2px 40px rgba(0,0,0,0.5);
  transition: background var(--transition), box-shadow var(--transition);
}
header.site-header.scrolled {
  background: rgba(6,8,14,0.98);
  box-shadow: 0 2px 40px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.15);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-brand img {
  height: 58px;
  width: auto;
  filter: none;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 8px;
  object-fit: contain;
}
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}
.nav-brand-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
nav ul li a {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width var(--transition);
  border-radius: 2px;
}
nav ul li a:hover { color: var(--gold); }
nav ul li a:hover::after { width: 100%; }
nav ul li a.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #06080E;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(201,168,76,0.35), 0 0 0 1px rgba(201,168,76,0.3);
}
nav ul li a.nav-cta::after { display: none; }
nav ul li a.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #06080E;
  box-shadow: 0 6px 24px rgba(201,168,76,0.5), 0 0 0 1px rgba(201,168,76,0.5);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #06080E;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4), 0 0 0 1px rgba(201,168,76,0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.55), 0 0 0 1px rgba(201,168,76,0.5);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(201,168,76,0.35);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 0 0 rgba(201,168,76,0);
}
.btn-secondary:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 12px rgba(201,168,76,0.1);
}
.btn-outline:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #06080E;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}
.btn-dark {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-dark:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* === SECTION HEADINGS === */
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.on-dark { color: var(--white); }
.section-desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.75;
}
.section-desc.on-dark { color: var(--text-mid); }
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }
.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  margin: 18px 0 20px;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(201,168,76,0.4);
}
.centered .divider-gold { margin: 18px auto 20px; }

/* === PAGE WRAPPER === */
.page-content {
  padding-top: 80px;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(160deg, #06080E 0%, #0A0D15 50%, #0C1018 100%);
  padding: 90px 40px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(201,168,76,0.06) 0%, transparent 70%),
    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='%23C9A84C' 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");
}
/* Gold shimmer line */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.5) 50%, transparent 100%);
}
.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.page-hero .section-eyebrow { margin-bottom: 10px; }
.page-hero h1,
.page-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* === FOOTER === */
footer.site-footer {
  background: #040608;
  color: var(--white);
  padding: 70px 40px 30px;
  border-top: 1px solid rgba(201,168,76,0.2);
  position: relative;
}
footer.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.6) 50%, transparent 100%);
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  margin-bottom: 32px;
}
.footer-brand img {
  height: 60px;
  filter: none;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 10px;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 280px;
}
.footer-reg {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(201,168,76,0.08);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: 0 0 20px rgba(201,168,76,0.05);
}
.footer-reg span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.footer-reg strong {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-icon {
  font-size: 1rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes goldShimmer {
  0%   { left: -75%; }
  100% { left: 160%; }
}
.fade-up  { animation: fadeUp  0.7s ease both; }
.fade-in  { animation: fadeIn  0.6s ease both; }

/* === MOBILE NAV === */
@media (max-width: 900px) {
  .nav-inner { padding: 0 24px; }
  .nav-toggle { display: block; }
  nav {
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: rgba(6,8,14,0.98);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  nav.open {
    max-height: 480px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(201,168,76,0.1);
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
  }
  nav ul li { width: 100%; }
  nav ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(201,168,76,0.08);
    font-size: 0.9rem;
  }
  nav ul li a.nav-cta {
    margin-top: 12px;
    text-align: center;
    border: none;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 80px 24px 60px; }
}

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */

.fab-whatsapp {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fabBounceIn 0.6s 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.fab-whatsapp:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.6);
}
.fab-whatsapp svg { width: 30px; height: 30px; fill: #ffffff; }
.fab-whatsapp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: fabPulseRing 2.5s ease-out infinite;
}

.fab-contact-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  animation: fabBounceIn 0.6s 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
.fab-contact-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 6px 24px rgba(201,168,76,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fab-contact-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 40px rgba(201,168,76,0.7);
}
.fab-contact-btn svg { width: 28px; height: 28px; fill: #06080E; transition: transform 0.3s ease; }
.fab-contact-btn.open svg { transform: rotate(45deg); }

/* FAB Modal */
.fab-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fab-modal-overlay.open { display: block; opacity: 1; }

.fab-contact-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(0.92);
  z-index: 1002;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  box-shadow: var(--card-glow-hover);
  padding: 32px 28px 28px;
  width: 420px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
.fab-contact-popup.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.fab-modal-overlay { z-index: 1001; }
.fab-popup-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.fab-popup-header h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.fab-popup-header p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
  padding-right: 24px;
}
.fab-popup-close {
  position: absolute;
  top: -4px;
  right: 0;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.fab-popup-close:hover { color: var(--gold); }

.fab-contact-form { display: flex; flex-direction: column; gap: 12px; }
.fab-form-group input,
.fab-form-group select,
.fab-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.fab-form-group input:focus,
.fab-form-group select:focus,
.fab-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12), 0 0 16px rgba(201,168,76,0.08);
}
.fab-form-group input::placeholder { color: rgba(255,255,255,0.3); }
.fab-form-group textarea { resize: vertical; min-height: 80px; }
.fab-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.fab-form-group select option { background: var(--bg-card); color: var(--white); }
.fab-form-status {
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  padding: 0;
  display: none;
}
.fab-form-status.success {
  display: block;
  background: rgba(26,107,60,0.15);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.3);
  padding: 10px 14px;
}
.fab-form-status.error {
  display: block;
  background: rgba(192,57,43,0.15);
  color: #f87171;
  border: 1px solid rgba(248,113,113,0.3);
  padding: 10px 14px;
}
.fab-form-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #06080E;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  letter-spacing: 0.3px;
}
.fab-form-submit:hover {
  box-shadow: 0 6px 30px rgba(201,168,76,0.6);
  transform: translateY(-1px);
}
.fab-form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  left: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: rgba(6,8,14,0.9);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 16px rgba(201,168,76,0.08);
}
.scroll-top-btn.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201,168,76,0.5);
  transform: translateY(-3px);
}
.scroll-top-btn svg {
  width: 18px; height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}
.scroll-top-btn:hover svg { stroke: #06080E; }

/* FAB Animations */
@keyframes fabBounceIn {
  0%   { opacity: 0; transform: scale(0) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fabPulseRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 600px) {
  /* FAB button sizes — slightly smaller on mobile */
  .fab-whatsapp { width: 50px; height: 50px; bottom: 88px; right: 14px; }
  .fab-whatsapp svg { width: 26px; height: 26px; }
  .fab-contact-wrap { bottom: 14px; right: 14px; }
  .fab-contact-btn { width: 52px; height: 52px; }
  .fab-contact-btn svg { width: 24px; height: 24px; }
  .scroll-top-btn { bottom: 88px; left: 14px; width: 40px; height: 40px; }
  .scroll-top-btn svg { width: 16px; height: 16px; }
}

/* ===== FAB CONTACT POPUP — MOBILE ===== */
@media (max-width: 600px) {
  .fab-contact-popup {
    /* Pin from top with safe margin instead of 50% centering */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 100px);
    padding: 20px 16px 18px;
    border-radius: 16px;
    overflow-y: auto;
  }
  .fab-contact-popup.open {
    transform: translate(-50%, -50%) scale(1);
  }
  .fab-popup-header h4 { font-size: 1.15rem; }
  .fab-popup-header p { font-size: 0.75rem; }
  .fab-form-group input,
  .fab-form-group select,
  .fab-form-group textarea { font-size: 16px; /* prevents iOS zoom */ padding: 10px 12px; }
  .fab-form-submit { padding: 12px; font-size: 0.85rem; }
}

/* ============================================================
   COGNIGAIN CREDIT BAR
   ============================================================ */
.cognigain-bar {
  background: #040608;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.cognigain-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.5) 50%, transparent 100%);
}
.cognigain-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  flex-shrink: 0;
}
.cognigain-divider {
  width: 1px;
  height: 32px;
  background: rgba(201,168,76,0.2);
  flex-shrink: 0;
}
.cognigain-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 12px;
  padding: 10px 22px 10px 14px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              background 0.35s ease;
  cursor: pointer;
}
.cognigain-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -80%;
  width: 55%; height: 200%;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,0.1) 50%, transparent 75%);
  transform: skewX(-15deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.cognigain-card:hover::after { left: 160%; }
.cognigain-card:hover {
  transform: translateY(-5px) scale(1.03);
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,168,76,0.5);
  box-shadow: var(--card-glow-hover);
}
.cognigain-logo-wrap {
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 40px;
}
.cognigain-logo-wrap img { height: 30px; width: auto; display: block; object-fit: contain; }
.cognigain-text { display: flex; flex-direction: column; gap: 2px; }
.cognigain-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1;
}
.cognigain-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.06em;
  font-style: italic;
}

@media (max-width: 600px) {
  .cognigain-bar { padding: 18px 20px; gap: 14px; }
  .cognigain-label { font-size: 0.6rem; letter-spacing: 0.14em; }
  .cognigain-card { padding: 8px 16px 8px 10px; gap: 10px; }
  .cognigain-name { font-size: 0.8rem; }
}

/* ============================================================
   GLOBAL DARK THEME OVERRIDES — All Inner Pages
   ============================================================ */

/* Inner page section backgrounds */
.section-pad, .section-pad-sm {
  background: inherit;
}

/* Card overrides for any white cards on inner pages */
.team-card,
.value-card,
.service-detail-card,
.event-card,
.career-card,
.contact-card,
.milestone-item {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
  box-shadow: 0 0 0 1px rgba(201,168,76,0.06), 0 8px 32px rgba(0,0,0,0.4) !important;
  color: var(--white) !important;
  position: relative;
  overflow: hidden;
}
.team-card::after,
.value-card::after,
.service-detail-card::after,
.event-card::after,
.career-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(105deg, transparent 30%, rgba(201,168,76,0.08) 50%, transparent 70%);
  transform: skewX(-15deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.team-card:hover::after,
.value-card:hover::after,
.service-detail-card:hover::after,
.event-card:hover::after,
.career-card:hover::after { left: 150%; }

.team-card:hover,
.value-card:hover,
.service-detail-card:hover,
.event-card:hover,
.career-card:hover {
  border-color: rgba(201,168,76,0.4) !important;
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.25),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(201,168,76,0.08) !important;
}

/* Heading colours on inner pages */
.team-card h3,
.value-card h3,
.service-detail-card h3,
.event-card h3,
.career-card h3 { color: var(--white) !important; }

.team-card p,
.value-card p,
.service-detail-card p,
.event-card p,
.career-card p { color: rgba(255,255,255,0.55) !important; }

/* Featured event card image */
.event-card.featured { display: flex; flex-direction: column; }
.event-img {
  width: 100%;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  max-height: 220px;
  flex-shrink: 0;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact form */
.contact-form-wrap,
.contact-info-wrap {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
  box-shadow: 0 0 0 1px rgba(201,168,76,0.06), 0 8px 32px rgba(0,0,0,0.4) !important;
}

input, textarea, select {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
  color: var(--white) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12) !important;
  background: rgba(255,255,255,0.06) !important;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3) !important; }
label { color: rgba(255,255,255,0.65) !important; }
select option { background: #0C101A !important; color: var(--white) !important; }

/* Generic section divider lines */
hr { border-color: rgba(201,168,76,0.15) !important; }

/* Any remaining white/light backgrounds on inner pages */
.about-section,
.services-section,
.contact-section,
.events-section,
.careers-section {
  background: var(--bg-deep) !important;
}

/* Tables on inner pages */
table { border-collapse: collapse; width: 100%; }
th {
  background: rgba(201,168,76,0.1) !important;
  color: var(--gold) !important;
  border-bottom: 1px solid rgba(201,168,76,0.2) !important;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
}
td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(201,168,76,0.08) !important;
  color: rgba(255,255,255,0.65) !important;
}
tr:hover td { background: rgba(201,168,76,0.03) !important; }

/* Timeline / milestone dots */
.timeline-dot, .milestone-dot {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  box-shadow: 0 0 16px rgba(201,168,76,0.5) !important;
}
.timeline-line { background: rgba(201,168,76,0.2) !important; }

/* Breadcrumbs */
.breadcrumb { color: rgba(255,255,255,0.4) !important; }
.breadcrumb a { color: var(--gold) !important; }

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE FIX
   ============================================================ */

/* Prevent horizontal scroll globally */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* { min-width: 0; }

/* ===== NAV FIXES ===== */
@media (max-width: 900px) {
  .nav-inner {
    padding: 0 16px;
    height: 68px;
  }
  .nav-brand img { height: 44px; }
  .nav-brand { gap: 10px; }
  .nav-brand-name { font-size: 1.1rem; }
  .nav-brand-sub { font-size: 0.58rem; letter-spacing: 0.08em; }
  nav {
    top: 68px;
    z-index: 1001;
  }
  nav.open { max-height: 520px; }
  nav ul li a.nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
  }
  .page-content { padding-top: 68px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 14px; height: 62px; }
  .nav-brand-text { display: flex; }
  .nav-brand-name { font-size: 1rem; }
  nav { top: 62px; }
  .page-content { padding-top: 62px; }
}

/* ===== BUTTONS MOBILE ===== */
@media (max-width: 480px) {
  .btn-primary, .btn-secondary, .btn-outline, .btn-dark {
    padding: 12px 20px;
    font-size: 0.78rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .hero-actions, .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }
  .service-cta-row a { width: auto !important; }
}

/* ===== PAGE HERO (inner pages) ===== */
@media (max-width: 768px) {
  .page-hero { padding: 80px 20px 50px; }
  .page-hero h1, .page-hero h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .page-hero p { font-size: 0.92rem; }
}

/* ===== FOOTER ===== */
@media (max-width: 900px) {
  footer.site-footer { padding: 50px 20px 24px; }
  .footer-grid { gap: 28px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { max-width: 100%; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { justify-content: center; }
  footer.site-footer { padding: 40px 16px 20px; }
}

/* ===== COGNIGAIN BAR ===== */
@media (max-width: 480px) {
  .cognigain-bar { flex-wrap: wrap; justify-content: center; padding: 14px 16px; gap: 10px; }
  .cognigain-divider { display: none; }
  .cognigain-label { width: 100%; text-align: center; }
}

/* FAB popup handled in 600px block above */
