:root {
  --navy: #04171F;
  --blue: #00E4FF;
  --cyan: #4DEDFF;
  --white: #F7EFE9;
  --light: #0A202E;
  --silver: #395869;
  --slate: #99B2BF;
  --gold: #FF7A2A;
  --dark: #031017;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px; z-index: 999; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(203,213,225,.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; }
.logo img { width: 155px; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--slate); }
.nav-links > a:not(.btn),
.nav-item > a,
.nav-dropdown > summary {
  border-radius: 999px;
  padding: 8px 12px;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav-links > a:not(.btn):hover { color: var(--blue); background: rgba(37,99,235,.08); box-shadow: inset 0 0 0 1px rgba(37,99,235,.08); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 30px; color: var(--navy); cursor: pointer; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: "▾"; font-size: 12px; }
.nav-dropdown[open] > summary,
.nav-dropdown > summary.active,
.nav-dropdown > summary:hover { color: var(--blue); background: rgba(37,99,235,.08); box-shadow: inset 0 0 0 1px rgba(37,99,235,.08); }
.nav-dropdown .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
  padding: 8px;
  display: grid;
  gap: 2px;
  z-index: 20;
}
.nav-dropdown .sub-menu a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
}
.nav-dropdown .sub-menu a:hover,
.nav-dropdown .sub-menu a.active { background: var(--light); color: var(--blue); }

/* WordPress nav — .nav-menu / .has-children / .submenu-toggle */
.nav-menu { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-item > a { color: rgba(14,128,164,.95); font-size: 15px; font-weight: 600; }
.nav-item > a:hover { color: #0C88B2; background: rgba(37,99,235,.08); box-shadow: inset 0 0 0 1px rgba(37,99,235,.08); }
.site-header .nav-links > a.btn.btn-primary,
.site-header .nav-links > a.btn.btn-primary:hover,
.site-header .nav-links > a.btn.btn-primary:focus-visible {
  padding: 13px 20px !important;
  border-radius: 999px;
}
.nav-item .sub-menu { list-style: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: rgba(255,255,255,.96); border: 1px solid rgba(18,164,204,.2); border-radius: 14px; box-shadow: 0 20px 38px rgba(8,71,96,.15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px; display: none; z-index: 60; margin: 0; }
.nav-item .sub-menu li { margin: 0; }
.nav-item .sub-menu a { display: block; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--navy); transition: background .15s, color .15s; }
.nav-item .sub-menu a:hover, .nav-item .sub-menu a.active { background: rgba(18,164,204,.12); color: #0A5973; }
.has-children:hover > .sub-menu,
.has-children:focus-within > .sub-menu,
.has-children.open > .sub-menu { display: block; }
.submenu-toggle { background: transparent; border: 0; cursor: pointer; color: rgba(14,128,164,.95); font-size: 14px; padding: 2px 4px; line-height: 1; transition: color .2s; }
.submenu-toggle:hover { color: #0C88B2; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37,99,235,.2); }
.btn-primary { background: var(--blue); color: white; }
.btn-secondary { background: white; color: var(--navy); border-color: rgba(203,213,225,.9); }
.btn-ghost { color: var(--blue); padding-left: 0; padding-right: 0; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 20% 10%, rgba(34,211,238,.24), transparent 30%), linear-gradient(135deg, #061525 0%, #0B1F33 48%, #102A44 100%); color: white; padding: 88px 0 76px; }
.hero::after { content: ""; position: absolute; inset: auto -120px -220px auto; width: 520px; height: 520px; background: radial-gradient(circle, rgba(37,99,235,.45), transparent 65%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 13px; }
h1, h2, h3 { font-family: Poppins, Inter, "Segoe UI", Arial, sans-serif; line-height: 1.15; margin: 0 0 18px; }
h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
h3 { font-size: 22px; }
.hero p { font-size: 19px; color: rgba(255,255,255,.84); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-accent { color: var(--cyan); }
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-pills span { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); font-size: 13px; font-weight: 600; }
.dashboard-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 30px; padding: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.22); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hero-media {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 30px;
  min-height: 420px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 30px;
  border: 0;
}

.hero-photo-accent {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42%;
  max-width: 240px;
  border-radius: 16px;
  border: 1px solid rgba(77, 237, 255, 0.34);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.hero-media-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-media-badges span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77, 237, 255, 0.4);
  background: rgba(4, 23, 31, 0.72);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dashboard { background: white; border-radius: 24px; padding: 20px; color: var(--navy); }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dots span { width: 10px; height: 10px; display: inline-block; background: var(--silver); border-radius: 50%; margin-right: 5px; }
.status-pill { background: #DCFCE7; color: #166534; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { padding: 18px; border-radius: 18px; background: var(--light); border: 1px solid #E2E8F0; }
.stat span { color: var(--slate); font-size: 13px; }
.stat strong { display: block; font-size: 27px; margin-top: 6px; }
.progress-line { height: 8px; border-radius: 99px; background: #E2E8F0; margin-top: 12px; overflow: hidden; }
.progress-line b { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; }

.w-68 { width: 68%; }
.w-72 { width: 72%; }
.w-74 { width: 74%; }
.w-82 { width: 82%; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }

.section { padding: 82px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--navy); color: white; }
.section-header { max-width: 780px; margin-bottom: 42px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header p, .lead { font-size: 18px; color: var(--slate); margin: 0; }
.section-dark .section-header p, .section-dark .lead { color: rgba(255,255,255,.74); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: white; border: 1px solid #E2E8F0; border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 26px rgba(15,23,42,.04); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); margin: 0 0 18px; }
.card.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: white; }
.card.dark p { color: rgba(255,255,255,.72); }
.icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(37,99,235,.1); color: var(--blue); display: grid; place-items: center; font-size: 23px; margin-bottom: 16px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--slate); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 900; }
.check-list--problems li::before { content: "–"; color: var(--slate); }
.section-dark .check-list li { color: rgba(255,255,255,.8); }
.section-dark .check-list li::before { color: var(--cyan); }

.card-label {
  font-family: Poppins, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 10px;
  color: inherit;
}

.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: white; border: 1px solid #E2E8F0; border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-weight: 800; margin-bottom: 16px; }

.page-hero { background: linear-gradient(135deg, var(--navy), #123555); color: white; padding: 72px 0; }
.page-hero p { max-width: 770px; color: rgba(255,255,255,.8); font-size: 18px; }
.breadcrumb { color: var(--cyan); font-size: 14px; font-weight: 700; margin-bottom: 12px; }

/* Page hero split (text + photo) */
.page-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.page-hero-split > div { min-width: 0; }
.page-hero-split .page-hero-photo { border-radius: 20px; width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 24px 64px rgba(0,0,0,.45); display: block; }
.section-photo { border-radius: 20px; width: 100%; max-height: 440px; object-fit: cover; display: block; box-shadow: 0 8px 32px rgba(15,23,42,.08); }
.price-box { border: 1px solid #E2E8F0; border-radius: 26px; padding: 26px; background: white; box-shadow: var(--shadow); }
.price { font-size: 42px; font-weight: 900; letter-spacing: -.04em; margin: 12px 0 4px; }
.price small { font-size: 15px; color: var(--slate); font-weight: 600; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 8px; font-weight: 700; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid #CBD5E1; border-radius: 14px; font: inherit; color: var(--navy); background: white; }
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--slate); }
.form label.consent-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--slate); }
.form label.consent-row input { width: 18px; height: 18px; margin-top: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.badge { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.badge-popular { background: var(--cyan); color: var(--navy); margin-bottom: 14px; display: inline-block; }

/* Pricing cards */
.pricing-grid { align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; gap: 14px; }
.pricing-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.pricing-card ul { flex: 1; }
.pricing-featured { background: var(--navy); color: white; border: 2px solid var(--cyan); }
.pricing-featured h3, .pricing-featured p { color: white; }
.pricing-featured .check-list li { color: rgba(255,255,255,.88); }
.pricing-featured .check-list li::before { color: var(--cyan); }
.price-label { color: var(--cyan); font-weight: 800; font-size: 18px; }
.pricing-disclaimer { text-align: center; color: var(--slate); font-size: 13px; margin-top: 24px; }

/* ─── Services carousel (auto-rotate, pause on hover) ──────────────────────── */
.services-carousel-section { overflow: hidden; }
.services-carousel-wrap { margin-top: 36px; overflow: hidden; cursor: grab; }
.services-carousel-wrap:active { cursor: grabbing; }
.services-carousel-btn { display: none; }
.services-carousel-track { display: flex; gap: 22px; padding: 4px 40px; transition: transform .5s cubic-bezier(.25,.8,.25,1); will-change: transform; -webkit-user-select: none; user-select: none; }
.services-carousel-card { flex: 0 0 calc(33.333% - 16px); min-width: 260px; pointer-events: auto; }
.services-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.services-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); border: none; padding: 0; cursor: pointer; transition: background .3s, transform .3s; }
.services-carousel-dot.is-active { background: var(--cyan); transform: scale(1.35); }
@media (max-width: 920px) {
  .services-carousel-card { flex: 0 0 calc(50% - 12px); }
  .services-carousel-track { padding: 4px 20px; }
}
@media (max-width: 620px) {
  .services-carousel-card { flex: 0 0 85%; }
  .services-carousel-track { padding: 4px 16px; }
}
.badge-coming-soon { background: #FEF3C7; color: #92400E; }

/* ─── Insights page (home.php / archive.php) card grid ─────────────────────── */
.insights-hero { background: radial-gradient(circle at 18% 12%, rgba(34,211,238,.18), transparent 36%), linear-gradient(160deg, #061525 0%, #0B1F33 55%, #0d2640 100%); color: white; }
.insights-hero h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 12px; }
.insights-hero p { color: rgba(255,255,255,.78); font-size: 18px; margin: 0; }
.insights-section { background: linear-gradient(180deg, #0B1F33 0%, #0d2135 100%); }
.insights-grid { align-items: stretch; }
.insights-post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: white; }
.insights-post-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.insights-post-thumb-link { display: block; overflow: hidden; }
.insights-post-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .4s ease; }
.insights-post-thumb-link:hover .insights-post-thumb { transform: scale(1.04); }
.insights-post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.insights-post-title { font-size: clamp(18px, 2vw, 22px); margin: 0; line-height: 1.2; }
.insights-post-title a { color: white; }
.insights-post-title a:hover { color: var(--cyan); }
.insights-post-excerpt { color: rgba(255,255,255,.68); font-size: 15px; margin: 0; flex: 1; }
.insights-post-meta { color: var(--cyan); font-weight: 700; font-size: 14px; margin-top: auto; }

.cta { background: linear-gradient(135deg, var(--blue), #123B7A); color: white; border-radius: 34px; padding: 48px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.cta p { color: rgba(255,255,255,.8); margin: 0; }

.site-footer { background: var(--dark); color: white; padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; margin-bottom: 36px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a { display: block; margin: 8px 0; }
.footer-logo { width: 150px; background: white; border-radius: 12px; padding: 5px 10px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; color: rgba(255,255,255,.58); font-size: 14px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 78px; left: 0; right: 0; background: white; display: none; flex-direction: column; align-items: flex-start; padding: 18px 20px 24px; border-bottom: 1px solid #E2E8F0; z-index: 49; }
  .nav-links.open { display: flex; }
  /* static HTML nav */
  .nav-dropdown { width: 100%; }
  .nav-dropdown > summary { width: 100%; justify-content: space-between; }
  .nav-dropdown .sub-menu { position: static; min-width: 0; box-shadow: none; border: 1px solid #E2E8F0; margin-top: 8px; }
  /* WordPress nav */
  .nav-menu { width: 100%; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav-item { width: 100%; flex-wrap: wrap; gap: 0; }
  .nav-item > a { flex: 1; padding: 8px 0; }
  .submenu-toggle { margin-left: 8px; }
  .nav-item .sub-menu { position: static; min-width: 100%; width: 100%; box-shadow: none; border: 1px solid #e2e8f0; padding: 8px; margin-top: 6px; display: none; }
  .has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu { display: none; }
  .has-children.open > .sub-menu { display: block; }
  .hero-grid, .grid-2, .cta, .footer-grid, .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-split .page-hero-photo { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4, .process { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 62px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .grid-3, .grid-4, .process, .stat-grid { grid-template-columns: 1fr; }
  .hero-actions, .btn { width: 100%; }
  .cta { padding: 30px; }
}

body {
  color: var(--white);
  background:
    radial-gradient(circle at 12% -8%, rgba(0, 228, 255, 0.17), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(255, 122, 42, 0.11), transparent 34%),
    linear-gradient(180deg, #04171F 0%, #071F2C 40%, #031017 100%);
}

.site-header {
  background: rgba(236, 240, 243, 0.94);
  border-bottom: 1px solid rgba(18, 164, 204, 0.2);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.site-header.scrolled {
  background: rgba(232, 237, 241, 0.98);
  border-bottom-color: rgba(18, 164, 204, 0.28);
  box-shadow: 0 16px 34px rgba(2, 40, 56, 0.14);
}

.logo img {
  filter: drop-shadow(0 0 8px rgba(18, 164, 204, 0.2));
}

.nav-links {
  color: rgba(14, 128, 164, 0.95);
}

.nav-links a:hover,
.nav-links a.active,
.nav-dropdown[open] > summary,
.nav-dropdown > summary.active,
.nav-dropdown > summary:hover {
  color: #0C88B2;
}

.nav-dropdown > summary {
  color: rgba(14, 128, 164, 0.95);
}

.nav-dropdown .sub-menu {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 164, 204, 0.2);
  box-shadow: 0 20px 38px rgba(8, 71, 96, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.nav-dropdown .sub-menu a:hover,
.nav-dropdown .sub-menu a.active {
  background: rgba(18, 164, 204, 0.12);
  color: #0A5973;
}

.site-header .btn-primary {
  background: linear-gradient(135deg, #16BFE4 0%, #0AA0CC 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 24px rgba(10, 160, 204, 0.26);
}

.site-header .btn-primary:hover {
  box-shadow: 0 14px 28px rgba(10, 160, 204, 0.34);
}

.site-header .nav-toggle {
  color: #0E7FA4;
}

.btn {
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn-primary {
  background: linear-gradient(135deg, #00E4FF 0%, #4DEDFF 100%);
  color: #04171F;
  box-shadow: 0 12px 28px rgba(0, 228, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 0 34px rgba(0, 228, 255, 0.36);
}

.btn-secondary {
  background: rgba(10, 32, 46, 0.6);
  color: var(--white);
  border-color: rgba(77, 237, 255, 0.28);
}

.btn-secondary:hover {
  border-color: rgba(77, 237, 255, 0.55);
  box-shadow: 0 0 24px rgba(0, 228, 255, 0.2);
}

.hero {
  --pointer-x: 70%;
  --pointer-y: 18%;
  background:
    radial-gradient(circle at 15% 8%, rgba(0, 228, 255, 0.24), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(255, 122, 42, 0.12), transparent 32%),
    linear-gradient(135deg, #04171F 0%, #0A202E 52%, #091A24 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(77, 237, 255, 0.15), transparent 34%),
    linear-gradient(130deg, transparent 0%, rgba(77, 237, 255, 0.06) 45%, transparent 100%);
}

.hero p {
  color: rgba(247, 239, 233, 0.79);
}


.dashboard-card,
.card,
.step,
.price-box {
  background: rgba(21, 41, 54, 0.76);
  border: 1px solid rgba(77, 237, 255, 0.12);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dashboard {
  background: rgba(6, 21, 37, 0.85);
  color: var(--white);
}

.status-pill {
  background: rgba(77, 237, 255, 0.18);
  color: var(--white);
}

.stat {
  background: rgba(4, 23, 31, 0.6);
  border-color: rgba(77, 237, 255, 0.14);
}

.stat span,
.section-header p,
.lead,
.card p,
.check-list li,
.price small,
.form-note,
.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--slate);
}

.section-light {
  background: linear-gradient(180deg, rgba(10, 32, 46, 0.78) 0%, rgba(3, 16, 23, 0.5) 100%);
}

.icon {
  background: rgba(0, 228, 255, 0.14);
  color: var(--cyan);
}

.check-list li::before {
  color: var(--cyan);
}

.step::before {
  background: linear-gradient(135deg, #00E4FF 0%, #4DEDFF 100%);
  color: #04171F;
}

.page-hero {
  --pointer-x: 85%;
  --pointer-y: 20%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(77, 237, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #031017 0%, #0A202E 60%, #0B1C28 100%);
}

.hero > .container,
.page-hero > .container {
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle-dot {
  position: absolute;
  left: var(--p-x, 50%);
  top: var(--p-y, 50%);
  width: var(--p-size, 4px);
  height: var(--p-size, 4px);
  border-radius: 50%;
  opacity: var(--p-opacity, 0.4);
  background: radial-gradient(circle, rgba(77, 237, 255, 0.95) 0%, rgba(77, 237, 255, 0.2) 70%, transparent 100%);
  box-shadow: 0 0 14px rgba(77, 237, 255, 0.35);
  animation: float-particle var(--p-duration, 12s) ease-in-out var(--p-delay, 0s) infinite;
}

.interactive-surface {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.interactive-surface:hover {
  border-color: rgba(77, 237, 255, 0.35);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.32), 0 0 20px rgba(0, 228, 255, 0.14);
}

@keyframes float-particle {
  0% {
    transform: translate3d(0, 0, 0) scale(0.9);
    opacity: calc(var(--p-opacity, 0.35) * 0.65);
  }
  50% {
    transform: translate3d(-14px, -18px, 0) scale(1.15);
    opacity: var(--p-opacity, 0.35);
  }
  100% {
    transform: translate3d(10px, -30px, 0) scale(0.92);
    opacity: calc(var(--p-opacity, 0.35) * 0.55);
  }
}

.cta {
  background: linear-gradient(135deg, #00A8D8 0%, #0A4B6B 52%, #04171F 100%);
  border: 1px solid rgba(77, 237, 255, 0.2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.form input,
.form select,
.form textarea {
  color: var(--white);
  background: rgba(4, 23, 31, 0.6);
  border-color: rgba(77, 237, 255, 0.24);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-color: rgba(77, 237, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(77, 237, 255, 0.12);
}

.form label {
  color: var(--white);
}

.form input,
.form select,
.form textarea {
  color: var(--white);
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(153, 178, 191, 0.9);
}

.form label.consent-row,
.form label.consent-row span,
.form label.consent-row a {
  color: var(--slate);
}

.form label.consent-row a:hover {
  color: var(--cyan);
}


.partner-showcase {
  position: relative;
  overflow: hidden;
  padding: 52px 0 24px;
  border-top: 1px solid rgba(77, 237, 255, 0.16);
  border-bottom: 1px solid rgba(77, 237, 255, 0.16);
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 228, 255, 0.12), transparent 34%),
    radial-gradient(circle at 86% 70%, rgba(255, 122, 42, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(4, 23, 31, 0.9) 0%, rgba(3, 16, 23, 0.75) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.partner-showcase::before {
  content: "";
  position: absolute;
  inset: auto -15% 0;
  height: 110px;
  background: radial-gradient(ellipse at center, rgba(77, 237, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.partner-showcase-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.partner-showcase-head h2 {
  margin-bottom: 10px;
}

.partner-showcase-head p {
  margin: 0;
  color: var(--slate);
  font-size: 17px;
}

.partner-marquee {
  position: relative;
  overflow: hidden;
  margin: 10px 0;
}

.partner-marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  padding: 10px 20px;
  animation: partner-scroll 24s linear infinite;
}

.partner-marquee-reverse .partner-marquee-track {
  animation-direction: reverse;
  animation-duration: 28s;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(77, 237, 255, 0.32);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(145deg, rgba(9, 30, 42, 0.86), rgba(6, 21, 32, 0.78));
  box-shadow: inset 0 0 20px rgba(77, 237, 255, 0.08), 0 10px 22px rgba(0, 0, 0, 0.2);
}

@keyframes partner-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes footer-glow {
  0%,
  100% {
    transform: translateX(-6%) translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateX(6%) translateY(-10px);
    opacity: 1;
  }
}

@keyframes footer-sweep {
  0% {
    transform: translateX(-6%);
  }
  50% {
    transform: translateX(6%);
  }
  100% {
    transform: translateX(-6%);
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #020C12;
  border-top: 1px solid rgba(77, 237, 255, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -140px -30% auto;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(77, 237, 255, 0.18) 0%, rgba(77, 237, 255, 0.02) 55%, transparent 78%);
  animation: footer-glow 12s ease-in-out infinite;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -80px;
  height: 160px;
  background: linear-gradient(90deg, rgba(0, 228, 255, 0.04), rgba(77, 237, 255, 0.2), rgba(255, 122, 42, 0.1), rgba(0, 228, 255, 0.04));
  filter: blur(30px);
  animation: footer-sweep 16s linear infinite;
  pointer-events: none;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-grid h3 {
  margin-bottom: 14px;
}

.footer-grid a {
  transition: color .25s ease, transform .25s ease;
}

.footer-grid a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-logo {
  width: 170px;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.progress-line {
  background: rgba(77, 237, 255, 0.14);
}

.progress-line b {
  background: linear-gradient(90deg, #00E4FF, #4DEDFF);
}

.card-insight {
  overflow: hidden;
}

.photo-story {
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 228, 255, 0.08), transparent 36%),
    radial-gradient(circle at 92% 84%, rgba(255, 122, 42, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(8, 28, 39, 0.46) 0%, rgba(4, 19, 29, 0.55) 100%);
}

.photo-story .card-insight h3 {
  margin-bottom: 12px;
}

.photo-story .card-insight p {
  margin: 0;
}

.insights-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.insights-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px;
}

.insights-track::-webkit-scrollbar {
  display: none;
}

.insight-link {
  display: block;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}

.insight-link:focus-visible {
  outline: 2px solid rgba(77, 237, 255, 0.72);
  outline-offset: 3px;
}

.insights-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(77, 237, 255, 0.36);
  background: rgba(6, 21, 32, 0.82);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.insights-nav:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(77, 237, 255, 0.72);
  background: rgba(10, 40, 55, 0.9);
}

.insights-editorial {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 14px;
  align-items: stretch;
}

.insight-side-stack {
  display: grid;
  gap: 14px;
}

.insight-featured {
  min-height: 100%;
}

.insight-featured .insight-thumb {
  aspect-ratio: 16 / 10;
}

.insight-featured h3 {
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.08;
  margin-bottom: 10px;
}

.insight-featured p {
  font-size: 17px;
}

.insight-mini {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 12px;
  align-items: center;
  min-height: 0;
}

.insight-mini .insight-thumb {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid rgba(77, 237, 255, 0.2);
}

.insight-mini h3 {
  font-size: clamp(18px, 1.8vw, 24px);
  margin-bottom: 8px;
}

.insight-mini p {
  color: var(--slate);
  font-size: 16px;
  margin: 0;
}

.footer-brand-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-brand-tagline {
  color: var(--white);
  font-weight: 700;
}

.insight-thumb {
  width: calc(100% + 56px);
  margin: -28px -28px 18px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-bottom: 1px solid rgba(77, 237, 255, 0.22);
  transform: scale(1.001);
  transition: transform .45s ease, filter .45s ease;
  filter: saturate(0.94) contrast(1.04);
}

.card-insight:hover .insight-thumb {
  transform: scale(1.05);
  filter: saturate(1.06) contrast(1.08);
}

/* Scroll reveal utility (enabled by main.js) */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal].reveal-delay-1 { transition-delay: .08s; }
[data-reveal].reveal-delay-2 { transition-delay: .16s; }
[data-reveal].reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .particle-dot {
    animation: none;
  }

  .partner-marquee-track {
    animation: none;
  }

  .interactive-surface {
    transform: none;
    transition: border-color .25s ease, box-shadow .25s ease;
  }

  .site-footer::before,
  .site-footer::after {
    animation: none;
  }
}

@media (max-width: 920px) {
  .nav-links {
    background: rgba(236, 240, 243, 0.98);
    border-bottom: 1px solid rgba(18, 164, 204, 0.24);
  }

  .insights-carousel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .insights-editorial {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .insight-side-stack {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .insight-mini {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .insight-mini .insight-thumb {
    aspect-ratio: 16 / 10;
  }

  .insights-nav {
    display: none;
  }

  .insights-track {
    grid-auto-columns: minmax(260px, 86%);
  }

  .partner-showcase {
    padding-top: 40px;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-photo {
    min-height: 340px;
  }

  .hero-photo-accent {
    width: 46%;
  }

  .partner-showcase-head {
    margin-bottom: 20px;
  }
}

@media (max-width: 620px) {
  .hero-photo-accent {
    display: none;
  }

  .insight-side-stack {
    grid-template-columns: 1fr;
  }

  .hero-media-badges {
    top: 12px;
    left: 12px;
  }
}



/* UX typography and header stability refinements */
:root {
  --font-body: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-heading: Poppins, Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --text-body-size: clamp(16px, 0.2vw + 15px, 18px);
  --text-lead-size: clamp(17px, 0.35vw + 16px, 20px);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.card-label,
.price,
.footer-brand-title {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
}

h3,
.card-label {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.22;
}

p,
li {
  font-size: var(--text-body-size);
}

.section-header p,
.lead,
.hero p,
.page-hero p,
.insights-post-excerpt {
  font-size: var(--text-lead-size);
  line-height: 1.7;
}

.section-header p,
.lead,
.card p,
.check-list li,
.price small,
.form-note,
.partner-showcase-head p,
.insight-mini p {
  color: #b8cbd5;
}

.site-header {
  will-change: transform, background, border-color, box-shadow;
  transform: translateY(0);
  transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.nav {
  min-height: 74px;
}

@media (max-width: 920px) {
  .nav {
    min-height: 70px;
  }

  .logo img {
    width: 142px;
  }

  .nav-links {
    top: 70px;
    background: rgba(236, 240, 243, 0.995);
    box-shadow: 0 18px 34px rgba(2, 40, 56, 0.16);
  }
}

@media (max-width: 620px) {
  .hero p,
  .section-header p,
  .lead,
  .page-hero p,
  .insights-post-excerpt {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero {
    padding-top: 54px;
  }
}


/* UX pass 2: mobile nav + content rhythm */
@media (max-width: 920px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 70px;
    overflow-y: auto;
    padding: 16px 20px 28px;
    background: rgba(236, 240, 243, 0.995);
  }

  .nav-links::before {
    content: "";
    position: fixed;
    inset: 70px 0 0 0;
    background: rgba(3, 16, 23, 0.52);
    z-index: -1;
  }

  .nav-links.open {
    display: flex;
  }
}

.page-hero p,
.section-header p,
.lead {
  max-width: 72ch;
}

.page-id-22 .section p,
.page-id-24 .section p,
.page-id-48 .section p {
  line-height: 1.78;
  margin-bottom: 1.05em;
}

.page-id-22 .section h2,
.page-id-24 .section h2,
.page-id-48 .section h2 {
  margin-bottom: 0.6em;
}

.page-id-22 .section .card p,
.page-id-24 .section .card p,
.page-id-48 .section .card p {
  line-height: 1.7;
}

@media (max-width: 620px) {
  .page-id-22 .section p,
  .page-id-24 .section p,
  .page-id-48 .section p {
    line-height: 1.68;
    margin-bottom: 0.95em;
  }

  .page-hero p,
  .section-header p,
  .lead {
    max-width: 100%;
  }
}


/* UX pass 3: micro polish */
:root {
  --service-copy-line-height: 1.76;
  --service-copy-gap: 0.95em;
  --service-copy-max: 64ch;
}

.page-template-template-service-page .page-hero p {
  max-width: var(--service-copy-max);
}

.page-template-template-service-page .section .section-header p,
.page-template-template-service-page .section > .container > p {
  max-width: calc(var(--service-copy-max) + 4ch);
}

.page-template-template-service-page .section p,
.page-template-template-service-page .section li {
  line-height: var(--service-copy-line-height);
}

.page-template-template-service-page .section p {
  margin-bottom: var(--service-copy-gap);
}

.page-template-template-service-page .section h2 {
  margin-bottom: 0.58em;
}

@media (max-width: 920px) {
  .nav-links {
    background: rgba(236, 240, 243, 0.985);
    box-shadow: 0 14px 26px rgba(2, 40, 56, 0.10);
  }

  .nav-links::before {
    background: rgba(3, 16, 23, 0.38);
  }
}

@media (max-width: 620px) {
  :root {
    --service-copy-line-height: 1.66;
    --service-copy-gap: 0.88em;
    --service-copy-max: 100%;
  }
}
