/* ════════════════════════════════════════════════════
   shared.css — BookwiseCPA
   Reset · Tokens · Header · Footer · Mobile Nav
════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: #2B2F33; background: #fff; overflow-x: hidden; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { display: block; max-width: 100%; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── Focus visible ── */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible,
.mobile-nav :focus-visible,
.site-footer :focus-visible { outline-color: var(--teal); }

/* ── Tokens ── */
:root {
  --navy:   #1F3A5F;
  --navy-d: #162e4d;
  --green1: #076951;
  --green3: #365951;
  --teal:   #86c9b0;
  --wrap:   1290px;
  --ease:   0.22s ease;
}

/* ── Container ── */
.container {
  width: 95%;
  max-width: var(--wrap);
  margin-inline: auto;
}

/* ════════════════════════════════════
   HEADER
════════════════════════════════════ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: #162e4d;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.site-logo img { height: 30px; width: auto; }

/* Desktop nav */
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop > ul { display: flex; align-items: center; gap: 2px; }
.nav-desktop > ul > li > a {
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--ease), background var(--ease);
}
.nav-desktop > ul > li > a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-desktop > ul > li > a[aria-current] {
  color: #fff;
  background: rgba(255,255,255,0.1);
  font-weight: 600;
}

/* Dropdown caret */
.nav-caret { width: 9px; height: 6px; fill: currentColor; transition: transform var(--ease); opacity: 0.6; }
.has-drop:hover .nav-caret { transform: rotate(180deg); opacity: 1; }

/* Dropdown menu */
.has-drop { position: relative; }
.drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 272px;
  background: #0f1e34;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.36);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
  z-index: 200;
  padding: 18px 6px 6px; /* top padding bridges the gap instead of a margin */
}
.has-drop:hover .drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.drop-menu li + li { margin-top: 1px; }
.drop-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
  border-radius: 8px;
  transition: color var(--ease), background var(--ease);
}
.drop-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #2E7CB8;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  margin-left: 10px;
  transition: background var(--ease), transform var(--ease) !important;
  white-space: nowrap;
}
.nav-cta:hover { background: #246ba0 !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px 10px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--ease);
}

/* ════════════════════════════════════
   MOBILE NAV OVERLAY
════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0b1828;
  flex-direction: column;
  padding: 24px 24px 40px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-head img { height: 28px; filter: brightness(0) invert(1); }
.mobile-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}

.mobile-nav > nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mob-row { display: flex; align-items: center; justify-content: space-between; }
.mob-row > a,
.mobile-nav > nav > ul > li > a {
  display: block;
  flex: 1;
  padding: 15px 0;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  font-weight: 600;
}
.mob-arrow {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  transition: transform var(--ease), color var(--ease);
}
.mob-arrow.open { transform: rotate(180deg); color: rgba(255,255,255,0.8); }
.mob-sub { display: none; padding: 4px 0 12px 14px; border-top: 1px solid rgba(255,255,255,0.05); }
.mob-sub.open { display: block; }
.mob-sub li a {
  display: block;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  transition: color var(--ease);
}
.mob-sub li a:hover { color: rgba(255,255,255,0.9); }

.mob-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mob-cta a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--green1);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px;
  border-radius: 10px;
}

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.site-footer {
  background: #0d1520;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Col 1 — Brand */
.footer-brand-logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
  margin-bottom: 28px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
}
.footer-social:hover { background: var(--navy); }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }

/* Cols 2 & 3 — Links */
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--ease); }
.footer-links a:hover { color: #fff; }

/* Col 4 — Contact */
.footer-contact-list { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color var(--ease); }
.footer-contact-item a:hover { color: #fff; }
.footer-contact-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-icon svg { width: 16px; height: 16px; fill: var(--teal); }

/* Bottom bar */
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bar p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bar-links { display: flex; gap: 20px; }
.footer-bar-links a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color var(--ease); }
.footer-bar-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger   { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bar  { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════
   PAGE HEADER — services / contact / legal pages
════════════════════════════════════ */
.pg-header { background: linear-gradient(135deg, #1F3A5F 0%, #162e4d 60%, #0d2038 100%); position: relative; overflow: hidden; padding: 72px 0 72px; text-align: center; }
.pg-header::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(134,201,176,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(134,201,176,.07) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.pg-header-inner { position: relative; }
.pg-header-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.pg-header-kicker::before, .pg-header-kicker::after { content: ''; display: block; width: 28px; height: 2px; background: var(--teal); border-radius: 2px; }
.pg-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; margin: 0 0 16px; line-height: 1.15; }
.pg-header h1 em { font-style: normal; color: var(--teal); }
.pg-header p { font-size: 1.08rem; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ════════════════════════════════════
   BREADCRUMB
════════════════════════════════════ */
.pg-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.55); }
.pg-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--ease); }
.pg-breadcrumb a:hover { color: #fff; }
.pg-breadcrumb svg { width: 12px; height: 12px; fill: rgba(255,255,255,.4); }
.pg-header .pg-breadcrumb { justify-content: center; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.pg-header .pg-breadcrumb a { color: rgba(255,255,255,.45); }
.pg-header .pg-breadcrumb svg { fill: rgba(255,255,255,.35); }

/* ════════════════════════════════════
   SECTION KICKER
════════════════════════════════════ */
.section-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green1); margin-bottom: 12px; }
.section-kicker::before { content: ''; display: block; width: 22px; height: 2px; background: var(--green1); border-radius: 2px; }

/* ════════════════════════════════════
   SERVICE PAGE HERO (.pg-hero)
════════════════════════════════════ */
.pg-hero { background: linear-gradient(135deg, #1F3A5F 0%, #162e4d 60%, #0d2038 100%); position: relative; overflow: hidden; padding: 0; }
.pg-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(134,201,176,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(134,201,176,.07) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.pg-hero-inner { position: relative; display: grid; grid-template-columns: 55% 45%; min-height: 520px; align-items: flex-start; }
.pg-hero-copy { padding: 72px 56px 72px 0; display: flex; flex-direction: column; gap: 24px; }
.pg-kicker { display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.pg-kicker::before { content: ''; display: block; width: 28px; height: 2px; background: var(--teal); border-radius: 2px; }
.pg-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); font-weight: 800; line-height: 1.18; color: #fff; margin: 0; }
.pg-hero h1 em { font-style: normal; color: var(--teal); }
.pg-hero-desc { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 520px; }
.pg-trust-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-trust-pill { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 5px 14px; font-size: .78rem; color: rgba(255,255,255,.82); }
.pg-trust-pill svg { width: 13px; height: 13px; fill: var(--teal); flex-shrink: 0; }
.pg-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); padding: 14px 30px; border-radius: 6px; font-size: .92rem; font-weight: 700; text-decoration: none; transition: background var(--ease), transform var(--ease), box-shadow var(--ease); }
.btn-hero-primary:hover { background: #f0f4f8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn-hero-primary svg { width: 15px; height: 15px; fill: var(--navy); flex-shrink: 0; }
.btn-hero-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; padding: 14px 30px; border-radius: 6px; border: 2px solid rgba(255,255,255,.35); font-size: .92rem; font-weight: 600; text-decoration: none; transition: border-color var(--ease), background var(--ease), color var(--ease); }
.btn-hero-outline:hover { border-color: var(--teal); background: rgba(134,201,176,.08); color: #fff; }
.btn-hero-outline svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.pg-hero-img { position: relative; height: 480px; align-self: stretch; margin-top: 40px; }
.pg-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; border-radius: 8px 0 0 8px; }
.pg-hero-float-card { position: absolute; bottom: 28px; left: -20px; background: #fff; border-radius: 10px; padding: 14px 20px; box-shadow: 0 8px 32px rgba(0,0,0,.18); display: flex; align-items: center; gap: 12px; min-width: 230px; }
.pg-hero-float-icon { width: 40px; height: 40px; background: #e8f5f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pg-hero-float-icon svg { width: 20px; height: 20px; fill: var(--green1); }
.pg-hero-float-text strong { display: block; font-size: .82rem; font-weight: 800; color: var(--navy); }
.pg-hero-float-text span { font-size: .72rem; color: #666; }
@media (max-width: 860px) {
  .pg-hero-inner { grid-template-columns: 1fr; }
  .pg-hero-copy { padding: 56px 0 40px; }
  .pg-hero-img { height: 300px; margin-top: 0; border-radius: 8px; }
  .pg-hero-img img { border-radius: 8px; }
  .pg-hero-float-card { left: 12px; }
}

/* ════════════════════════════════════
   INCLUDED SERVICES SECTION (.pg-services)
════════════════════════════════════ */
.pg-services { background: #fff; padding: 96px 0; }
.pg-services-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.pg-services-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--navy); margin: 0 0 14px; }
.pg-services-head p { font-size: 1.02rem; color: #555; line-height: 1.7; }
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 56px; }
.pg-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px 28px; transition: all var(--ease); }
.pg-card:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(31,58,95,.18); }
.pg-card-icon { width: 48px; height: 48px; background: #e8f5f0; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background var(--ease); }
.pg-card:hover .pg-card-icon { background: rgba(134,201,176,.2); }
.pg-card-icon svg { width: 24px; height: 24px; fill: var(--green1); }
.pg-card:hover .pg-card-icon svg { fill: var(--teal); }
.pg-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: 0 0 10px; transition: color var(--ease); }
.pg-card:hover h3 { color: #fff; }
.pg-card p { font-size: .9rem; color: #555; line-height: 1.65; margin: 0; transition: color var(--ease); }
.pg-card:hover p { color: rgba(255,255,255,.78); }
.pg-card-list { list-style: none; padding: 0; margin: 12px 0 0; }
.pg-card-list li { font-size: .85rem; color: #555; padding: 4px 0 4px 20px; position: relative; transition: color var(--ease); }
.pg-card-list li::before { content: '→'; position: absolute; left: 0; color: var(--green1); font-size: .8rem; }
.pg-card:hover .pg-card-list li { color: rgba(255,255,255,.78); }
.pg-card:hover .pg-card-list li::before { color: var(--teal); }
.pg-banner { border-radius: 12px; overflow: hidden; height: 240px; position: relative; }
.pg-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,58,95,.75) 0%, rgba(31,58,95,.3) 60%, transparent 100%); display: flex; align-items: center; padding: 0 48px; }
.pg-banner-text { color: #fff; max-width: 500px; }
.pg-banner-text h3 { font-size: 1.45rem; font-weight: 800; margin: 0 0 10px; }
.pg-banner-text p { font-size: .9rem; opacity: .85; margin: 0; }
@media (max-width: 768px) { .pg-cards { grid-template-columns: 1fr; } }

/* ════════════════════════════════════
   WHO WE HELP (.pg-who)
════════════════════════════════════ */
.pg-who { background: #E8EEF5; padding: 96px 0; }
.pg-who-inner { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.pg-who-label { position: sticky; top: 100px; }
.pg-who-label h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; color: var(--navy); line-height: 1.25; margin: 16px 0; }
.pg-who-label p { font-size: .92rem; color: #555; line-height: 1.65; }
.pg-who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pg-who-card { background: #fff; border-radius: 10px; padding: 26px 24px; border: 1px solid #dde5f0; transition: all var(--ease); }
.pg-who-card:hover { border-color: var(--green1); box-shadow: 0 6px 24px rgba(7,105,81,.1); transform: translateY(-2px); }
.pg-who-card-icon { font-size: 1.5rem; margin-bottom: 10px; }
.pg-who-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.pg-who-card p { font-size: .83rem; color: #666; line-height: 1.6; margin: 0; }
@media (max-width: 860px) { .pg-who-inner { grid-template-columns: 1fr; } .pg-who-label { position: static; } .pg-who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pg-who-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════
   CTA SECTION (.pg-cta)
════════════════════════════════════ */
.pg-cta { background: #fff; padding: 96px 0; }
.pg-cta-card { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%); border-radius: 16px; padding: 64px 56px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.pg-cta-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(134,201,176,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(134,201,176,.06) 1px, transparent 1px); background-size: 40px 40px; }
.pg-cta-copy { position: relative; }
.pg-cta-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin: 0 0 12px; line-height: 1.25; }
.pg-cta-copy p { font-size: 1rem; color: rgba(255,255,255,.75); margin: 0 0 24px; line-height: 1.65; }
.pg-cta-checks { display: flex; flex-wrap: wrap; gap: 16px 32px; list-style: none; padding: 0; margin: 0; }
.pg-cta-checks li { font-size: .85rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 7px; }
.pg-cta-checks li::before { content: ''; width: 16px; height: 16px; background: var(--green1); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 10px; flex-shrink: 0; }
.pg-cta-actions { position: relative; display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.btn-cta-primary { background: #fff; color: var(--navy); padding: 15px 32px; border-radius: 6px; font-size: .92rem; font-weight: 700; text-decoration: none; text-align: center; white-space: nowrap; transition: background var(--ease), box-shadow var(--ease); }
.btn-cta-primary:hover { background: #f0f4f8; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.btn-cta-outline { background: transparent; color: #fff; padding: 14px 32px; border-radius: 6px; border: 2px solid rgba(255,255,255,.3); font-size: .92rem; font-weight: 600; text-decoration: none; text-align: center; white-space: nowrap; transition: border-color var(--ease), background var(--ease); }
.btn-cta-outline:hover { border-color: var(--teal); background: rgba(134,201,176,.1); }
@media (max-width: 768px) {
  .pg-cta-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .pg-cta-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ════════════════════════════════════
   BUTTON :active MICRO-INTERACTIONS
════════════════════════════════════ */
.nav-cta:active { transform: translateY(0) scale(0.97); }
.btn-hero-primary:active,
.btn-hero-outline:active,
.btn-cta-primary:active,
.btn-cta-outline:active { transform: translateY(0) scale(0.97); box-shadow: none; }
.testi-btn:active { transform: scale(0.93); }

/* ════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════ */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-reveal] { opacity: 0; transform: translateY(32px); }
[data-reveal].is-visible {
  animation: revealUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal-group].is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
[data-reveal-group].is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
[data-reveal-group].is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
[data-reveal-group].is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ════════════════════════════════════
   BACK TO TOP
════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: background var(--ease), transform var(--ease), opacity var(--ease);
  opacity: 0.88;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--green1); transform: translateY(-2px); opacity: 1; }
.back-to-top svg { width: 20px; height: 20px; fill: #fff; }
