/* ==========================================================================
   HRLinkBuilding — Theme stylesheet
   1. Design tokens   2. Base   3. Layout   4. Buttons   5. Header/nav
   6. Hero  7. Trust  8. Section heads  9. Service cards  10. Why choose
   11. Process  12. Stats  13. Testimonials  14. CTA  15. Footer
   16. Inner pages  17. Utilities  18. Responsive  19. WordPress compat
   ========================================================================== */

/* 1. Design tokens */
:root {
  --c-primary: #2563eb;
  --c-primary-dark: #1d4ed8;
  --c-primary-darker: #1e40af;
  --c-primary-light: #3b82f6;
  --c-primary-soft: #eff5ff;
  --c-primary-soft-2: #dbe8ff;

  --c-heading: #0f1b33;
  --c-text: #5b6b84;
  --c-muted: #8595ad;
  --c-border: #e4ebf6;
  --c-white: #ffffff;
  --c-bg-tint: #f5f8ff;
  --c-footer: #0d1a30;
  --c-footer-text: #a7b4c8;

  --c-success: #16a34a;
  --c-star: #fbbf24;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 27, 51, .06);
  --shadow-sm: 0 2px 10px rgba(15, 27, 51, .06);
  --shadow: 0 10px 30px rgba(15, 27, 51, .08);
  --shadow-lg: 0 20px 50px rgba(15, 27, 51, .12);
  --shadow-blue: 0 10px 24px rgba(37, 99, 235, .25);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --section-y: 80px;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--c-heading);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

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

a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-primary-dark); }

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
strong { color: var(--c-heading); font-weight: 600; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--c-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  margin: 0;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* 3. Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-bg-tint); }
.section--soft { background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%); }
.section--tight { padding-block: 56px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* 4. Buttons & badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn .icon { width: 17px; height: 17px; }

.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-2px); }

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

.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover { background: #f1f6ff; color: var(--c-primary-dark); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--c-primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.text-primary { color: var(--c-primary); }

/* 5. Header / navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-heading);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand:hover { color: var(--c-heading); }
.brand-mark { width: 30px; height: 30px; }
.brand-name span { color: var(--c-primary); }

.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--c-heading);
  font-size: .94rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--c-primary); background: var(--c-primary-soft); }
.main-nav .is-current > a { color: var(--c-primary); font-weight: 600; }

.has-dropdown { position: relative; }
.has-dropdown > a .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 248px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover > a .icon { transform: rotate(180deg); }
.dropdown a { display: block; padding: 9px 12px; font-size: .9rem; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-heading);
  transition: background .2s ease, color .2s ease;
}
.icon-btn:hover { background: var(--c-primary-soft); color: var(--c-primary); }

.nav-toggle { display: none; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-panel {
  display: none;
  border-top: 1px solid var(--c-border);
  background: #fff;
  padding-block: 16px;
}
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 10px; }
.search-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--c-heading);
}
.search-form input:focus { outline: none; border-color: var(--c-primary); }
/* 6. Hero */
.hero {
  position: relative;
  padding-block: 76px 56px;
  background: linear-gradient(170deg, #eef5ff 0%, #f7faff 52%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .16), transparent 65%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { margin-bottom: 18px; }
.hero-lead { max-width: 520px; font-size: 1.05rem; color: var(--c-text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-figure { position: relative; }
.hero-figure img,
.hero-figure > svg,
.hero-figure picture img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.why-figure img,
.why-figure > svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-heading);
  line-height: 1.35;
}
.float-card small { display: block; color: var(--c-muted); font-size: .72rem; font-weight: 500; }
.float-card .stat { color: var(--c-success); font-size: 1rem; }
.float-card--tl { top: 14%; left: -4%; }
.float-card--tr { top: 6%; right: -2%; }
.float-card--br { bottom: 8%; right: 2%; }
.float-card--bl { bottom: 12%; left: -6%; }

.hero-features {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid rgba(37, 99, 235, .12);
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--c-heading);
  line-height: 1.35;
}
.hero-feature .ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-primary);
  box-shadow: var(--shadow-xs);
}

/* 7. Trust strip */
.trust { padding-block: 40px; background: #fff; border-bottom: 1px solid var(--c-border); }
.trust-label {
  margin-bottom: 22px;
  text-align: center;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 36px;
}
.trust-logo {
  display: grid;
  place-items: center;
  min-width: 112px;
  height: 46px;
  padding: 0 18px;
  flex: 1 1 112px;
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-muted);
  font-size: .82rem;
  font-weight: 600;
  background: #fbfdff;
}

/* 8. Section heads */
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head p { color: var(--c-text); }
.section-head--left { margin-inline: 0; text-align: left; }

/* 9. Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, .35);
  box-shadow: var(--shadow);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.service-icon .icon { width: 23px; height: 23px; }
.service-card h3 { font-size: 1.04rem; margin-bottom: 8px; }
.service-card p { font-size: .88rem; margin-bottom: 18px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-size: .86rem;
  font-weight: 600;
}
.service-link .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.service-link:hover .icon { transform: translateX(4px); }

/* 10. Why choose us */
.why {
  position: relative;
  background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%);
  padding-block: var(--section-y);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.check-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--c-heading);
}
.check-list .icon { width: 21px; height: 21px; margin-top: 2px; color: var(--c-primary); stroke-width: 2; }
.why .btn { margin-top: 30px; }
.why-figure { position: relative; }

/* 11. Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.step {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--c-primary-soft-2);
  border-right: 2px solid var(--c-primary-soft-2);
  transform: translateY(-50%) rotate(45deg);
}
.steps .step:last-child::after { display: none; }
.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.step h3 { font-size: .97rem; margin-bottom: 5px; }
.step p { font-size: .82rem; }

/* 12. Stats / case studies */
.stat-card {
  display: flex;
  gap: 16px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .22s ease, box-shadow .22s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-card .service-icon { margin-bottom: 0; }
.stat-value {
  display: block;
  margin-bottom: 2px;
  color: var(--c-success);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.stat-value--blue { color: var(--c-primary); }
.stat-card h3 { font-size: .95rem; margin-bottom: 5px; }
.stat-card p { font-size: .83rem; }

/* 13. Testimonials */
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--c-star); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.testimonial blockquote { margin: 0 0 20px; font-size: .9rem; color: var(--c-text); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: .85rem;
  font-weight: 700;
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--c-heading); }
.testimonial-author span { font-size: .78rem; color: var(--c-muted); }

/* 14. CTA band */
.cta-band { padding-block: 0 var(--section-y); }
.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(118deg, var(--c-primary-darker) 0%, var(--c-primary) 55%, #1b5fe0 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-inner::before, .cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.cta-inner::before { width: 260px; height: 260px; top: -120px; left: -60px; }
.cta-inner::after { width: 200px; height: 200px; bottom: -110px; right: 26%; }
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { color: #fff; margin-bottom: 4px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.cta-text p { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.cta-inner .btn { position: relative; z-index: 1; }

/* 15. Footer */
.site-footer { background: var(--c-footer); color: var(--c-footer-text); padding-top: 58px; }
.site-footer h4 { margin-bottom: 18px; color: #fff; font-size: .95rem; letter-spacing: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.1fr;
  gap: 36px;
  padding-bottom: 42px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { margin-top: 16px; font-size: .87rem; max-width: 300px; color: var(--c-footer-text); }
.footer-about strong { color: #fff; }
.footer-links ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--c-footer-text); font-size: .88rem; }
.footer-links a:hover { color: #fff; }

.socials { display: flex; gap: 10px; }
.social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.social:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.social .icon { width: 17px; height: 17px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .82rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: var(--c-footer-text); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* 16. Inner pages */
.page-hero {
  padding-block: 56px 50px;
  background: linear-gradient(170deg, #eef5ff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 640px; margin-inline: auto; font-size: 1rem; }
.page-hero .btn { margin-top: 24px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: .82rem;
  color: var(--c-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--c-muted); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { display: grid; gap: 8px; }
.prose li::marker { color: var(--c-primary); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--sidebar { grid-template-columns: 1.6fr 1fr; align-items: start; }

.panel {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.panel--tint { background: var(--c-primary-soft); border-color: var(--c-primary-soft-2); }
.panel h3 { font-size: 1.05rem; }
.panel .footer-links a { color: var(--c-primary); }
.panel .footer-links a:hover { color: var(--c-primary-dark); }

.feature-item { display: flex; gap: 14px; }
.feature-item .service-icon { width: 42px; height: 42px; margin-bottom: 0; }
.feature-item .service-icon .icon { width: 19px; height: 19px; }
.feature-item h3 { font-size: .98rem; margin-bottom: 5px; }
.feature-item p { font-size: .87rem; }

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card .badge { align-self: flex-start; }
.price-card--featured { border-color: var(--c-primary); box-shadow: var(--shadow); }
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 6px;
  color: var(--c-heading);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.price-tag small { font-size: .85rem; font-weight: 500; color: var(--c-muted); }
.price-card ul { margin: 20px 0 26px; padding: 0; list-style: none; display: grid; gap: 11px; font-size: .88rem; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-primary); }
.price-card .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .89rem; min-width: 620px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-border); }
table.data th { background: var(--c-primary-soft); color: var(--c-heading); font-weight: 600; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb {
  height: 160px;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.post-thumb .icon { width: 36px; height: 36px; opacity: .9; }
.post-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .76rem; color: var(--c-muted); margin-bottom: 9px; text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { font-size: 1rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--c-heading); }
.post-card h3 a:hover { color: var(--c-primary); }
.post-card p { font-size: .87rem; margin-bottom: 16px; }

.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 17px 20px;
  background: none;
  border: 0;
  text-align: left;
  font-size: .96rem;
  font-weight: 600;
  color: var(--c-heading);
}
.faq-q .icon { width: 18px; height: 18px; color: var(--c-primary); transition: transform .25s ease; }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: .9rem; }
.faq-a.is-open { display: block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--c-heading); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  color: var(--c-heading);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.field .error { display: none; font-size: .78rem; color: #dc2626; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }
.field.has-error .error { display: block; }
.form-note { font-size: .8rem; color: var(--c-muted); }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: .88rem;
}
.form-status.is-visible { display: block; }

.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item .service-icon { width: 42px; height: 42px; margin-bottom: 0; }
.contact-item .service-icon .icon { width: 19px; height: 19px; }
.contact-item h3 { font-size: .93rem; margin-bottom: 3px; }
.contact-item p { font-size: .88rem; }

.error-page { padding-block: 110px; text-align: center; }
.error-code {
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--c-primary) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 17. Utilities & animation */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.sr-only, .screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 18. Responsive */
@media (max-width: 1100px) {
  :root { --section-y: 68px; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .hero-features { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-social { grid-column: span 3; }
}

@media (max-width: 991px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform .3s ease;
    visibility: hidden;
  }
  .main-nav.is-open { transform: translateY(0); visibility: visible; }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
  }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .dropdown, .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--c-primary-soft-2);
    border-radius: 0;
    margin: 2px 0 6px 14px;
    padding: 0 0 0 6px;
    min-width: 0;
  }
  .dropdown.is-open, .main-nav .sub-menu.is-open { display: block; }
  .has-dropdown:hover .dropdown,
  .main-nav .menu-item-has-children:hover > .sub-menu { display: none; }
  .has-dropdown:hover .dropdown.is-open,
  .main-nav .menu-item-has-children:hover > .sub-menu.is-open { display: block; }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .header-actions .btn { display: none; }

  .hero { padding-block: 48px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-lead { max-width: none; }
  .float-card--tl, .float-card--bl { left: 0; }
  .float-card--tr { right: 0; }

  .why-inner, .split, .split--sidebar { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { padding: 30px 28px; }
}

@media (max-width: 767px) {
  :root { --section-y: 56px; --gutter: 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .hero-features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: span 2; }
  .footer-social { grid-column: span 2; }
  .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .trust-logos { gap: 12px; }
  .trust-logo { flex: 1 1 calc(50% - 12px); min-width: 0; }
  .float-card { padding: 9px 12px; font-size: .72rem; }
}

@media (max-width: 479px) {
  .hero-features { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .page-hero { padding-block: 40px 36px; }
}

@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none !important; }
  body { color: #000; }
}

/* 19. WordPress compatibility */
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 248px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.main-nav .menu-item-has-children { position: relative; }
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.main-nav .menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(225deg); }
.main-nav .sub-menu a { display: block; padding: 9px 12px; font-size: .9rem; }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current_page_item > a { color: var(--c-primary); font-weight: 600; }

.footer-links .menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.prose .alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.prose .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-caption-text, .prose figcaption { font-size: .82rem; color: var(--c-muted); text-align: center; margin-top: 8px; }
.prose img { border-radius: var(--radius); }
.prose blockquote {
  margin: 1.6rem 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--c-primary);
  color: var(--c-heading);
  font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--c-border); text-align: left; }

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-heading);
  font-size: .9rem;
  font-weight: 600;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
/* 20. Contact Form 7 */
.wpcf7 .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7 .field--full { grid-column: 1 / -1; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  color: var(--c-heading);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.wpcf7-not-valid { border-color: #dc2626 !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: .78rem; color: #dc2626; }
.wpcf7 .wpcf7-submit { width: auto; }
.wpcf7-spinner { margin-left: 10px; }
.wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 16px 0 0 !important;
  padding: 13px 16px !important;
  border-radius: var(--radius-sm);
  border-width: 1px !important;
  font-size: .88rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #ecfdf5;
  border-color: #a7f3d0 !important;
  color: #047857;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: #fef2f2;
  border-color: #fecaca !important;
  color: #b91c1c;
}
@media (max-width: 767px) {
  .wpcf7 .form-grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   21. Typography & layout refinements
   Display face for headings, Inter for body copy, plus header/footer fit.
   ========================================================================== */
:root {
  --font-head: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 74px;
}

h1, h2, h3, h4, h5, h6,
.brand-name, .stat-value, .price-tag, .error-code, .step-num, .avatar {
  font-family: var(--font-head);
  font-feature-settings: "ss01" 1;
}

body { font-size: 1.0625rem; line-height: 1.68; }

h1 {
  font-size: clamp(2.15rem, 2.6vw + 1rem, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(1.7rem, 1.5vw + .85rem, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.03em;
}
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.018em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -.012em; }

.eyebrow { font-size: .74rem; letter-spacing: .16em; font-weight: 700; }

.hero-lead { font-size: 1.12rem; line-height: 1.62; max-width: 540px; }
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head p { font-size: 1.04rem; }

/* Balance long headings instead of leaving one orphan word */
h1, h2, .section-head p, .hero-lead { text-wrap: pretty; }

/* ---------- Header fit ---------- */
.header-inner { gap: 18px; }
.main-nav > ul { gap: 2px; }
.main-nav a { padding: 9px 12px; font-size: .93rem; letter-spacing: -.005em; }
.brand { font-size: 1.18rem; }
.brand-mark { width: 32px; height: 32px; }
.header-actions { gap: 8px; }
.header-actions .btn-sm { padding: 10px 17px; }

/* Below 1200px the full nav starts crowding the quote button: tighten first. */
@media (max-width: 1199px) and (min-width: 992px) {
  .main-nav a { padding: 9px 9px; font-size: .9rem; }
  .brand-name { font-size: 1.08rem; }
  .header-actions .search-toggle { display: none; }
}

/* ---------- Footer fit ---------- */
.site-footer { padding-top: 62px; }
.footer-grid {
  grid-template-columns: 1.7fr 1fr 1.25fr 1.3fr;
  gap: 32px 40px;
  padding-bottom: 38px;
}
.site-footer h4 { margin-bottom: 16px; font-size: .95rem; }
.footer-about p { margin-top: 14px; font-size: .9rem; line-height: 1.62; max-width: 320px; }

.footer-links ul,
.footer-links .menu { gap: 7px; }
.footer-links a { font-size: .9rem; line-height: 1.45; display: inline-block; }

.footer-contact-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  line-height: 1.4;
}
.footer-contact-list .icon { width: 17px; height: 17px; color: var(--c-primary-light); flex: none; }
.footer-contact-list a { color: var(--c-footer-text); word-break: break-word; }
.footer-contact-list a:hover { color: #fff; }

.footer-cta { margin-bottom: 20px; }
.footer-social .socials, .footer-contact .socials { margin-top: 0; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
  .footer-contact { grid-column: span 3; }
  .footer-contact-list { grid-auto-flow: column; justify-content: start; gap: 28px; }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-about, .footer-contact { grid-column: span 2; }
  .footer-contact-list { grid-auto-flow: row; gap: 11px; }
  .section-head { margin-bottom: 36px; }
}
/* ==========================================================================
   22. Parent theme overrides (Hello Elementor)
   hello-elementor/assets/css/theme.css caps .site-header and .site-footer at
   1140px with auto side margins, which insets the whole bar from the viewport
   edges. Our header and footer are full-bleed bars with their own .container,
   so release the cap and let .container do the centring.
   ========================================================================== */
body .site-header:not(.dynamic-header),
body .site-footer:not(.dynamic-footer) {
  max-width: 100%;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

body .site-header .header-inner,
body .site-footer .footer-inner {
  max-width: var(--container);
  padding-inline: var(--gutter);
}

/* Our <main> is full-bleed too; sections handle their own backgrounds. */
body:not([class*="elementor-page-"]) .site-main {
  max-width: 100%;
  padding-inline: 0;
}
/* ==========================================================================
   23. Icon tiles, centred navigation
   ========================================================================== */

/* Icon tiles are fixed-size squares. Inside a flex row they were shrinking
   when the text beside them was long, which squashed the Case Studies icons. */
.service-icon { flex: none; }
.stat-card .service-icon,
.feature-item .service-icon,
.contact-item .service-icon { flex: 0 0 auto; }
.stat-card > div,
.feature-item > div { min-width: 0; }

/* ---------- Centred navigation ---------- */
.header-inner { justify-content: space-between; gap: 16px; }
.main-nav {
  margin-left: 0;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.main-nav > ul { gap: 4px; }
.main-nav a { padding: 10px 15px; font-size: .95rem; }
.brand { flex: none; }
.header-actions { flex: none; }

@media (max-width: 1199px) and (min-width: 992px) {
  .main-nav a { padding: 10px 11px; font-size: .92rem; }
}

@media (max-width: 991px) {
  /* Mobile panel: nav returns to a full-width stacked list. */
  .main-nav { display: block; flex: none; }
  .main-nav.is-open { display: block; }
}
/* ==========================================================================
   24. Uploaded brand + platform logos
   ========================================================================== */
.brand--image { display: inline-flex; align-items: center; }
.brand-logo {
  width: auto;
  height: 38px;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.site-footer .brand-logo { height: 36px; }
@media (max-width: 767px) {
  .brand-logo { height: 32px; max-width: 170px; }
}

/* Platform strip now holds real logo images, not dashed placeholders. */
.trust-logo {
  border: 0;
  background: transparent;
  min-width: 0;
  height: auto;
  padding: 0 6px;
  flex: 0 1 auto;
}
.trust-logo img {
  width: auto;
  height: 30px;
  max-width: 130px;
  object-fit: contain;
  opacity: .62;
  filter: grayscale(100%);
  transition: opacity .25s ease, filter .25s ease;
}
.trust-logo img:hover { opacity: 1; filter: none; }
.trust-logos { justify-content: center; gap: 22px 44px; }

@media (max-width: 767px) {
  .trust-logos { gap: 18px 26px; }
  .trust-logo { flex: 0 1 auto; padding: 0; }
  .trust-logo img { height: 24px; max-width: 100px; }
}
/* ==========================================================================
   25. Logo sizing (fixed box)
   Explicit width/height so the logo never shifts layout while loading;
   object-fit keeps any future logo from distorting inside the same box.
   ========================================================================== */
:root { --header-h: 86px; }

.brand-logo {
  width: 172px;
  height: 52px;
  max-width: 172px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.site-footer .brand-logo {
  width: 166px;
  height: 50px;
  max-width: 166px;
}

@media (max-width: 991px) {
  :root { --header-h: 78px; }
  .brand-logo { width: 152px; height: 46px; max-width: 152px; }
}

@media (max-width: 479px) {
  :root { --header-h: 70px; }
  .brand-logo,
  .site-footer .brand-logo { width: 132px; height: 40px; max-width: 132px; }
}