/* ══════════════════════════════════════════════════════════════
   HP2 Global — Shared header, footer, and design system
   Extracted from front-page.php for site-wide use
   ══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
.hp2 {
  --yellow: #FCD83C;
  --yellow-d: #D4A800;
  --dark: #111111;
  --navy: #0D1F4C;
  --body: #333333;
  --gray: #555555;
  --muted: #64748B;
  --lgray: #F8FAFC;
  --border: #E0E0E0;
  --white: #fff;
  --green: #28A745;
  -webkit-font-smoothing: antialiased;
}
.hp2 *, .hp2 *::before, .hp2 *::after { box-sizing: border-box; }

/* ── Override old sticky_header on #page ── */
.hp2 #page.sticky_header {
  position: static;
  box-shadow: none;
  z-index: auto;
}
/* Hide old header that may still render from plugins/widgets */
.hp2 .top_section.new_re__header { display: none !important; }
.hp2 .m_top_section { display: none !important; }
.hp2 .top_section_bar { display: none !important; }

/* ── HEADER ── */
.hp2 header.hp2-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: height .3s ease, box-shadow .3s ease, background .3s ease;
}
.hp2 header.hp2-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: rgba(255,255,255,.98);
}
.hp2 .header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 60px;
  display: flex; align-items: center;
  height: 80px; gap: 0;
  transition: height .3s ease;
}
.hp2 header.hp2-header.scrolled .header-inner { height: 64px; }

/* Logo */
.hp2 .hp2-logo { flex: 0 0 auto; margin-right: auto; }
.hp2 .hp2-logo a { display: inline-block; transition: transform .2s, filter .2s; }
.hp2 .hp2-logo a:hover { transform: scale(1.05); filter: drop-shadow(0 2px 8px rgba(252,216,60,.3)); }
.hp2 .hp2-logo img { transition: height .3s ease; height: 40px; width: auto; }
.hp2 header.hp2-header.scrolled .hp2-logo img { height: 34px !important; }

/* Nav — wraps wp_nav_menu output (ul > li > a) */
.hp2 nav.hp2-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: space-evenly; flex-wrap: nowrap; }
.hp2 nav.hp2-nav .nav-menu { list-style: none; display: flex; align-items: center; justify-content: space-evenly; flex: 1; margin: 0; padding: 0; gap: 0; }
/* Reset old theme nav styles that bleed through from style.css */
.hp2 nav.hp2-nav .nav-menu > li { position: relative; float: none; border: none; background: transparent; }
.hp2 nav.hp2-nav .nav-menu > li > a { z-index: auto; }
.hp2 nav.hp2-nav > .nav-menu > li { position: relative; }
.hp2 nav.hp2-nav > .nav-menu > li > a {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--dark); text-decoration: none; padding: 4px 12px; white-space: nowrap;
  position: relative; transition: color .2s; display: block;
}
.hp2 nav.hp2-nav > .nav-menu > li > a::after {
  content: ''; position: absolute; bottom: -2px; left: 12px; right: 12px;
  height: 2px; background: var(--yellow); border-radius: 1px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.hp2 nav.hp2-nav > .nav-menu > li > a:hover { color: var(--dark); }
.hp2 nav.hp2-nav > .nav-menu > li > a:hover::after { transform: scaleX(1); }
/* Dropdown arrow on parent items */
.hp2 nav.hp2-nav > .nav-menu > li.menu-item-has-children > a { padding-right: 22px; }
.hp2 nav.hp2-nav > .nav-menu > li.menu-item-has-children > a::before {
  content: ''; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 4px solid var(--gray); transition: transform .25s ease;
}
.hp2 nav.hp2-nav > .nav-menu > li.menu-item-has-children:hover > a::before { transform: translateY(-50%) rotate(180deg); border-top-color: var(--yellow); }
/* Invisible bridge so dropdown stays open when moving cursor down */
.hp2 nav.hp2-nav > .nav-menu > li.menu-item-has-children::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px;
}
/* ── Dropdown submenu — premium card ── */
.hp2 nav.hp2-nav .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04);
  padding: 10px 6px; width: auto; min-width: 240px;
  list-style: none; margin: 0; border: none;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px) scale(.98);
  transition: opacity .22s ease, visibility .22s ease, transform .22s cubic-bezier(.2,.9,.3,1);
  z-index: 101; filter: none;
}
/* Top notch/arrow */
.hp2 nav.hp2-nav .sub-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff; border-top: 1px solid rgba(0,0,0,.06); border-left: 1px solid rgba(0,0,0,.06);
  border-radius: 2px;
}
.hp2 nav.hp2-nav > .nav-menu > li:hover > .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1);
}
.hp2 nav.hp2-nav .sub-menu li {
  display: block; float: none; background: transparent;
  border: none !important; padding: 0; position: static;
}
.hp2 nav.hp2-nav .sub-menu li:first-child { border-top: none !important; }
.hp2 nav.hp2-nav .sub-menu li:last-child { border-bottom: none !important; }
.hp2 nav.hp2-nav .sub-menu a,
.hp2 nav.hp2-nav .sub-menu li a {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 500;
  color: #3a3a3a !important; text-decoration: none; padding: 10px 16px; display: block;
  transition: all .18s ease; white-space: nowrap;
  border-radius: 8px; margin: 1px 0; border-left: 3px solid transparent;
  line-height: 1.3; background: transparent !important; text-shadow: none;
}
.hp2 nav.hp2-nav .sub-menu a:hover,
.hp2 nav.hp2-nav .sub-menu li a:hover {
  background: linear-gradient(90deg, rgba(255,209,0,.08), rgba(255,209,0,.02)) !important;
  color: var(--dark) !important; border-left-color: var(--yellow); padding-left: 18px;
}
.hp2 nav.hp2-nav .sub-menu a::after,
.hp2 nav.hp2-nav .sub-menu li a::after { display: none !important; content: none !important; }
/* Mega-menu: 2-column for menus with many items (Services, etc.) */
.hp2 nav.hp2-nav .sub-menu:has(li:nth-child(6)) {
  columns: 2; column-gap: 4px; min-width: 440px;
}
.hp2 nav.hp2-nav .sub-menu:has(li:nth-child(6)) li { break-inside: avoid; }
/* Hide Twenty Twenty-One sub-menu toggle buttons */
.hp2 nav.hp2-nav .sub-menu-toggle { display: none !important; }
/* Active nav — WordPress adds current-menu-item to li */
.hp2 nav.hp2-nav li.current-menu-item > a { color: var(--dark); }
.hp2 nav.hp2-nav > .nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.hp2 nav.hp2-nav > .nav-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }

/* Header right: phone + CTA + lang */
.hp2 .header-right { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hp2 .header-phone {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.hp2 .header-phone:hover { color: var(--yellow-d); }
.hp2 .header-phone svg { flex-shrink: 0; }
.hp2 .cta-header {
  background: var(--yellow); color: var(--dark);
  border: none; border-radius: 10px;
  padding: 10px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; font-weight: 800;
  cursor: pointer; white-space: nowrap;
  line-height: 1.2; text-align: center; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.hp2 .cta-header:hover { background: var(--yellow-d); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(252,216,60,.3); }
.hp2 .cta-header:active { transform: scale(0.97); }
.hp2 .lang-toggle {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--gray); cursor: pointer; padding: 4px 8px; border-radius: 6px;
  transition: color .2s, background .2s; text-decoration: none;
}
.hp2 .lang-toggle:hover { color: var(--dark); background: var(--lgray); }

/* Mobile phone icon */
.hp2 .hp2-mobile-phone-icon { display: none; color: var(--dark); padding: 4px; text-decoration: none; }

/* ── Hamburger ── */
.hp2-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; cursor: pointer; padding: 4px; margin-left: 8px; -webkit-tap-highlight-color: transparent; }
.hp2-hamburger span { display: block; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hp2-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hp2-hamburger.open span:nth-child(2) { opacity: 0; }
.hp2-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile Drawer ── */
.hp2-drawer-overlay { position: fixed; inset: 0; top: var(--header-h, 80px); background: rgba(0,0,0,0.4); z-index: 98; opacity: 0; pointer-events: none; transition: opacity .3s; }
.hp2-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.hp2-mobile-drawer { position: fixed; top: var(--header-h, 80px); left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 99; display: flex; flex-direction: column; padding: 24px; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.hp2-mobile-drawer.open { transform: translateX(0); }

/* Drawer links */
.hp2-mobile-drawer a { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; color: var(--dark); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--border); transition: color .2s; display: block; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hp2-mobile-drawer a:hover { color: var(--yellow-d); }
.hp2-mobile-drawer .hp2-drawer-cta { margin-top: 24px; background: var(--yellow); color: var(--dark); text-align: center; border-radius: 12px; padding: 16px; font-weight: 800; border: none; }

/* Parent items with children — chevron indicator */
.hp2-mobile-drawer .hp2-drawer-parent { position: relative; padding-right: 40px; transition: background .15s ease, color .2s; border-radius: 8px; margin: 0 -8px; padding-left: 8px; }
.hp2-mobile-drawer .hp2-drawer-parent:active { background: rgba(255,209,0,.1); }
.hp2-mobile-drawer .hp2-drawer-parent.has-children::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2.5px solid var(--gray); border-bottom: 2.5px solid var(--gray);
  transform: translateY(-60%) rotate(45deg);
  transition: transform .3s ease, border-color .3s ease;
}
.hp2-mobile-drawer .hp2-drawer-parent.has-children.expanded::after {
  transform: translateY(-40%) rotate(-135deg);
  border-color: var(--yellow);
}
.hp2-mobile-drawer .hp2-drawer-parent.has-children.expanded {
  color: var(--yellow-d); border-bottom-color: transparent;
}

/* Sub-menu toggle */
.hp2-mobile-drawer .hp2-drawer-sub {
  display: none; padding: 0;
  background: linear-gradient(135deg, rgba(255,209,0,.04), rgba(255,209,0,.01));
  border-radius: 0 0 12px 12px; margin-bottom: 2px; touch-action: manipulation;
}
.hp2-mobile-drawer .hp2-drawer-sub.open {
  display: block; padding: 4px 0 8px 0;
  border-bottom: 1px solid var(--border);
}

/* Child items */
.hp2-mobile-drawer .hp2-drawer-child {
  font-size: 15px !important; font-weight: 500 !important; color: #555 !important;
  padding: 11px 20px !important; border-bottom: none !important;
  border-left: 3px solid transparent;
  transition: color .2s, border-left-color .2s, background .2s, padding-left .2s !important;
  border-radius: 0 8px 8px 0; margin: 1px 8px 1px 12px;
}
.hp2-mobile-drawer .hp2-drawer-child:hover,
.hp2-mobile-drawer .hp2-drawer-child:active {
  color: var(--dark) !important;
  border-left-color: var(--yellow) !important;
  background: rgba(255,209,0,.06) !important;
  padding-left: 24px !important;
}

/* ── Progress Bar ── */
.hp2-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--yellow); z-index: 10000; transition: width .15s ease; box-shadow: 0 0 8px rgba(252,216,60,.5); }

/* ── Back to Top ── */
.hp2-back-top { position: fixed; bottom: 24px; right: 24px; z-index: 9998; width: 48px; height: 48px; border-radius: 50%; background: var(--dark); color: var(--yellow); border: 2px solid var(--yellow); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s, background .2s; pointer-events: none; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.hp2-back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hp2-back-top:hover { background: var(--yellow); color: var(--dark); }

/* ── FOOTER ── */
.hp2-footer { background: var(--dark, #111111); padding: 48px 0 28px; }
.hp2-footer-inner { max-width: 1400px; margin: 0 auto; padding: 0 60px; }
.hp2-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.hp2-footer-brand p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.7; margin-top: 12px; max-width: 280px; }
.hp2-footer-social { display: flex; gap: 12px; margin-top: 16px; }
.hp2-footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); transition: background 0.2s, color 0.2s, transform 0.2s; text-decoration: none; }
.hp2-footer-social a:hover { background: var(--yellow); color: var(--dark); transform: translateY(-2px); }
.hp2-footer-col h3.hp2-footer-heading { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.hp2-footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.75); text-decoration: none; margin-bottom: 8px; transition: color .2s, padding-left .2s; }
.hp2-footer-col a:hover { color: var(--yellow) !important; padding-left: 4px; }
.hp2-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.hp2-footer-bottom p { font-size: 12px; color: rgba(255,255,255,.7); margin: 0; }
.hp2-footer-bottom a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.hp2-footer-bottom a:hover { color: #fff !important; }
.hp2-footer-logo { display: inline-block; text-decoration: none; }
.hp2-footer-logo img { display: block; }
.hp2-disclaimer { padding: 28px 0; margin-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.hp2-disclaimer p { margin: 0; }

/* ── Client Reviews (Elfsight / Spanish fallback) ── */
.hp2-reviews{background:#fff}
.hp2-reviews .elfsight-app-5a1f7daa-e55d-4daf-9fa5-af9e12db999a{margin-top:32px}
.hp2-grev-header{background:#fff;border-radius:16px;padding:24px;text-align:center;margin-bottom:28px;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.hp2-grev-header img{height:28px;margin-bottom:6px}
.hp2-grev-rating{font-size:20px;font-weight:700;color:#333;display:flex;align-items:center;justify-content:center;gap:8px}
.hp2-grev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
.hp2-grev-card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,.06);display:flex;flex-direction:column;gap:12px}
.hp2-grev-user{display:flex;align-items:center;gap:12px}
.hp2-grev-avatar{width:42px;height:42px;border-radius:50%;background:var(--navy,#0D1F4C);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;flex-shrink:0}
.hp2-grev-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.hp2-grev-name{font-weight:700;font-size:15px;color:#333;display:flex;align-items:center;gap:4px}
.hp2-grev-name svg{flex-shrink:0}
.hp2-grev-posted{font-size:12px;color:#888}
.hp2-grev-posted img{height:14px;vertical-align:middle}
.hp2-grev-stars-row{display:flex;gap:2px}
.hp2-grev-text{font-size:14px;color:#444;line-height:1.6}
.hp2-grev-read{color:#1a73e8;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer}
.hp2-grev-orig{font-size:11px;color:#888;display:flex;align-items:center;gap:4px;margin-top:4px}
.hp2-grev-orig svg{flex-shrink:0}

/* ── Content area padding for fixed header ── */
.hp2 .outer_overflow { padding-top: 80px; }

/* ── Smooth scroll ── */
html { scroll-behavior: smooth; }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */

/* ── MOBILE (768px and below) ── */
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .hp2 .header-inner { height: 60px; padding: 0 16px; }
  .hp2 header.hp2-header.scrolled .header-inner { height: 56px; }
  .hp2 .hp2-logo img { height: 32px !important; }
  .hp2 header.hp2-header.scrolled .hp2-logo img { height: 28px !important; }
  .hp2 nav.hp2-nav { display: none; }
  .hp2 .header-phone { display: none; }
  .hp2 .cta-header { display: none; }
  .hp2 .lang-toggle { display: none; }
  .hp2 .hp2-mobile-phone-icon { display: flex; align-items: center; }
  .hp2-hamburger { display: flex; }
  .hp2 .outer_overflow { padding-top: 60px; }

  /* Back to top — raised above sticky CTA on mobile */
  .hp2-back-top { bottom: 110px; right: 14px; width: 40px; height: 40px; z-index: 9999; }

  /* Footer mobile — no reserved gap for sticky CTA (fixed positioning + hides within 150px of bottom, so no content coverage at page end) */
  .hp2-footer { padding: 32px 0 24px; }
  .hp2-footer-inner { padding: 0 20px; }
  .hp2-footer-top { grid-template-columns: 1fr 1fr; gap: 20px 16px; text-align: left; margin-bottom: 24px; }
  .hp2-footer-brand { grid-column: 1 / -1; text-align: center; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hp2-footer-brand p { max-width: 100%; font-size: 12px; margin: 8px auto 0; }
  .hp2-footer-logo img { height: 36px !important; margin: 0 auto; }
  .hp2-footer-social { justify-content: center; gap: 10px; margin-top: 12px; }
  .hp2-footer-social a { width: 36px; height: 36px; }
  .hp2-footer-social a svg { width: 16px; height: 16px; }
  .hp2-footer-col { margin: 0; }
  .hp2-footer-col h3.hp2-footer-heading { font-size: 12px; margin-bottom: 10px; }
  .hp2-footer-col a { font-size: 12px; margin-bottom: 4px; padding: 5px 0; min-height: 32px; display: flex; align-items: center; }
  .hp2-footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding-bottom: 0; }
  .hp2-footer-bottom p { font-size: 11px; }
  .hp2-footer-bottom a { padding: 4px 2px; }
  .hp2-disclaimer { padding: 20px 0; margin-top: 24px; }
}

/* ── TABLET (769px–1200px) — switch to mobile nav ── */
@media (min-width: 769px) and (max-width: 1200px) {
  :root { --header-h: 80px; }
  .hp2 .header-inner { padding: 0 24px; }
  .hp2 nav.hp2-nav { display: none; }
  .hp2 .header-phone { display: none; }
  .hp2 .lang-toggle { display: none; }
  .hp2 .hp2-mobile-phone-icon { display: flex; align-items: center; }
  .hp2-hamburger { display: flex; }
  .hp2-footer-inner { padding: 0 32px; }
  .hp2-footer-top { grid-template-columns: repeat(2, 1fr); }
  .hp2-grev-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hp2-grev-grid { grid-template-columns: 1fr; }
  .hp2-grev-card { padding: 20px; }
}

/* ══════════════════════════════════════════════════════════════
   FORM MODAL — Global modal for intake form
   ══════════════════════════════════════════════════════════════ */
#hp2FormModal.hp2-modal-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(13,31,76,0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
#hp2FormModal.hp2-modal-overlay.active { visibility: visible; opacity: 1; pointer-events: auto; }
#hp2FormModal .hp2-modal-content { position: relative; width: 100%; max-width: 980px; margin: 0 auto; padding: 0; min-height: 0; max-height: 100%; display: flex; flex-direction: column; animation: hp2ModalIn 0.4s ease; }
#hp2FormModal .hp2-modal-content .hp2-modal-form-slot { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-top: 18px; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap { margin: 0; background: #fff; border-radius: 20px; padding: 16px; position: relative; overflow: visible; box-shadow: 0 24px 80px rgba(0,0,0,.35), 0 0 60px rgba(255,255,255,0.08); }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .el-form-container .form-card { padding: 36px 44px 24px; min-height: 520px; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .el-form-container .form-card::before { display: none; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .form-step-title { font-size: 1.6rem; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .form-step-subtitle { font-size: 1rem; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .form-label { font-size: 0.95rem; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .search-input,
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .form-input { font-size: 1.05rem; padding: 16px 20px; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .form-btn { font-size: 1.1rem; padding: 18px 24px; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .form-trust-bar { font-size: 0.9rem; }
#hp2FormModal .hp2-modal-content .hp2-tf-wrap .progress-step-label { font-size: 0.85rem; }
#hp2FormModal .hp2-modal-content .hp2-tf-badge { position: absolute; top: -14px; right: 24px; background: var(--navy, #0D1F4C); color: var(--yellow, #FCD83C); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .5px; padding: 6px 16px; border-radius: 20px; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 12px rgba(255,193,7,0.2); }
@keyframes hp2ModalIn { from { transform: translateY(30px) scale(0.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
#hp2FormModal .hp2-modal-close { position: fixed; top: 20px; right: 20px; z-index: 100000; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.2); color: #fff; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
#hp2FormModal .hp2-modal-close:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); transform: scale(1.05); }
#hp2FormModal .hp2-modal-trust { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 20px; padding: 20px 24px; background: rgba(13,31,76,0.6); border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
#hp2FormModal .hp2-modal-trust-item { flex: 1; text-align: center; padding: 0 16px; }
#hp2FormModal .hp2-modal-trust-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; color: var(--yellow, #FCD83C); line-height: 1; letter-spacing: -0.5px; }
#hp2FormModal .hp2-modal-trust-label { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 6px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
#hp2FormModal .hp2-modal-trust-div { width: 1px; height: 32px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent); flex-shrink: 0; }

/* ── STICKY CTA BAR (mobile) ── */
.hp2-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  display: none;
  align-items: center; gap: 10px;
  padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(13,31,76,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  transform: translateY(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.hp2-sticky-cta.visible { transform: translateY(0); }
.hp2-sticky-cta-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; background: var(--yellow, #FCD83C); color: var(--dark, #111); font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 15px; border-radius: 8px; text-decoration: none;
  transition: background .2s;
}
.hp2-sticky-cta-btn:hover { background: var(--yellow-d, #D4A800); color: var(--dark, #111); }
.hp2-sticky-cta-btn:active { transform: scale(0.96); }
.hp2-sticky-cta-phone {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 16px; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; font-size: 14px;
  border-radius: 8px; text-decoration: none; white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background .2s;
}
.hp2-sticky-cta-phone:hover { background: rgba(255,255,255,.2); color: #fff; }
.hp2-sticky-cta-phone:active { transform: scale(0.96); }
.hp2-sticky-cta-phone svg { flex-shrink: 0; }
@media (min-width: 768px) { .hp2-sticky-cta { display: none !important; } }
@media (max-width: 767px) {
  .hp2-sticky-cta { display: flex; }

  /* ── Mobile modal: form scrolls independently, trust pinned at bottom ── */
  #hp2FormModal.hp2-modal-overlay { padding: 6px; align-items: stretch; overflow: hidden; flex-direction: column; }
  #hp2FormModal .hp2-modal-content { margin: 0; width: 100%; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  #hp2FormModal .hp2-modal-content .hp2-modal-form-slot { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-top: 18px; }
  #hp2FormModal .hp2-modal-content .hp2-tf-wrap .el-form-container .form-card { padding: 18px 16px 12px; overflow: visible; }
  #hp2FormModal .hp2-modal-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 22px; }
  #hp2FormModal .hp2-modal-trust { flex-shrink: 0; padding: 10px 12px; gap: 0; flex-wrap: nowrap; border-radius: 0 0 12px 12px; margin-top: 0; border-top: 1px solid rgba(255,255,255,0.1); }
  #hp2FormModal .hp2-modal-trust-item { padding: 0 8px; }
  #hp2FormModal .hp2-modal-trust-num { font-size: 15px; }
  #hp2FormModal .hp2-modal-trust-label { font-size: 7px; }
  #hp2FormModal .hp2-modal-trust-div { height: 20px; }
  .hp2-back-top { bottom: 110px; }
}

/* ══════════════════════════════════════════════════════════════
   UNIVERSAL COMPONENTS — Shared across inner pages
   (Trust bar, press logos, sections, FAQ, blog, final CTA)
   ══════════════════════════════════════════════════════════════ */

/* ── Inner container ── */
.hp2-inner { max-width: 1400px; margin: 0 auto; padding: 0 60px; }
.hp2-eye { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--yellow-d); text-transform: uppercase; margin-bottom: 12px; display: block; }

/* ── Generic Section ── */
.hp2-section { padding: 64px 0; }
.hp2-section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 36px; font-weight: 800; color: var(--dark); margin-bottom: 12px; letter-spacing: -.5px; line-height: 1.1; }
.hp2-section-sub { font-size: 16px; font-weight: 400; color: var(--gray); line-height: 1.6; max-width: 600px; }
.hp2-section-sub a { color: var(--dark); }
.hp2-gray { background: var(--lgray); }

/* ── Trust Bar ── */
.hp2-trust { background: linear-gradient(135deg, #0a1628 0%, #152240 50%, #0a1628 100%); padding: 28px 60px; border-top: 1px solid rgba(255,193,7,0.15); border-bottom: 1px solid rgba(255,193,7,0.08); }
.hp2-trust-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.hp2-trust-item { text-align: center; flex: 1; min-width: 100px; }
.hp2-trust-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 34px; font-weight: 900; color: var(--yellow); line-height: 1; letter-spacing: -0.5px; }
.hp2-trust-label { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 6px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.hp2-trust-div { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, rgba(255,193,7,0.2), transparent); }

/* ── As Seen On / Press Logos ── */
.hp2-seen { background: #fff; padding: 20px 60px; border-bottom: 1px solid var(--border, #e8e8e8); }
.hp2-seen-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.hp2-seen-label { display: none; }
.hp2-seen-logos { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: nowrap; overflow-x: auto; }
.hp2-seen-logos img { height: 20px; width: auto; opacity: 0.45; transition: opacity .3s, transform .3s; object-fit: contain; flex-shrink: 0; }
.hp2-seen-logos img:hover { opacity: 0.85; transform: scale(1.05); }
/* Normalize logo text heights */
.hp2-marquee-set img[alt="CNN"] { height: 18px; }
.hp2-marquee-set img[alt="Entrepreneur"] { height: 20px; }
.hp2-marquee-set img[alt="LAW.COM"] { height: 14.4px; }
.hp2-marquee-set img[alt="LAW360"] { height: 21.6px; }
.hp2-marquee-set img[alt="The Washington Post"] { height: 20.4px; }
.hp2-marquee-set img[alt="Fox News"] { height: 26.4px; }
.hp2-marquee-set img[alt="CNBC"] { height: 26.4px; }
.hp2-marquee-set img[alt="MSN"] { height: 14.4px; }
.hp2-marquee-set img[alt="Forbes"] { height: 14px; }
.hp2-marquee-set img[alt="Reuters"] { height: 19px; }
.hp2-marquee-set img[alt="HuffPost"] { height: 22px; }

/* ── Marquee animation ── */
@keyframes hp2MarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
.hp2-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.hp2-marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: hp2MarqueeScroll 30s linear infinite;
}
.hp2-marquee-track:hover { animation-play-state: paused; }
.hp2-marquee-set {
  display: flex; align-items: center; gap: 56px; flex-shrink: 0; padding-right: 56px;
}
.hp2-marquee-set img {
  height: 20px; width: auto; max-width: 120px; opacity: .5; filter: grayscale(100%);
  transition: opacity .3s, filter .3s; flex-shrink: 0;
}
.hp2-marquee-set img:hover { opacity: 1; filter: grayscale(0%); }

/* ── FAQ Accordion ── */
.hp2-faq { background: var(--lgray); padding: 64px 0; }
.hp2-faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; align-items: start; }
.hp2-faq-item { border-bottom: 1px solid var(--border); }
.hp2-faq-q { padding: 18px 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 800; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color .2s; }
.hp2-faq-q:hover { color: var(--yellow-d); }
.hp2-faq-q span { font-size: 20px; color: var(--gray); margin-left: 12px; flex-shrink: 0; }
.hp2-faq-a { padding: 0 0 16px; font-size: 14px; color: var(--gray); line-height: 1.7; display: none; }
.hp2-faq-a a { color: var(--dark); }
.hp2-faq-cta { background: var(--navy); border-radius: 12px; padding: 36px; }
.hp2-faq-cta h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.hp2-faq-cta p { font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 24px; line-height: 1.6; }
.hp2-faq-cta-btn { width: 100%; padding: 16px; background: var(--yellow); color: var(--dark); border: none; border-radius: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 800; cursor: pointer; display: block; text-align: center; text-decoration: none; transition: background .2s, transform .2s; }
.hp2-faq-cta-btn:hover { background: var(--yellow-d); transform: translateY(-2px); }
.hp2-faq-cta-btn:active { transform: scale(0.97); }

/* ── Blog Cards ── */
.hp2-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.hp2-blog-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border, #e8e8e8); text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.hp2-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.hp2-blog-img { height: 180px; overflow: hidden; flex-shrink: 0; position: relative; background: var(--lgray, #f7f8fa); }
.hp2-blog-img img { width: 100% !important; height: 100% !important; object-fit: cover; position: absolute; inset: 0; }
.hp2-blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.hp2-blog-meta { font-size: 12px; color: var(--gray); margin-bottom: 8px; font-weight: 600; }
.hp2-blog-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.hp2-blog-card p { font-size: 14px; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.hp2-blog-link { font-size: 14px; font-weight: 700; color: var(--dark); margin-top: auto; }
.hp2-blog-card:hover .hp2-blog-link { color: var(--yellow-d); }

/* ── Final CTA ── */
.hp2-final { background: var(--navy, #0D1F4C); padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.hp2-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 0%, rgba(255,193,7,0.08) 0%, transparent 60%), radial-gradient(ellipse at 70% 100%, rgba(40,167,69,0.06) 0%, transparent 60%); pointer-events: none; }
.hp2-final .hp2-inner { position: relative; z-index: 1; }
.hp2-final h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -1px; line-height: 1.1; }
.hp2-final h2 span { color: var(--yellow); }
.hp2-final p { font-size: 17px; color: rgba(255,255,255,.6); margin-bottom: 36px; line-height: 1.6; max-width: 560px; margin-left: auto; margin-right: auto; }
.hp2-final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hp2-btn-dark { background: var(--yellow); color: var(--dark); padding: 18px 40px; border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .2s, box-shadow .2s; }
.hp2-btn-dark:hover { background: var(--yellow-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,193,7,.35); }
.hp2-btn-dark:active { transform: scale(0.97); }
.hp2-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); padding: 18px 40px; border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .2s, color .2s, border-color .2s; }
.hp2-btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }
.hp2-btn-outline:active { transform: scale(0.97); }
.hp2-final-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.45); }
.hp2-final-trust-item { display: inline-flex; align-items: center; gap: 6px; }
.hp2-final-trust-item svg { flex-shrink: 0; }

/* ── Scroll Reveal Animations ── */
.hp2-reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.hp2-reveal.revealed { opacity: 1; transform: translateY(0); }
.hp2-reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.hp2-reveal-stagger.revealed > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .hp2-reveal, .hp2-reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Universal Component Responsive ── */
@media (max-width: 768px) {
  .hp2-inner { padding: 0 20px; }
  .hp2-section { padding: 40px 0; }
  .hp2-section-title { font-size: 26px; margin-bottom: 8px; }
  .hp2-section-sub { font-size: 14px; }
  /* Trust bar */
  .hp2-trust { padding: 18px 20px; }
  .hp2-trust-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .hp2-trust-div { display: none; }
  .hp2-trust-num { font-size: 22px; }
  .hp2-trust-label { font-size: 9px; letter-spacing: 0.5px; }
  /* Press logos */
  .hp2-seen { padding: 16px 20px; }
  .hp2-seen-logos img { height: 16px; }
  .hp2-seen-label { font-size: 12px; margin-bottom: 8px; }
  .hp2-marquee-set img { height: 16px; max-width: 90px; }
  .hp2-marquee-set { gap: 32px; padding-right: 32px; }
  /* FAQ */
  .hp2-faq { padding: 40px 0; }
  .hp2-faq-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .hp2-faq-q { font-size: 15px; }
  .hp2-faq-a { font-size: 13px; line-height: 1.6; }
  .hp2-faq-cta { padding: 24px; }
  .hp2-faq-cta h3 { font-size: 20px; }
  .hp2-faq-cta p { font-size: 14px; }
  .hp2-faq-cta-btn { font-size: 15px; }
  /* Blog */
  .hp2-blog-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .hp2-blog-card { display: flex; flex-direction: row; }
  .hp2-blog-img { height: auto; width: 120px; min-height: 120px; flex-shrink: 0; }
  .hp2-blog-img img { width: 100%; height: 100%; object-fit: cover; }
  .hp2-blog-body { padding: 14px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .hp2-blog-meta { font-size: 11px; margin-bottom: 4px; }
  .hp2-blog-card h3 { font-size: 15px; margin-bottom: 6px; }
  .hp2-blog-card p { font-size: 13px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hp2-blog-link { font-size: 13px; }
  /* Final CTA */
  .hp2-final { padding: 40px 0; }
  .hp2-final h2 { font-size: 28px; margin-bottom: 12px; }
  .hp2-final p { font-size: 15px; margin-bottom: 24px; }
  .hp2-final-btns { gap: 12px; flex-direction: column; align-items: center; }
  .hp2-final-btns a { width: 100%; max-width: 320px; justify-content: center; text-align: center; }
  .hp2-final-trust { gap: 12px 20px; margin-top: 20px; font-size: 12px; }
  .hp2-btn-dark, .hp2-btn-outline { padding: 14px 28px; font-size: 16px; }
}

/* ══════════════════════════════════════════════════════════════
   INNER PAGE LAYOUT COMPONENTS — Reusable across all pages
   ══════════════════════════════════════════════════════════════ */

/* ── Page Hero (dark navy) ── */
.hp2-page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #152240 50%, #0a1628 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hp2-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(252,216,60,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hp2-page-hero .hp2-inner { position: relative; z-index: 1; }
.hp2-page-hero .hp2-eye { color: var(--yellow); margin-bottom: 16px; }
.hp2-page-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px; font-weight: 800; color: #fff;
  margin-bottom: 18px; letter-spacing: -1px; line-height: 1.1;
}
.hp2-page-hero h1 span { color: var(--yellow); }
.hp2-page-hero p {
  font-size: 18px; color: rgba(255,255,255,.65); line-height: 1.7;
  max-width: 680px; margin: 0 auto 32px;
}
.hp2-page-hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ── Links on dark backgrounds — global catch-all ── */
.hp2-page-hero p a,
.hp2-final p a,
.hp2-faq-cta p a,
.hp2-team-preview-text a,
.hp2-team-preview-text p a,
.hp2s-hero a:not(.hp2s-crumb a),
.hp2s-author-bio a,
.blg-hero p a,
.sn-cta p a { color: var(--yellow); text-decoration: underline; text-decoration-color: rgba(252,216,60,.4); text-underline-offset: 3px; }
.hp2-page-hero p a:hover,
.hp2-final p a:hover,
.hp2-faq-cta p a:hover,
.hp2-team-preview-text a:hover,
.hp2-team-preview-text p a:hover,
.hp2s-hero a:not(.hp2s-crumb a):hover,
.hp2s-author-bio a:hover,
.blg-hero p a:hover,
.sn-cta p a:hover { color: #fff; text-decoration-color: #fff; }

/* ── 2-Col Split Layout ── */
.hp2-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hp2-split.flip { direction: rtl; }
.hp2-split.flip > * { direction: ltr; }
.hp2-split-img {
  border-radius: 16px; overflow: hidden; position: relative;
}
.hp2-split-img img {
  width: 100%; height: auto; display: block; border-radius: 16px;
}
.hp2-split-img.shadow-left { box-shadow: -16px -16px 0 -6px var(--yellow); }
.hp2-split-img.shadow-right { box-shadow: 16px 16px 0 -6px var(--yellow); }

/* ── Process Steps (4-col) ── */
.hp2-steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 40px; position: relative;
}
.hp2-steps-grid::before {
  content: ''; position: absolute; top: 40px;
  left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 2px; background: var(--yellow);
}
.hp2-step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.hp2-step-num {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--yellow); color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 30px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 0 0 6px rgba(252,216,60,.2);
}
.hp2-step h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.hp2-step p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── Value/Feature Cards (3-col grid) ── */
.hp2-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px;
}
.hp2-card {
  background: #fff; border-radius: 14px; padding: 28px 24px;
  border: 1px solid rgba(13,31,76,0.06); border-top: 4px solid var(--yellow);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hp2-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.hp2-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 800;
  color: var(--dark); margin-bottom: 10px;
}
.hp2-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }
.hp2-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(252,216,60,0.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
/* Alternate card accent colors */
.hp2-card:nth-child(2) { border-top-color: var(--green); }
.hp2-card:nth-child(3) { border-top-color: var(--navy); }
.hp2-card:nth-child(4) { border-top-color: var(--green); }

/* ── Diff Cards (left-border accent) ── */
.hp2-diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px;
}
.hp2-diff-card {
  background: var(--lgray); border-radius: 14px; padding: 28px 24px;
  border-left: 4px solid var(--yellow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hp2-diff-card:nth-child(2) { border-left-color: var(--green); }
.hp2-diff-card:nth-child(3) { border-left-color: var(--navy); }
.hp2-diff-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.hp2-diff-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800;
  color: var(--dark); margin-bottom: 10px;
}
.hp2-diff-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ── Team Preview Card (navy) ── */
.hp2-team-preview {
  background: var(--navy); border-radius: 16px; padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-top: 36px;
}
.hp2-team-preview img { width: 100%; border-radius: 12px; }
.hp2-team-preview-text h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 800;
  color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.hp2-team-preview-text p {
  font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 24px;
}

/* ── Contact Cards ── */
.hp2-contact-section { text-align: center; background: linear-gradient(135deg, rgba(252,216,60,0.06), rgba(252,216,60,0.02)); }
.hp2-contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 36px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.hp2-contact-card {
  background: #fff; border-radius: 14px; padding: 28px 20px;
  text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border: 1px solid var(--border);
}
.hp2-contact-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 8px;
}
.hp2-contact-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }
.hp2-contact-card a { color: var(--dark); font-weight: 700; text-decoration: none; }
.hp2-contact-card a:hover { color: var(--yellow-d); }

/* ── Mid-page CTA banner ── */
.hp2-mid-cta {
  background: linear-gradient(135deg, rgba(252,216,60,0.08), rgba(252,216,60,0.03));
  border-top: 3px solid var(--yellow); border-bottom: 1px solid var(--border);
  padding: 48px 0; text-align: center;
}
.hp2-mid-cta h2 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800;
  color: var(--dark); margin-bottom: 8px; line-height: 1.2;
}
.hp2-mid-cta h2 span { color: var(--yellow-d); }
.hp2-mid-cta p { font-size: 16px; color: var(--gray); margin-bottom: 24px; }

/* ── Inner page responsive ── */
@media (max-width: 768px) {
  .hp2-page-hero { padding: 48px 0 36px; }
  .hp2-page-hero h1 { font-size: 30px; }
  .hp2-page-hero p { font-size: 15px; }
  .hp2-page-hero-btns { flex-direction: column; align-items: center; }
  .hp2-page-hero-btns a { width: 100%; max-width: 320px; justify-content: center; text-align: center; }
  .hp2-split { grid-template-columns: 1fr; gap: 28px; }
  .hp2-split.flip { direction: ltr; }
  .hp2-split-img { max-height: 260px; overflow: hidden; }
  .hp2-split-img img { object-fit: cover; object-position: top center; height: 260px; }
  .hp2-split-img.shadow-left, .hp2-split-img.shadow-right { box-shadow: none; }
  .hp2-steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    padding-left: 52px;
  }
  .hp2-steps-grid::before {
    display: block;
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 3px;
    height: auto;
    background: var(--yellow);
  }
  .hp2-step {
    text-align: left;
    padding: 0 0 28px 0;
    position: relative;
  }
  .hp2-step:last-child { padding-bottom: 0; }
  .hp2-step-num {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin: 0 0 12px 0;
    position: absolute;
    left: -52px;
    top: 0;
    box-shadow: 0 0 0 5px rgba(252,216,60,.15), 0 0 0 1px var(--yellow);
  }
  .hp2-step h3 { font-size: 17px; margin-bottom: 6px; }
  .hp2-step p { font-size: 14px; text-align: left; }
  .hp2-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .hp2-diff-grid { grid-template-columns: 1fr; gap: 14px; }
  .hp2-team-preview { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .hp2-team-preview-text h3 { font-size: 22px; }
  .hp2-contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .hp2-mid-cta h2 { font-size: 24px; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hp2-page-hero h1 { font-size: 38px; }
  .hp2-split { gap: 36px; }
  .hp2-card-grid { grid-template-columns: 1fr 1fr; }
  .hp2-steps-grid { gap: 12px; }
  .hp2-step { padding: 0 12px; }
  .hp2-team-preview { padding: 32px; gap: 28px; }
}
