/* ─────────────────────────────────────────
   BASE — reset, body, global utils
   ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto; /* JS handles smooth scroll with custom easing */
  scroll-padding-top: 72px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

/* Remove 300ms tap delay on mobile */
a, button, [role="button"], .btn { touch-action: manipulation; }

/* Layout container */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 24px;
  background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 6px;
  transition: top .2s; z-index: 999;
}
.skip-link:focus { top: 24px; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity 300ms; transform: none; }
  .word   { transition: opacity 150ms !important; }
}

/* Section shell */
.section     { padding: 96px 0; }
.section-off { background: var(--bg-off); }
.section-dark{ background: var(--dark-bg); }

/* Section header */
.section-head        { margin-bottom: 60px; }
.section-head.center { text-align: center; }

/* Eyebrow tag */
.tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--blue); margin-bottom: 16px;
}
.tag-dark { color: #60a5fa; }

/* Section headings */
h2.h2 {
  font-size: clamp(32px, 4vw, 54px); font-weight: 800;
  letter-spacing: -.03em; color: var(--ink); line-height: 1.12;
}
h2.h2-light { color: #fff; }
.sub { font-size: 16px; color: var(--muted); line-height: 1.7; margin-top: 14px; max-width: 520px; }
.sub.center { margin-left: auto; margin-right: auto; }

/* Two-column grid */
.g2 { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: 6px; border: none;
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; letter-spacing: -.01em;
  transition: background 180ms, box-shadow 180ms, transform 120ms;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* Ensure all buttons meet 44px minimum touch target (WCAG 2.5.5) */
.btn { min-height: 44px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-d);
  box-shadow: 0 4px 18px rgba(3,105,161,.28);
}
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue-b); }
.btn-outline:hover { background: var(--blue-l); border-color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); font-weight: 700; }
.btn-white:hover { background: var(--blue-l); }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  padding: 11px 24px; border-radius: 6px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background 180ms, border-color 180ms;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }

/* WhatsApp float button */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform 220ms, box-shadow 220ms;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.wa-float i { font-size: 27px; }
.wa-tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: #1f2937; color: #f3f4f6;
  font-size: 12px; font-weight: 500;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 180ms;
}
.wa-float:hover .wa-tip { opacity: 1; }
