/* ── DTG Shared Design System ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #07101F;
  --navy-mid:   #0D1A2E;
  --teal:       #1A7A78;
  --teal-light: #24A8A5;
  --gold:       #C9A84C;
  --gold-pale:  #E8C97A;
  --cream:      #F5F0E8;
  --mist:       #A8BED0;
  --slate:      #4A6070;
  --white:      #FFFFFF;
  --font:       'Plus Jakarta Sans', sans-serif;
  --page-bg:    #F2EDE6;
  --page-text:  #1A2535;
  --nav-h:      88px;   /* tall state */
  --nav-h-sm:   64px;   /* shrunk state */
}

html { background: var(--navy); }
body {
  font-family: var(--font);
  color: var(--page-text);
  background: var(--page-bg);
  min-height: 100svh;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   NAV — tall on load, shrinks on scroll
══════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  height: var(--nav-h);
  background: rgba(7,16,31,0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(201,168,76,0);
  transition: height 0.35s ease, background 0.35s ease,
              backdrop-filter 0.35s ease, border-color 0.35s ease;
  will-change: height;
}

.site-nav.scrolled {
  height: var(--nav-h-sm);
  background: rgba(7,16,31,0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(201,168,76,0.15);
}

/* Logo — larger in tall state, smaller when scrolled */
.nav-logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: height 0.35s ease;
}
.site-nav.scrolled .nav-logo img { height: 40px; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-pale); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  transition: filter 0.2s ease, transform 0.2s ease !important;
  white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ── Mobile menu ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 210;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* X state */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,16,31,0.98);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-menu a {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-decoration: none;
  padding: 1rem 2rem;
  transition: color 0.2s;
  text-align: center;
}
.nav-mobile-menu a:hover { color: var(--gold-pale); }
.nav-mobile-menu .mobile-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: flex; }
}

/* ══════════════════════════════════════
   FAB — WhatsApp bubble (WSE style)
══════════════════════════════════════ */
.fab-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ── Bubble popup ── */
.fab-bubble {
  display: none;
  flex-direction: column;
  width: 300px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  animation: dtgBubbleIn 0.2s ease;
  transform-origin: bottom right;
}
.fab-bubble.open { display: flex; }

@keyframes dtgBubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* Header — dark WA green */
.fab-bubble-hdr {
  background: #075E54;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.fab-bubble-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fab-bubble-avatar svg { width: 22px; height: 22px; }
.fab-bubble-info { flex: 1; min-width: 0; }
.fab-bubble-name {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.fab-bubble-status {
  font-family: var(--font);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.72);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.fab-bubble-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
}
/* Dismiss X */
.fab-bubble-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
  transition: color 0.15s;
}
.fab-bubble-close:hover { color: #fff; }

/* Chat body */
.fab-bubble-body {
  background: #ECE5DD;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fab-bubble-msg {
  background: #fff;
  border-radius: 0 8px 8px 8px;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #1A2535;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  max-width: 90%;
}

/* Option links */
.fab-bubble-opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 14px;
  background: #fff;
}
.fab-bubble-opt {
  display: block;
  padding: 9px 14px;
  background: #f0faf8;
  border: 1.5px solid rgba(26,122,120,0.25);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: #1A7A78;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  text-align: left;
  cursor: pointer;
}
.fab-bubble-opt:hover {
  background: rgba(26,122,120,0.12);
  border-color: #1A7A78;
}

/* ── Green FAB button ── */
.fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  flex-shrink: 0;
}
.fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.fab-btn svg { width: 30px; height: 30px; }

/* Red pulse dot */
.fab-ping {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 13px;
  height: 13px;
  background: #FF3B30;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: dtgPing 2s ease-in-out infinite;
}
@keyframes dtgPing {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(1.3); opacity: 0.7; }
}

@media (max-width: 600px) {
  .fab-wrap  { bottom: 16px; right: 16px; }
  .fab-bubble { width: 280px; max-width: calc(100vw - 40px); }
}

/* ══════════════════════════════════════
   INNER PAGE HERO
══════════════════════════════════════ */
.page-hero {
  position: relative;
  height: clamp(260px, 42vh, 420px);
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(1.5rem, 8vw, 7rem) clamp(2rem, 4vh, 3rem);
  overflow: hidden;
  margin-top: var(--nav-h);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,16,31,0.85) 0%, rgba(7,16,31,0.35) 60%, rgba(7,16,31,0.2) 100%);
}

.page-hero-content { position: relative; z-index: 2; max-width: 760px; }

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 0.75rem;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--teal-light); }

/* ══════════════════════════════════════
   CONTENT + SECTIONS
══════════════════════════════════════ */
.content-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(3rem, 6vh, 5rem) clamp(1.5rem, 8vw, 5rem);
  overflow-x: hidden;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: var(--mist);
  padding: clamp(2.5rem, 5vh, 4rem) clamp(1.5rem, 8vw, 5rem) 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand img { height: 56px; margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(168,190,208,0.7);
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(168,190,208,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cream); }
.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(168,190,208,0.7);
}

.footer-divider {
  max-width: 1120px;
  margin: 2rem auto 0;
  border: none;
  border-top: 1px solid rgba(168,190,208,0.12);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-divider p {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168,190,208,0.4);
}
.footer-accreditations {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(168,190,208,0.4);
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-divider { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════
   UTILITY
══════════════════════════════════════ */
.gold-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0.01ms !important; }
}
