/*
Theme Name: Kadence Child HK
Template: kadence
Version: 1.0.0
Description: HEVEA HK – Premium child theme for heveahk.com
*/

/* ============================================================
   DESIGN SYSTEM — HEVEA HK
   Palette: Deep Navy / Blue / Warm Steel accent
   ============================================================ */
:root {
  --hk-navy:      #0B1B2E;
  --hk-navy-mid:  #122440;
  --hk-blue:      #2563EB;
  --hk-blue-lt:   #4B8FD4;
  --hk-steel:     #1D4ED8;
  --hk-steel-lt:  #EFF6FF;
  --hk-white:     #FFFFFF;
  --hk-off-white: #F7F8FA;
  --hk-grey-50:   #F0F2F5;
  --hk-grey-100:  #E1E5EA;
  --hk-grey-300:  #9AA3AE;
  --hk-grey-600:  #4A5568;
  --hk-text:      #1A2332;
  --hk-radius:    8px;
  --hk-radius-lg: 16px;
  --hk-shadow:    0 4px 24px rgba(11,27,46,0.10);
  --hk-shadow-lg: 0 12px 48px rgba(11,27,46,0.18);
  --hk-transition: 260ms cubic-bezier(0.4,0,0.2,1);
  --hk-font-serif: 'Playfair Display', Georgia, serif;
  --hk-font-sans:  'Inter', system-ui, sans-serif;
}

/* ============================================================
   BASE / RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--hk-font-sans);
  color: var(--hk-text);
  background: var(--hk-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--hk-font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--hk-navy);
  letter-spacing: -0.02em;
}

h4, h5, h6 {
  font-family: var(--hk-font-sans);
  font-weight: 600;
  color: var(--hk-navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { line-height: 1.7; color: var(--hk-grey-600); }

a { color: var(--hk-blue); text-decoration: none; transition: color var(--hk-transition); }
a:hover { color: var(--hk-blue-lt); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.hk-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hk-section {
  padding: 96px 0;
}

.hk-section--sm { padding: 64px 0; }
.hk-section--lg { padding: 128px 0; }

.hk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hk-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.hk-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

@media(max-width:768px) {
  .hk-grid-2,.hk-grid-3,.hk-grid-4 { grid-template-columns:1fr; }
  .hk-section { padding:64px 0; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#masthead,
/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#masthead,
.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #E8EBF0;
  position: sticky !important;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 16px rgba(11,27,46,0.07);
}
.site-main-header-inner-wrap { min-height: 68px !important; align-items: center; }
.site-header-row-container-inner { max-width: 1200px !important; margin: 0 auto; padding: 0 32px !important; }

/* ── Logo text ── */
.site-branding .site-title,
.site-branding .site-title a,
.site-branding p.site-title {
  font-family: var(--hk-font-sans) !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--hk-navy) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.site-branding .site-description { display: none !important; }

/* Blue accent on HK part — target via JS or use ::after trick */
.site-branding a.brand::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: #2563EB;
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
  position: relative; top: -2px;
}

/* ── Primary Nav ── */
.main-navigation .primary-menu-container > ul {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  list-style: none;
  margin: 0; padding: 0;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-family: var(--hk-font-sans) !important;
  font-size: .88rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  padding: 8px 14px !important;
  white-space: nowrap;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease !important;
  text-decoration: none !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
  color: #2563EB !important;
  background: #EFF6FF !important;
}
.main-navigation .primary-menu-container > ul > li.current-menu-item > a {
  color: #2563EB !important;
}

/* ── Get Started as CTA button ── */
.main-navigation .primary-menu-container > ul > li.menu-item:last-child > a {
  background: #2563EB !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  margin-left: 8px !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item:last-child > a:hover {
  background: #1D4ED8 !important;
  color: #ffffff !important;
}

/* ── Dropdown menu ── */
.header-navigation .header-menu-container ul ul.sub-menu,
.main-navigation ul ul.sub-menu {
  background: #ffffff !important;
  border: 1px solid #E8EBF0 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 32px rgba(11,27,46,0.12) !important;
  min-width: 220px !important;
  padding: 6px 0 !important;
  margin-top: 4px !important;
}
.header-navigation .header-menu-container ul ul li.menu-item {
  border-bottom: none !important;
}
.header-navigation .header-menu-container ul ul li.menu-item > a,
.main-navigation ul ul li.menu-item > a {
  font-size: .85rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  width: auto !important;
  padding: 9px 18px !important;
  background: transparent !important;
  border-radius: 0 !important;
  transition: color 140ms ease, background 140ms ease !important;
  white-space: nowrap;
}
.header-navigation .header-menu-container ul ul li.menu-item > a:hover {
  color: #2563EB !important;
  background: #EFF6FF !important;
}
.header-navigation .header-menu-container ul ul li.menu-item.current-menu-item > a {
  color: #2563EB !important;
  background: #EFF6FF !important;
}

/* ── Mobile toggle ── */
.mobile-toggle-open-container .menu-toggle-open { color: var(--hk-navy) !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.hk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--hk-radius);
  font-family: var(--hk-font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--hk-transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.hk-btn--primary {
  background: var(--hk-blue);
  color: var(--hk-white);
  border-color: var(--hk-blue);
}
.hk-btn--primary:hover {
  background: var(--hk-blue-lt);
  border-color: var(--hk-blue-lt);
  color: var(--hk-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,127,95,0.30);
}

.hk-btn--outline {
  background: transparent;
  color: var(--hk-white);
  border-color: rgba(255,255,255,0.5);
}
.hk-btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--hk-white);
  color: var(--hk-white);
}

.hk-btn--steel {
  background: var(--hk-steel);
  color: var(--hk-navy);
  border-color: var(--hk-steel);
}
.hk-btn--steel:hover {
  background: var(--hk-steel-lt);
  border-color: var(--hk-steel-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.30);
}

.hk-btn--lg { padding: 18px 40px; font-size: 1.1rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hk-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--hk-navy) 0%, var(--hk-navy-mid) 60%, #0D3B2E 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Animated mesh background */
.hk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 50%, rgba(13,127,95,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.08) 0%, transparent 50%);
  animation: hkMesh 12s ease-in-out infinite alternate;
}

@keyframes hkMesh {
  0%   { transform: scale(1) translateX(0); }
  100% { transform: scale(1.05) translateX(-20px); }
}

/* Floating grid lines */
.hk-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hk-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hk-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,127,95,0.2);
  border: 1px solid rgba(13,127,95,0.4);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4B8FD4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hk-hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4B8FD4;
  box-shadow: 0 0 8px #4B8FD4;
  animation: hkPulse 2s ease-in-out infinite;
}

@keyframes hkPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.hk-hero__title {
  font-family: var(--hk-font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--hk-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hk-hero__title span {
  color: var(--hk-steel);
  position: relative;
}

.hk-hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hk-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hk-hero__stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}

.hk-stat__number {
  font-family: var(--hk-font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--hk-white);
  display: block;
}

.hk-stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Dashboard mockup card */
.hk-hero__visual {
  position: relative;
}

.hk-dashboard-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--hk-radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  animation: hkFloat 6s ease-in-out infinite;
}

@keyframes hkFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hk-dashboard-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hk-dashboard-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hk-dashboard-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.hk-dashboard-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hk-status--active {
  background: rgba(13,127,95,0.25);
  color: #4B8FD4;
}

.hk-status--pending {
  background: rgba(201,168,76,0.25);
  color: var(--hk-steel-lt);
}

/* Floating badge cards */
.hk-float-badge {
  position: absolute;
  background: var(--hk-white);
  border-radius: var(--hk-radius);
  padding: 12px 16px;
  box-shadow: var(--hk-shadow-lg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hk-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: hkFloat 5s ease-in-out infinite;
}

.hk-float-badge--1 { top: -20px; right: -20px; animation-delay: 0s; }
.hk-float-badge--2 { bottom: 20px; left: -30px; animation-delay: 2s; }

@media(max-width:900px) {
  .hk-hero__inner { grid-template-columns: 1fr; }
  .hk-hero__visual { display: none; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.hk-trust-bar {
  background: var(--hk-off-white);
  border-bottom: 1px solid var(--hk-grey-100);
  padding: 20px 0;
}

.hk-trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hk-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hk-grey-600);
}

.hk-trust-item svg { color: var(--hk-blue); flex-shrink: 0; }

/* ============================================================
   CARDS
   ============================================================ */
.hk-card {
  background: var(--hk-white);
  border: 1px solid var(--hk-grey-100);
  border-radius: var(--hk-radius-lg);
  padding: 32px;
  transition: all var(--hk-transition);
  position: relative;
  overflow: hidden;
}

.hk-card:hover {
  border-color: var(--hk-blue);
  box-shadow: var(--hk-shadow-lg);
  transform: translateY(-4px);
}

.hk-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hk-blue), var(--hk-steel));
  transform: scaleX(0);
  transition: transform var(--hk-transition);
}

.hk-card:hover::before { transform: scaleX(1); }

.hk-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(13,127,95,0.1);
  border-radius: var(--hk-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--hk-blue);
}

.hk-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hk-navy);
  margin-bottom: 12px;
  font-family: var(--hk-font-serif);
}

.hk-card__text { font-size: 0.9rem; color: var(--hk-grey-600); line-height: 1.65; }

/* ============================================================
   PRICING
   ============================================================ */
.hk-pricing-card {
  background: linear-gradient(135deg, var(--hk-navy) 0%, var(--hk-navy-mid) 100%);
  border-radius: var(--hk-radius-lg);
  padding: 48px;
  color: var(--hk-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--hk-shadow-lg);
}

.hk-pricing-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(13,127,95,0.15);
}

.hk-pricing__badge {
  display: inline-block;
  background: var(--hk-steel);
  color: var(--hk-navy);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.hk-pricing__was {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.hk-pricing__price {
  font-family: var(--hk-font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--hk-white);
  line-height: 1;
  margin-bottom: 8px;
}

.hk-pricing__period {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
}

.hk-pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.hk-pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.hk-pricing__list li svg { color: #4B8FD4; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.hk-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hk-compare th {
  background: var(--hk-navy);
  color: var(--hk-white);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
}

.hk-compare th:first-child { border-radius: var(--hk-radius) 0 0 0; }
.hk-compare th:last-child  { border-radius: 0 var(--hk-radius) 0 0; }

.hk-compare td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--hk-grey-100);
  color: var(--hk-grey-600);
}

.hk-compare tr:hover td { background: var(--hk-off-white); }

.hk-compare .hk-yes { color: var(--hk-blue); font-weight: 600; }
.hk-compare .hk-no  { color: #E53E3E; }
.hk-compare .hk-highlight td { background: rgba(13,127,95,0.05); }

/* ============================================================
   PROCESS TIMELINE / STEPPER
   ============================================================ */
.hk-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
}

.hk-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--hk-blue), var(--hk-steel));
  z-index: 0;
}

.hk-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.hk-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hk-navy);
  color: var(--hk-white);
  font-family: var(--hk-font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--hk-blue);
  position: relative;
  z-index: 2;
  transition: all var(--hk-transition);
}

.hk-step:hover .hk-step__num {
  background: var(--hk-blue);
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(13,127,95,0.15);
}

.hk-step__title { font-weight: 700; color: var(--hk-navy); margin-bottom: 8px; font-size: 1rem; }
.hk-step__text  { font-size: 0.85rem; color: var(--hk-grey-600); line-height: 1.55; }

@media(max-width:768px) {
  .hk-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hk-steps::before { display: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.hk-testimonial {
  background: var(--hk-white);
  border: 1px solid var(--hk-grey-100);
  border-radius: var(--hk-radius-lg);
  padding: 32px;
  position: relative;
}

.hk-testimonial::before {
  content: '"';
  font-family: var(--hk-font-serif);
  font-size: 5rem;
  color: var(--hk-blue);
  opacity: 0.2;
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
}

.hk-testimonial__text {
  font-size: 1rem;
  color: var(--hk-grey-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.hk-testimonial__author { display: flex; align-items: center; gap: 12px; }
.hk-testimonial__name   { font-weight: 700; color: var(--hk-navy); font-size: 0.9rem; }
.hk-testimonial__role   { font-size: 0.8rem; color: var(--hk-grey-300); }
.hk-testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hk-blue), var(--hk-navy));
  color: var(--hk-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.hk-faq__item {
  border-bottom: 1px solid var(--hk-grey-100);
}

.hk-faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hk-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--hk-transition);
}

.hk-faq__question:hover { color: var(--hk-blue); }

.hk-faq__chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--hk-transition);
  color: var(--hk-blue);
}

.hk-faq__item.open .hk-faq__chevron { transform: rotate(180deg); }

.hk-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--hk-grey-600);
  line-height: 1.7;
}

.hk-faq__item.open .hk-faq__answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.hk-bg-navy    { background: var(--hk-navy); }
.hk-bg-off     { background: var(--hk-off-white); }
.hk-bg-blue { background: var(--hk-blue); }

.hk-bg-navy h2, .hk-bg-navy h3, .hk-bg-navy p,
.hk-bg-blue h2, .hk-bg-blue h3, .hk-bg-blue p {
  color: var(--hk-white);
}
.hk-bg-navy p, .hk-bg-blue p { color: rgba(255,255,255,0.75); }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.hk-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hk-blue);
  margin-bottom: 12px;
}

.hk-bg-navy .hk-section-label { color: var(--hk-steel); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.hk-rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hk-rv.visible {
  opacity: 1;
  transform: none;
}

.hk-rv-delay-1 { transition-delay: 0.1s; }
.hk-rv-delay-2 { transition-delay: 0.2s; }
.hk-rv-delay-3 { transition-delay: 0.3s; }
.hk-rv-delay-4 { transition-delay: 0.4s; }

@media(prefers-reduced-motion:reduce) {
  .hk-rv { opacity:1; transform:none; transition:none; }
  .hk-hero::before { animation:none; }
  .hk-dashboard-card, .hk-float-badge { animation:none; }
  .hk-hero__badge::before { animation:none; }
  .hk-step__num { transition:none; }
}

/* ============================================================
   BADGE / TAG COMPONENTS
   ============================================================ */
.hk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hk-badge--green  { background: rgba(13,127,95,0.12); color: var(--hk-blue); }
.hk-badge--steel   { background: rgba(201,168,76,0.15); color: #8B6A1A; }
.hk-badge--navy   { background: rgba(11,27,46,0.08);  color: var(--hk-navy); }

/* ============================================================
   FEATURE HIGHLIGHT (icon + text rows)
   ============================================================ */
.hk-feature-list { list-style: none; padding: 0; margin: 0; }

.hk-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hk-grey-100);
  font-size: 0.95rem;
  color: var(--hk-grey-600);
}

.hk-feature-list li:last-child { border-bottom: none; }

.hk-feature-list__icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(13,127,95,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--hk-blue);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.hk-cta-banner {
  background: linear-gradient(135deg, var(--hk-blue) 0%, #0B5E44 100%);
  border-radius: var(--hk-radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hk-cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.hk-cta-banner h2 { color: var(--hk-white); }
.hk-cta-banner p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--hk-navy) !important;
  color: rgba(255,255,255,0.65) !important;
  padding: 64px 0 32px !important;
}

.hk-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hk-footer__brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,0.5); }

.hk-footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.hk-footer__col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color var(--hk-transition);
}

.hk-footer__col a:hover { color: var(--hk-white); }

.hk-footer__bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.hk-footer__disclaimer {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
}

@media(max-width:768px) {
  .hk-footer__grid { grid-template-columns: 1fr 1fr; }
  .hk-footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.hk-text-center { text-align: center; }
.hk-text-white  { color: var(--hk-white) !important; }
.hk-mt-8  { margin-top: 8px; }
.hk-mt-16 { margin-top: 16px; }
.hk-mt-24 { margin-top: 24px; }
.hk-mt-32 { margin-top: 32px; }
.hk-mb-8  { margin-bottom: 8px; }
.hk-mb-16 { margin-bottom: 16px; }
.hk-mb-48 { margin-bottom: 48px; }
.hk-mb-64 { margin-bottom: 64px; }

/* ============================================================
   CHECKLIST ITEMS
   ============================================================ */
.hk-checklist { list-style: none; padding: 0; margin: 0; }
.hk-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--hk-grey-600);
  padding: 6px 0;
}
.hk-checklist li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--hk-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.hk-form input,
.hk-form select,
.hk-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--hk-grey-100);
  border-radius: var(--hk-radius);
  font-family: var(--hk-font-sans);
  font-size: 1rem;
  color: var(--hk-text);
  background: var(--hk-white);
  transition: border-color var(--hk-transition);
  outline: none;
  margin-bottom: 16px;
}

.hk-form input:focus,
.hk-form select:focus,
.hk-form textarea:focus {
  border-color: var(--hk-blue);
  box-shadow: 0 0 0 4px rgba(13,127,95,0.1);
}

.hk-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hk-navy);
  margin-bottom: 6px;
}

/* ============================================================
   BLOG CARD
   ============================================================ */
.hk-blog-card {
  background: var(--hk-white);
  border: 1px solid var(--hk-grey-100);
  border-radius: var(--hk-radius-lg);
  overflow: hidden;
  transition: all var(--hk-transition);
}

.hk-blog-card:hover {
  box-shadow: var(--hk-shadow-lg);
  transform: translateY(-4px);
  border-color: var(--hk-grey-300);
}

.hk-blog-card__img { width: 100%; height: 200px; object-fit: cover; }
.hk-blog-card__body { padding: 24px; }
.hk-blog-card__cat  { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hk-blue); margin-bottom: 8px; }
.hk-blog-card__title { font-weight: 700; color: var(--hk-navy); margin-bottom: 8px; font-size: 1.05rem; line-height: 1.35; }
.hk-blog-card__excerpt { font-size: 0.85rem; color: var(--hk-grey-600); line-height: 1.6; }

/* ============================================================
   NOTICE / DISCLAIMER BOX
   ============================================================ */
.hk-notice {
  background: rgba(201,168,76,0.1);
  border-left: 4px solid var(--hk-steel);
  border-radius: 0 var(--hk-radius) var(--hk-radius) 0;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--hk-grey-600);
  line-height: 1.6;
}

.hk-notice strong { color: var(--hk-navy); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.hk-legal { max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.hk-legal h1 { font-size: 2rem; margin-bottom: 8px; }
.hk-legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.hk-legal p, .hk-legal li { font-size: 0.95rem; color: var(--hk-grey-600); }
.hk-legal ul { padding-left: 20px; }

/* ============================================================
   HERO — PHOTO BACKGROUND
   ============================================================ */
.hk-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hk-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/hk/hevea-hk-hong-kong-skyline-hero-800.webp') center 40%/cover no-repeat;
  filter: brightness(.22) saturate(1.1);
}
@media(min-width:769px) {
  .hk-hero-bg::before {
    background-image: url('/wp-content/uploads/hk/hevea-hk-hong-kong-skyline-hero.webp');
  }
}
.hk-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg,
    rgba(11,27,46,.92) 0%,
    rgba(11,27,46,.65) 50%,
    rgba(13,60,46,.80) 100%);
}
/* Ensure hero content is above the bg layers */
.hk-hero > * { position: relative; z-index: 2; }
.hk-hero__inner { position: relative; z-index: 2; }

/* ============================================================
   IMAGE SECTIONS — EDITORIAL STYLE (image + text split)
   ============================================================ */
.hk-img-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--hk-radius-lg);
  height: 380px;
  background: var(--hk-grey-100);
}

.hk-img-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.hk-img-section:hover img { transform: scale(1.03); }

.hk-img-section--tall { height: 480px; }

/* Floating caption over image */
.hk-img-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11,27,46,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--hk-radius);
  padding: 14px 18px;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hk-img-caption svg { color: var(--hk-steel); flex-shrink: 0; }

/* ============================================================
   PHOTO GRID — 2x2 or asymetric
   ============================================================ */
.hk-photo-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 240px 200px;
  gap: 12px;
  border-radius: var(--hk-radius-lg);
  overflow: hidden;
}

.hk-photo-mosaic__main {
  grid-row: 1 / 3;
  overflow: hidden;
}

.hk-photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hk-photo-mosaic img:hover { transform: scale(1.04); }

@media(max-width:768px) {
  .hk-photo-mosaic { grid-template-columns: 1fr; grid-template-rows: 260px 160px 160px; }
  .hk-photo-mosaic__main { grid-row: 1; }
}

/* ============================================================
   SECTION AVEC FOND IMAGE (page about, who-we-help)
   ============================================================ */
.hk-section-photo {
  position: relative;
  overflow: hidden;
}

.hk-section-photo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hk-section-photo__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.18) saturate(0.9);
}

.hk-section-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,27,46,.95), rgba(13,60,46,.80));
  z-index: 1;
}

.hk-section-photo > .hk-container {
  position: relative;
  z-index: 2;
}

/* ============================================================
   PERSON / TESTIMONIAL PHOTO
   ============================================================ */
.hk-person-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hk-grey-100);
}

/* ============================================================
   BLOG CARD IMAGE
   ============================================================ */
.hk-blog-card__img-wrap {
  overflow: hidden;
  height: 200px;
  border-radius: var(--hk-radius-lg) var(--hk-radius-lg) 0 0;
}

.hk-blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hk-blog-card:hover .hk-blog-card__img-wrap img { transform: scale(1.06); }

/* ============================================================
   SERVICE PAGE HERO IMAGES (inner pages)
   ============================================================ */
.hk-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.hk-page-hero__bg {
  position: absolute;
  inset: 0;
}

.hk-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.2) saturate(1.1);
}

.hk-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,27,46,.95) 0%, rgba(11,27,46,.70) 60%, rgba(13,60,46,.75) 100%);
}

.hk-page-hero > .hk-container { position: relative; z-index: 2; }

/* ============================================================
   LOGO PLACEHOLDER
   ============================================================ */
.hk-logo-text {
  font-family: var(--hk-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hk-navy);
  letter-spacing: -0.02em;
}

.hk-logo-text span { color: var(--hk-blue); }

.hk-logo-text--white { color: var(--hk-white); }
.hk-logo-text--white span { color: #4B8FD4; }

/* ============================================================
   CONTENT IMAGES (inside page body)
   ============================================================ */
.hk-content-img {
  border-radius: var(--hk-radius-lg);
  overflow: hidden;
  box-shadow: var(--hk-shadow-lg);
}

.hk-content-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   STICKY SCROLL IMAGE REVEAL
   ============================================================ */
.hk-sticky-visual {
  position: sticky;
  top: 120px;
}
