/* ─── Global Base Styles ─── */
/* Font: Montserrat (headings) + Plus Jakarta Sans (body)
   Brand colors defined in design-system.css                */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-light);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.3px;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

p {
  margin-bottom: 0.875rem;
  color: var(--color-text-body);
  font-size: 1rem;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-deep-blue);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

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

/* ─── Utilities ─── */
.text-center { text-align: center; }

/* ─── Reveal Animation (IntersectionObserver driven) ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Section Layout ─── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-top: 1rem;
}

.section-sub {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-top: 0.75rem;
  line-height: 1.65;
}

/* ─── Eyebrow Tag ─── */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.875rem;
  border-radius: 9999px;
  background: rgba(158, 168, 122, 0.15);
  color: var(--color-moss);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.eyebrow-light .eyebrow-dot {
  background: rgba(255, 255, 255, 0.7);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-arrow {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-arrow svg {
  width: 0.75rem;
  height: 0.75rem;
}

.btn:hover .btn-arrow {
  transform: translateX(3px) translateY(-1px);
}

/* Primary */
.btn-primary {
  background: var(--color-deep-blue);
  color: #fff;
  box-shadow: 0 12px 32px rgba(61, 92, 128, 0.22);
}

.btn-primary:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(61, 92, 128, 0.28);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid rgba(91, 127, 166, 0.4);
}

.btn-ghost:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Outline (light bg) */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid rgba(91, 127, 166, 0.5);
  margin-top: 1.5rem;
}

.btn-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Primary Light (on dark bg) */
.btn-primary-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

.btn-primary-light:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #fff;
}

/* White (on gradient bg) */
.btn-white {
  background: #fff;
  color: var(--color-deep-blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  color: var(--color-deep-blue);
}

.btn-white .btn-arrow {
  background: rgba(61, 92, 128, 0.1);
}

/* ─── WhatsApp Float ─── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.42);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.52);
  color: #fff;
}

.wa-float:active {
  transform: scale(0.97);
}

.wa-float svg {
  width: 1.625rem;
  height: 1.625rem;
}

/* ─── Print Styles for PDF Generation ─── */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body {
    background-color: var(--color-bg-light) !important;
  }
  .wa-float {
    display: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  @page {
    margin: 0;
    size: auto;
  }
}
