/* ============================================
   BBAC WEBSITE — SHARED DESIGN SYSTEM
   ============================================ */
:root {
  --navy: #0A2240;
  --navy-deep: #061830;
  --navy-darker: #04111F;
  --navy-soft: #1A3454;
  --gold: #D4A53A;
  --gold-bright: #E8B948;
  --gold-soft: #F5D58C;
  --gold-glow: rgba(212,165,58,0.15);
  --cream: #F5F2EA;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --muted: #8A9BAE;
  --line: #E5E2D9;
  --text-dark: #1A1A1A;
  --text-body: #3A3A3A;
  --green: #2D7A4D;
  --red: #B85B5B;
  --shadow-sm: 0 2px 8px rgba(10,34,64,0.06);
  --shadow-md: 0 8px 24px rgba(10,34,64,0.08);
  --shadow-lg: 0 20px 60px rgba(10,34,64,0.15);
  --shadow-gold: 0 12px 40px rgba(212,165,58,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
input, select, button, textarea { font-family: inherit; }

/* TYPOGRAPHY */
.display, h1.display, h2.display, h3.display {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.serif-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
section { position: relative; }
.gold-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 28px;
}

/* NAVIGATION */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,34,64,0.06);
  transition: all 0.3s var(--ease);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { width: 44px; height: 44px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-brand-sub {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav-menu a.active { color: var(--gold); }
.nav-menu a:hover { color: var(--gold); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 22px !important;
  border-radius: 2px;
  font-size: 13px !important;
  letter-spacing: 0.5px;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: all 0.3s var(--ease);
}

/* BUTTONS */
.btn-gold, .btn-navy, .btn-outline-light, .btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-gold::after { content: '→'; font-size: 18px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-navy::after { content: '→'; font-size: 18px; }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* PAGE HERO (interior pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -250px; right: -150px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -250px; left: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.025) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  color: var(--white);
}
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 700; }
.page-hero-lead {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* SECTION HEAD */
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}
.section-head .eyebrow { display: inline-block; }
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 24px;
}
.section-head h2 em { font-style: italic; color: var(--gold); font-weight: 700; }
.section-head p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  font-weight: 300;
}
.section-head.left { text-align: left; margin: 0 0 60px; max-width: none; }

/* GENERIC CARD GRID */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* GENERIC CARD */
.feature-card {
  background: var(--white);
  padding: 44px 36px;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .icon {
  width: 52px; height: 52px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border-radius: 6px;
  color: var(--gold);
}
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
}
.feature-card ul {
  list-style: none;
  margin-top: 16px;
}
.feature-card ul li {
  font-size: 14px;
  line-height: 1.55;
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  color: var(--text-body);
  border-bottom: 1px solid var(--line);
}
.feature-card ul li:last-child { border-bottom: none; }
.feature-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  color: var(--gold);
  font-weight: 700;
}

/* SECTION VARIATIONS */
.section-paper { padding: 110px 0; background: var(--paper); }
.section-cream { padding: 110px 0; background: var(--cream); }
.section-navy { padding: 110px 0; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.section-navy .section-head h2 { color: var(--white); }
.section-navy .section-head p { color: rgba(255,255,255,0.8); }

/* CTA STRIP */
.cta-strip {
  background: var(--cream);
  padding: 90px 0;
  text-align: center;
}
.cta-strip-inner { max-width: 760px; margin: 0 auto; }
.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.cta-strip h2 em { font-style: italic; color: var(--gold); font-weight: 700; }
.cta-strip p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 36px;
  font-weight: 300;
}
.cta-strip-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: var(--navy-darker);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-brand img { width: 48px; height: 48px; }
.footer-brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  line-height: 1.2;
}
.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 18px;
}
.footer-descr {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s var(--ease);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.footer-contact-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.footer-contact-value { font-size: 14px; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--gold); }

/* FLOATING WHATSAPP */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: var(--white);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: all 0.3s var(--ease);
}
.float-contact:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}

/* REVEAL ANIMATION — progressive enhancement.
   Content is visible by default. JS adds .will-reveal to <body>
   to enable the entrance animation. If JS doesn't run, content
   stays visible — no invisible sections. */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.will-reveal .reveal {
  opacity: 0;
  transform: translateY(30px);
}
.will-reveal .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container { padding: 0 30px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-hero { padding: 130px 0 70px; }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .nav-inner { padding: 14px 22px; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    gap: 22px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-brand-text { display: none; }
  .page-hero { padding: 110px 0 60px; }
  .section-paper, .section-cream, .section-navy { padding: 70px 0; }
  .cta-strip { padding: 70px 0; }
  .section-head { margin-bottom: 50px; }
  .card-grid-3, .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-contact { bottom: 18px; right: 18px; width: 54px; height: 54px; }
}
