/* ==========================================================================
   CAPA 1: ESTILOS GENERALES (BASE) — Renzo Zamora
   Tokens, reset, contenedores, columnas, encabezados, textos, botones,
   breadcrumbs, acordeones/FAQ, header, footer y motor BorderGlow compartido.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #11111b;
  --bg-alt: #161523;
  --panel: #191827;
  --panel-2: #201e30;
  --text: #f5f3fa;
  --muted: #c2bece;
  --line: rgba(255, 255, 255, 0.13);
  --cyan: #43d8d1;
  --cyan-bright: #48d8d1;
  --purple: #8b59ed;
  --magenta: #ee35a7;
  --pink: #f41463;
  --page-bg: #11111b;
  --page-panel: #191827;
  --page-panel-2: #201e30;
  --page-text: #f5f3fa;
  --page-muted: #c5c1cf;
  --page-line: rgba(255, 255, 255, 0.14);
  --page-pink: #f41463;
  --page-cyan: #43d8d1;
  --page-max: 1160px;
  --sans: 'Inter', Arial, sans-serif;
  --display: 'Jost', Arial, sans-serif;
  --max: 1160px;
  --radius: 18px;
}

/* Reset & Base Typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* Prevent long text or unspaced URLs from pushing viewport */
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
a,
figcaption {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Fluid responsive media & embeds */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

/* Preformatted blocks and tables must scroll internally, never spill */
pre,
code,
kbd,
samp {
  max-width: 100%;
  overflow-x: auto;
}

table {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  max-width: 100%;
}

/* Containers & Structural Wrappers */
main,
section,
article,
header,
footer,
.wrap,
.page-wrap {
  max-width: 100%;
  box-sizing: border-box;
}

.wrap,
.page-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 60;
  top: -70px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #11111b;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.section-pad {
  padding: 96px 0;
  position: relative;
}

.section-tinted {
  background: rgba(25, 24, 39, 0.45);
  border-block: 1px solid var(--line);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Announcement Bar */
.announcement {
  position: relative;
  z-index: 35;
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: linear-gradient(100deg, #cd1049, #a20e58);
  color: #fff;
  text-align: center;
  font: 700 clamp(10px, 1vw, 12px)/1.35 var(--display);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.announcement b {
  color: #ffe7a6;
  font-weight: 700;
}

/* Header & Main Navigation */
.header,
.site-header,
.page-header {
  position: fixed;
  z-index: 30;
  top: 46px;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: top 0.28s ease, background 0.28s ease, backdrop-filter 0.28s ease,
    border-color 0.28s ease, box-shadow 0.28s ease;
}

.header.scrolled,
.site-header.scrolled,
.page-header.scrolled {
  top: 0;
  background: rgba(20, 19, 32, 0.84);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(5, 4, 14, 0.22);
}

.nav,
.page-nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo,
.page-brand img,
.site-header .logo img {
  display: block;
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
}

.nav-links,
.page-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #eeeaf5;
  font-size: 16px;
  font-weight: 500;
}

.nav-links > a,
.page-nav-links > a {
  white-space: nowrap;
}

.nav-links > a:not(.button):hover,
.nav-links > a[aria-current="page"],
.page-nav-links > a:not(.page-cta):hover,
.page-nav-links > a[aria-current="page"] {
  color: var(--cyan);
}

.mobile-toggle,
.page-menu {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.mobile-toggle svg,
.page-menu svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Headings & Canonical Eyebrow */
.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f41463;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.eyebrow::before,
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.section-head {
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 0 0 12px;
  font: 600 clamp(32px, 4.4vw, 52px)/1.08 var(--display);
  letter-spacing: -0.035em;
  max-width: 840px;
  color: #fff;
}

.section-head h2 em {
  font-style: normal;
  color: var(--cyan);
}

.section-head p:not(.eyebrow):not(.section-eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
}

/* Buttons & CTAs */
.button,
.cta-button,
.page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid rgba(244, 20, 99, 0.45);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 20, 99, 0.22) 0%, rgba(238, 53, 167, 0.1) 100%);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(244, 20, 99, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.button:hover,
.cta-button:hover,
.page-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f41463 0%, #ee35a7 100%);
  border-color: #f41463;
  box-shadow: 0 12px 32px rgba(244, 20, 99, 0.42), 0 0 22px rgba(238, 53, 167, 0.35);
  color: #fff;
}

.button svg,
.cta-button svg,
.page-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.button:hover svg,
.cta-button:hover svg,
.page-cta:hover svg {
  transform: translate(3px, -3px);
}

.btn-secondary,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(72, 216, 209, 0.38);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(72, 216, 209, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #edf9f8;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn-secondary:hover,
.button-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(72, 216, 209, 0.82);
  background: linear-gradient(135deg, rgba(72, 216, 209, 0.22) 0%, rgba(72, 216, 209, 0.08) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(45, 217, 206, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-secondary svg,
.button-outline svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.btn-secondary:hover svg,
.button-outline:hover svg {
  stroke: #fff;
  transform: translate(3px, -3px);
}

/* Breadcrumbs */
.breadcrumbs,
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs span,
.breadcrumb span {
  color: rgba(255, 255, 255, 0.36);
}

.breadcrumbs a:hover,
.breadcrumb a:hover {
  color: var(--cyan);
}

/* Accordions & FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 120px;
}

.faq-aside strong {
  display: block;
  font: 600 28px/1.2 var(--display);
  color: #fff;
  margin-bottom: 12px;
}

.faq-aside p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.faq-list {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 16px;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(28, 27, 45, 0.72), rgba(18, 17, 30, 0.85));
  transition: border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.faq-list details[open] {
  border-color: rgba(67, 216, 209, 0.45);
  background: linear-gradient(145deg, rgba(34, 33, 55, 0.85), rgba(20, 19, 34, 0.94));
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
  color: #fff;
  font: 600 18px/1.35 var(--display);
  letter-spacing: -0.01em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.legal-toggle-icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.legal-toggle-icon::before,
.legal-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.legal-toggle-icon::before {
  width: 10px;
  height: 1.8px;
}

.legal-toggle-icon::after {
  width: 1.8px;
  height: 10px;
}

details[open] .legal-toggle-icon {
  border-color: var(--cyan);
  background: rgba(67, 216, 209, 0.14);
}

details[open] .legal-toggle-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  padding: 0 24px 24px;
  color: #cbc7d8;
  font-size: 15.5px;
  line-height: 1.72;
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Shared React Bits BorderGlow Engine */
.glow-card,
.feature-card,
.highlight-banner,
.portfolio-cta,
.project-type-card,
.related-project-card,
.project-card,
.service-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 28;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --border-radius: 18px;
  --glow-padding: 36px;
  --cone-spread: 25;
  --card-bg: #151423;
  --glow-color: hsl(176deg 85% 76% / 100%);
  --glow-color-60: hsl(176deg 85% 76% / 60%);
  --glow-color-50: hsl(176deg 85% 76% / 50%);
  --glow-color-30: hsl(176deg 85% 76% / 30%);
  --glow-color-20: hsl(176deg 85% 76% / 20%);
  --gradient-one: radial-gradient(at 80% 55%, #8b59ed 0, transparent 50%);
  --gradient-two: radial-gradient(at 69% 34%, #ee35a7 0, transparent 50%);
  --gradient-three: radial-gradient(at 8% 6%, #2dd9ce 0, transparent 50%);
  --gradient-four: radial-gradient(at 41% 38%, #8b59ed 0, transparent 50%);
  --gradient-five: radial-gradient(at 86% 85%, #ee35a7 0, transparent 50%);
  --gradient-six: radial-gradient(at 82% 18%, #2dd9ce 0, transparent 50%);
  --gradient-seven: radial-gradient(at 51% 4%, #f41463 0, transparent 50%);
  --gradient-base: linear-gradient(135deg, #2dd9ce 0%, #8b59ed 50%, #f41463 100%);

  position: relative;
  isolation: isolate;
  overflow: visible;
  transform: translate3d(0, 0, 0.01px);
  border-radius: var(--border-radius);
}

.highlight-banner,
.portfolio-cta {
  --glow-color: hsl(336deg 92% 65% / 100%);
  --glow-color-60: hsl(336deg 92% 65% / 60%);
  --glow-color-50: hsl(336deg 92% 65% / 50%);
  --glow-color-30: hsl(336deg 92% 65% / 30%);
  --glow-color-20: hsl(336deg 92% 65% / 20%);
}

.glow-card > :not(.edge-light),
.feature-card > :not(.edge-light),
.highlight-banner > :not(.edge-light),
.portfolio-cta > :not(.edge-light),
.project-type-card > :not(.edge-light),
.related-project-card > :not(.edge-light),
.project-card > :not(.edge-light),
.service-card > :not(.edge-light) {
  position: relative;
  z-index: 2;
}

.glow-card::before,
.glow-card > .edge-light,
.feature-card::before,
.feature-card > .edge-light,
.highlight-banner::before,
.highlight-banner > .edge-light,
.portfolio-cta::before,
.portfolio-cta > .edge-light,
.project-type-card::before,
.project-type-card > .edge-light,
.related-project-card::before,
.related-project-card > .edge-light,
.project-card::before,
.project-card > .edge-light,
.service-card::before,
.service-card > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.glow-card::before,
.feature-card::before,
.highlight-banner::before,
.portfolio-cta::before,
.project-type-card::before,
.related-project-card::before,
.project-card::before,
.service-card::before {
  z-index: 1;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card-bg) 0 100%) padding-box,
    linear-gradient(rgba(255, 255, 255, 0) 0 100%) border-box,
    var(--gradient-one) border-box,
    var(--gradient-two) border-box,
    var(--gradient-three) border-box,
    var(--gradient-four) border-box,
    var(--gradient-five) border-box,
    var(--gradient-six) border-box,
    var(--gradient-seven) border-box,
    var(--gradient-base) border-box;
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%));
  mask-image: conic-gradient(from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%));
}

.glow-card > .edge-light,
.feature-card > .edge-light,
.highlight-banner > .edge-light,
.portfolio-cta > .edge-light,
.project-type-card > .edge-light,
.related-project-card > .edge-light,
.project-card > .edge-light,
.service-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  z-index: 3;
  border-radius: calc(var(--border-radius) + var(--glow-padding));
  -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center,
    black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  mask-image: conic-gradient(from var(--cursor-angle) at center,
    black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}

.glow-card > .edge-light::before,
.feature-card > .edge-light::before,
.highlight-banner > .edge-light::before,
.portfolio-cta > .edge-light::before,
.project-type-card > .edge-light::before,
.related-project-card > .edge-light::before,
.project-card > .edge-light::before,
.service-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: var(--border-radius);
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 2px 0 var(--glow-color-60),
    inset 0 0 5px 0 var(--glow-color-50),
    inset 0 0 14px 0 var(--glow-color-30),
    0 0 2px 0 var(--glow-color-60),
    0 0 5px 0 var(--glow-color-50),
    0 0 15px 0 var(--glow-color-30),
    0 0 35px 2px var(--glow-color-20);
}

.glow-card:not(:hover)::before,
.glow-card:not(:hover) > .edge-light,
.feature-card:not(:hover)::before,
.feature-card:not(:hover) > .edge-light,
.highlight-banner:not(:hover)::before,
.highlight-banner:not(:hover) > .edge-light,
.portfolio-cta:not(:hover)::before,
.portfolio-cta:not(:hover) > .edge-light,
.project-type-card:not(:hover)::before,
.project-type-card:not(:hover) > .edge-light,
.related-project-card:not(:hover)::before,
.related-project-card:not(:hover) > .edge-light,
.project-card:not(:hover)::before,
.project-card:not(:hover) > .edge-light,
.service-card:not(:hover)::before,
.service-card:not(:hover) > .edge-light {
  opacity: 0;
  transition: opacity 0.65s ease;
}

/* Shared Bottom CTA Banner */
.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  margin-block: 48px 96px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(244, 20, 99, 0.16), transparent 65%),
    radial-gradient(ellipse 55% 80% at 0% 100%, rgba(45, 217, 206, 0.12), transparent 65%),
    rgba(21, 20, 35, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.portfolio-cta h2 {
  margin: 0;
  font: 600 clamp(28px, 3.6vw, 42px)/1.1 var(--display);
  letter-spacing: -0.03em;
  color: #fff;
}

.portfolio-cta h2 em {
  font-style: normal;
  color: var(--cyan);
}

.portfolio-cta p {
  margin: 10px 0 0;
  color: #c8c5d1;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 600px;
}

.cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-kicker svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Shared Footer */
.footer {
  padding: 68px 0 34px;
  border-top: 1px solid var(--line);
  background: #0d0d16;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 42px;
}

.footer-brand p {
  max-width: 300px;
  margin: 18px 0 0;
  color: #c5c2ce;
  font-size: 15px;
  line-height: 1.65;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, auto));
  gap: 48px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font: 600 13px/1.2 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f8a9f;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #dedbe8;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #938fa3;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a:hover {
  color: var(--cyan);
}

/* Base Responsive */
@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-aside {
    position: static;
  }
  .portfolio-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 28px;
  }
}

@media (max-width: 820px) {
  .wrap,
  .page-wrap {
    width: min(var(--max), calc(100% - 36px));
    max-width: 100%;
  }
  .mobile-toggle,
  .page-menu {
    display: grid;
  }
  .nav-links,
  .page-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(20, 19, 32, 0.98);
    backdrop-filter: blur(18px);
    overflow-x: hidden;
  }
  .nav-links.open,
  .page-nav-links.open {
    display: flex;
  }
  .nav-links > a:not(.button),
  .page-nav-links > a:not(.page-cta) {
    padding: 12px 4px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .nav-links .button,
  .page-nav-links .page-cta {
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > * {
    min-width: 0;
  }
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .wrap,
  .page-wrap {
    width: calc(100% - 32px);
    max-width: 100%;
  }
  .announcement {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 10px;
    max-width: 100%;
  }
  .header,
  .site-header,
  .page-header {
    top: 42px;
    max-width: 100%;
  }
  .header.scrolled,
  .site-header.scrolled,
  .page-header.scrolled {
    top: 0;
  }
  .section-pad {
    padding: 68px 0;
  }
  .button,
  .cta-button,
  .page-cta {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .wrap,
  .page-wrap {
    width: calc(100% - 24px);
    max-width: 100%;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* ==========================================================================
   Servicios Mega-Menu (Glassmorphism + Lucide Inline SVGs)
   ========================================================================== */
.nav-mega {
  position: static;
  display: inline-flex;
  align-items: center;
}

.nav-mega > .mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  cursor: pointer;
}

.mega-chevron {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, color 0.2s ease;
}

.nav-mega.is-open > .mega-trigger,
.nav-mega:hover > .mega-trigger,
.nav-mega:focus-within > .mega-trigger {
  color: #43d8d1;
}

.nav-mega.is-open .mega-chevron,
.nav-mega:hover .mega-chevron,
.nav-mega:focus-within .mega-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Desktop mega panel: anchored directly below header.page-header */
.mega-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: 980px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  z-index: 45;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(ellipse 55% 65% at 8% 0%, rgba(45, 217, 206, 0.12), transparent 65%),
    radial-gradient(ellipse 50% 60% at 96% 100%, rgba(244, 20, 99, 0.12), transparent 65%),
    rgba(19, 18, 32, 0.94);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 28px 70px rgba(4, 3, 12, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.2s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s ease;
}

/* Hover bridge: keeps hover intact across the 6px separation */
.mega-panel::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-mega.is-open > .mega-panel,
.nav-mega:hover > .mega-panel,
.nav-mega:focus-within > .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-inner {
  display: grid;
  grid-template-columns: 500px minmax(370px, 1fr);
  gap: 24px;
  padding: 22px 24px;
  box-sizing: border-box;
}

@media (max-width: 1040px) and (min-width: 821px) {
  .mega-panel {
    width: min(980px, calc(100% - 32px));
    max-width: calc(100% - 32px);
  }
  .mega-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 1fr);
    gap: 18px;
    padding: 20px;
  }
}

.mega-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #43d8d1;
  font: 700 11px/1.2 'Jost', Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega-heading svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mega-service-item:hover {
  transform: translateY(-1px);
  border-color: rgba(67, 216, 209, 0.42);
  background: linear-gradient(135deg, rgba(45, 217, 206, 0.11) 0%, rgba(139, 89, 237, 0.07) 100%);
  box-shadow: 0 8px 22px rgba(5, 4, 14, 0.3);
}

.mega-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(67, 216, 209, 0.28);
  background: linear-gradient(135deg, rgba(45, 217, 206, 0.16) 0%, rgba(45, 217, 206, 0.04) 100%);
  color: #43d8d1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mega-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-service-item:hover .mega-icon {
  border-color: rgba(67, 216, 209, 0.72);
  background: linear-gradient(135deg, rgba(45, 217, 206, 0.3) 0%, rgba(45, 217, 206, 0.1) 100%);
  color: #ffffff;
}

.mega-service-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mega-service-copy strong {
  color: #ffffff;
  font: 600 14px/1.25 'Jost', Arial, sans-serif;
  letter-spacing: -0.01em;
}

.mega-service-copy small {
  color: #aea9be;
  font: 400 12.5px/1.4 'Inter', Arial, sans-serif;
}

.mega-col-sectors {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.mega-sectors-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.mega-sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  color: #dcd8e8;
  font: 500 12px/1.2 'Inter', Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mega-sector-pill svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.65;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mega-sector-pill:hover {
  border-color: rgba(67, 216, 209, 0.62);
  background: rgba(67, 216, 209, 0.1);
  color: #43d8d1;
}

.mega-sector-pill:hover svg {
  opacity: 1;
  transform: translate(1.5px, -1.5px);
}

.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 22px 22px;
  color: #a9a4b8;
  font: 400 13px/1.4 'Inter', Arial, sans-serif;
}

.mega-all-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #43d8d1;
  font: 600 13.5px/1.2 'Inter', Arial, sans-serif;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.mega-all-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.mega-all-link:hover {
  color: #ffffff;
}

.mega-all-link:hover svg {
  transform: translateX(3px);
}

/* Mobile Mega-Menu Accordion */
@media (max-width: 820px) {
  .nav-mega {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-mega > .mega-trigger {
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 4px;
  }

  .mega-panel {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    border-radius: 14px;
    border-width: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    transition: max-height 0.3s ease, opacity 0.22s ease, margin 0.22s ease;
  }

  .mega-panel::before {
    display: none;
  }

  .nav-mega.is-open > .mega-panel {
    max-height: 75vh;
    overflow-y: auto;
    border-width: 1px;
    margin: 4px 0 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .mega-services-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    min-width: 0;
  }

  .mega-col-sectors {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
  }

  .mega-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 8px;
    min-width: 0;
  }
}

/* ==========================================================================
   WordPress & Global Mobile Overflow Prevention Guards
   ========================================================================== */
body.admin-bar {
  max-width: 100%;
  overflow-x: hidden;
}

#wpadminbar {
  max-width: 100%;
}

.wp-site-blocks,
.entry-content,
.post-content,
.page-content,
.site-main,
#main-content {
  max-width: 100%;
  overflow-x: clip;
}

/* ==========================================================================
   CAPA 2 (TIPO): LANDINGS DE SERVICIOS
   Requiere: assets/css/base.css
   ========================================================================== */

:root {
      --bg: #11111b;
      --card-bg: #151423;
      --panel: rgba(25, 24, 39, 0.72);
      --text: #f5f3fa;
      --muted: #b9b6c5;
      --line: rgba(255, 255, 255, 0.13);
      --cyan: #48d8d1;
      --cyan-bright: #2dd9ce;
      --pink: #f41463;
      --magenta: #ee35a7;
      --purple: #8b59ed;
      --max: 1160px;
      --sans: 'Inter', Arial, sans-serif;
      --display: 'Jost', Arial, sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 110px; }
    body {
      margin: 0;
      min-width: 320px;
      overflow-x: clip;
      background:
        radial-gradient(ellipse 52% 38% at 10% 8%, rgba(45, 217, 206, 0.11), transparent 70%),
        radial-gradient(ellipse 48% 36% at 92% 28%, rgba(139, 89, 237, 0.14), transparent 70%),
        radial-gradient(ellipse 46% 32% at 50% 86%, rgba(244, 20, 99, 0.08), transparent 72%),
        var(--bg);
      color: var(--text);
      font: 400 16px/1.65 var(--sans);
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    .wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

    .skip-link {
      position: fixed;
      z-index: 60;
      top: -70px;
      left: 16px;
      padding: 10px 14px;
      border-radius: 8px;
      background: #fff;
      color: #11111b;
      font-weight: 700;
      transition: top 0.2s ease;
    }
    .skip-link:focus { top: 12px; }

    /* Announcement & Header */
    .announcement {
      display: flex;
      min-height: 46px;
      align-items: center;
      justify-content: center;
      padding: 9px 18px;
      background: linear-gradient(100deg, #cd1049, #a20e58);
      color: #fff;
      text-align: center;
      font: 700 12px/1.35 var(--display);
      letter-spacing: 0.035em;
      text-transform: uppercase;
      text-wrap: balance;
    }
    .announcement b { color: #ffe7a6; font-weight: 700; }

    .header {
      position: fixed;
      z-index: 30;
      top: 46px;
      left: 0;
      right: 0;
      width: 100%;
      background: transparent;
      border-bottom: 1px solid transparent;
      transition: top 0.28s ease, background 0.28s ease, backdrop-filter 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    }
    .header.scrolled {
      top: 0;
      background: rgba(20, 19, 32, 0.82);
      backdrop-filter: blur(18px) saturate(145%);
      -webkit-backdrop-filter: blur(18px) saturate(145%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 8px 28px rgba(5, 4, 14, 0.24);
    }
    .nav {
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .brand { display: inline-flex; align-items: center; gap: 10px; }
    .brand-logo { display: block; width: 158px; height: auto; filter: brightness(0) invert(1); }
    .mobile-toggle {
      display: none;
      width: 44px;
      height: 44px;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.05);
      color: #fff;
      cursor: pointer;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      font: 500 15px var(--sans);
    }
    .nav-links > a:not(.button) {
      color: #e6e2f0;
      transition: color 0.2s ease;
    }
    .nav-links > a:not(.button):hover,
    .nav-links > a[aria-current="page"] { color: var(--cyan); }

    /* Glassmorphism Buttons */
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      padding: 12px 24px;
      border: 1px solid rgba(244, 20, 99, 0.5);
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(244, 20, 99, 0.26) 0%, rgba(238, 53, 167, 0.12) 100%);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      color: #fff;
      font: 700 15px/1.2 var(--sans);
      white-space: nowrap;
      box-shadow: 0 8px 24px rgba(244, 20, 99, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
      transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .button:hover {
      transform: translateY(-2px);
      background: linear-gradient(135deg, #f41463 0%, #ee35a7 100%);
      border-color: #f41463;
      box-shadow: 0 14px 32px rgba(244, 20, 99, 0.44), 0 0 22px rgba(238, 53, 167, 0.35);
    }
    .button svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: transform 0.25s ease;
    }
    .button:hover svg { transform: translate(3px, -3px); }

    .btn-glass {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      padding: 12px 22px;
      border: 1px solid rgba(72, 216, 209, 0.35);
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(72, 216, 209, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      color: #edf9f8;
      font: 600 15px/1.2 var(--sans);
      white-space: nowrap;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
      transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    }
    .btn-glass:hover {
      transform: translateY(-2px);
      border-color: rgba(72, 216, 209, 0.78);
      background: linear-gradient(135deg, rgba(72, 216, 209, 0.22) 0%, rgba(72, 216, 209, 0.08) 100%);
      color: #fff;
      box-shadow: 0 10px 26px rgba(45, 217, 206, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
    .btn-glass svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: var(--cyan);
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: transform 0.25s ease;
    }
    .btn-glass:hover svg { transform: translateY(2px); }

    /* Breadcrumbs */
    .breadcrumbs {
      display: inline-flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 9px;
      margin-bottom: 22px;
      color: #a9a4b8;
      font-size: 13px;
      font-weight: 500;
    }
    .breadcrumbs a { transition: color 0.2s ease; }
    .breadcrumbs a:hover { color: var(--cyan); }
    .breadcrumbs .sep { opacity: 0.45; }
    .breadcrumbs .current { color: #e8e5f2; }

    /* Hero Section */
    .hero-landing {
      position: relative;
      padding: 158px 0 86px;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.12fr 0.88fr;
      gap: 44px;
      align-items: center;
    }
    .eyebrow-pill {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 18px;
      border-radius: 999px;
      border: 1px solid rgba(72, 216, 209, 0.35);
      background: linear-gradient(135deg, rgba(72, 216, 209, 0.14) 0%, rgba(139, 89, 237, 0.08) 100%);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: var(--cyan);
      font: 700 11px/1.2 var(--display);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--cyan-bright);
      box-shadow: 0 0 10px var(--cyan-bright);
    }
    .hero-landing h1 {
      margin: 22px 0 20px;
      font: 700 clamp(42px, 5.6vw, 68px)/1.03 var(--display);
      letter-spacing: -0.04em;
      color: #fff;
    }
    .hero-landing h1 em {
      font-style: normal;
      background: linear-gradient(95deg, #2dd9ce 8%, #8b59ed 56%, #ee35a7 96%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero-lede {
      margin: 0;
      max-width: 580px;
      color: #cbc7d8;
      font-size: 18px;
      line-height: 1.72;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 30px;
    }
    .hero-trust {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      margin-top: 26px;
      color: #b7b3c4;
      font-size: 13.5px;
    }
    .hero-trust span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }
    .hero-trust svg {
      width: 16px;
      height: 16px;
      stroke: var(--cyan);
      fill: none;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Hero Glass Showcase Panel */
    .hero-panel {
      position: relative;
      padding: 28px;
      border-radius: 20px;
      background: linear-gradient(155deg, rgba(31, 29, 49, 0.78) 0%, rgba(19, 18, 32, 0.72) 100%);
      backdrop-filter: blur(20px) saturate(140%);
      -webkit-backdrop-filter: blur(20px) saturate(140%);
      border: 1px solid rgba(255, 255, 255, 0.14);
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
    .panel-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 16px;
      margin-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .panel-dots { display: flex; gap: 7px; }
    .panel-dots i {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: block;
    }
    .panel-dots i:nth-child(1) { background: #f41463; }
    .panel-dots i:nth-child(2) { background: #ffbd59; }
    .panel-dots i:nth-child(3) { background: #2dd9ce; }
    .panel-badge {
      padding: 4px 11px;
      border-radius: 999px;
      background: rgba(45, 217, 206, 0.14);
      border: 1px solid rgba(45, 217, 206, 0.35);
      color: var(--cyan);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .panel-metrics {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 18px;
    }
    .metric-glass {
      padding: 16px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.045);
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
    .metric-num {
      font: 700 28px/1.1 var(--display);
      color: #fff;
      letter-spacing: -0.03em;
    }
    .metric-num span { color: var(--cyan); font-size: 18px; }
    .metric-label {
      display: block;
      margin-top: 5px;
      color: #b7b3c4;
      font-size: 12.5px;
      line-height: 1.4;
    }
    /* Hero Animated SVG Stage */
    .panel-visual {
      position: relative;
      margin-bottom: 18px;
      border-radius: 14px;
      overflow: hidden;
      background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(45, 217, 206, 0.08), rgba(15, 14, 26, 0.72));
      border: 1px solid rgba(255, 255, 255, 0.09);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .hero-svg {
      display: block;
      width: 100%;
      height: auto;
    }
    .svg-float { animation: svgFloat 5s ease-in-out infinite; }
    .svg-float-delay { animation: svgFloat 5.6s ease-in-out -2.4s infinite; }
    .svg-float-slow { animation: svgFloat 6.8s ease-in-out -1.2s infinite; }
    .svg-pulse { animation: svgPulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
    .svg-ring { animation: svgRing 3.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
    .svg-ring-delay { animation: svgRing 3.4s ease-out -1.7s infinite; transform-box: fill-box; transform-origin: center; }
    .svg-dash { stroke-dasharray: 6 6; animation: svgDash 1.8s linear infinite; }
    .svg-dash-rev { stroke-dasharray: 6 6; animation: svgDashRev 2.2s linear infinite; }
    .svg-spin { animation: svgSpin 14s linear infinite; transform-box: fill-box; transform-origin: center; }
    .svg-spin-rev { animation: svgSpinRev 18s linear infinite; transform-box: fill-box; transform-origin: center; }
    .svg-beat { stroke-dasharray: 280; stroke-dashoffset: 280; animation: svgBeat 3.2s ease-in-out infinite; }
    .svg-gauge { stroke-dasharray: 276; stroke-dashoffset: 276; animation: svgGauge 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
    .svg-bar-1 { animation: svgBar 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
    .svg-bar-2 { animation: svgBar 3.6s ease-in-out 0.35s infinite; transform-box: fill-box; transform-origin: bottom; }
    .svg-bar-3 { animation: svgBar 3.6s ease-in-out 0.7s infinite; transform-box: fill-box; transform-origin: bottom; }
    .svg-bar-4 { animation: svgBar 3.6s ease-in-out 1.05s infinite; transform-box: fill-box; transform-origin: bottom; }
    .svg-blink { animation: svgBlink 1.1s steps(2, start) infinite; }
    .svg-cursor { animation: svgCursorMove 6s ease-in-out infinite; }
    .svg-scan { animation: svgScan 3.8s ease-in-out infinite; }

    @keyframes svgFloat {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-6px); }
    }
    @keyframes svgPulse {
      0%, 100% { opacity: 0.75; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.06); }
    }
    @keyframes svgRing {
      0% { opacity: 0.65; transform: scale(0.85); }
      100% { opacity: 0; transform: scale(1.42); }
    }
    @keyframes svgDash {
      to { stroke-dashoffset: -24; }
    }
    @keyframes svgDashRev {
      to { stroke-dashoffset: 24; }
    }
    @keyframes svgSpin {
      to { transform: rotate(360deg); }
    }
    @keyframes svgSpinRev {
      to { transform: rotate(-360deg); }
    }
    @keyframes svgBeat {
      0% { stroke-dashoffset: 280; opacity: 0.25; }
      45% { stroke-dashoffset: 0; opacity: 1; }
      85% { stroke-dashoffset: 0; opacity: 1; }
      100% { stroke-dashoffset: -280; opacity: 0.25; }
    }
    @keyframes svgGauge {
      to { stroke-dashoffset: 22; }
    }
    @keyframes svgBar {
      0%, 100% { transform: scaleY(1); opacity: 0.85; }
      50% { transform: scaleY(1.1); opacity: 1; }
    }
    @keyframes svgBlink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }
    @keyframes svgCursorMove {
      0%, 100% { transform: translate(0px, 0px); }
      33% { transform: translate(48px, -18px); }
      66% { transform: translate(22px, 26px); }
    }
    @keyframes svgScan {
      0%, 100% { transform: translateY(0px); opacity: 0.25; }
      50% { transform: translateY(112px); opacity: 0.85; }
    }

    .panel-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.09);
    }
    .stack-chip {
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #e4e0ef;
      font-size: 12px;
      font-weight: 600;
    }

    /* Glass Stats Strip */
    .stats-strip {
      display: block;
      margin-top: 58px;
      padding: 24px 28px;
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 36px rgba(0, 0, 0, 0.25);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .stat-item {
      padding-right: 16px;
      border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    .stat-item:last-child { border-right: 0; padding-right: 0; }
    .stat-num {
      font: 700 32px/1.1 var(--display);
      letter-spacing: -0.03em;
      color: #fff;
      white-space: nowrap;
    }
    .stat-num span { color: var(--cyan); font-size: 20px; }
    .stat-label {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.45;
    }

    /* Sections */
    .section { padding: 88px 0; }
    .section-alt {
      background: rgba(25, 24, 39, 0.42);
      border-block: 1px solid rgba(255, 255, 255, 0.08);
    }
    .section-head {
      max-width: 720px;
      margin-bottom: 46px;
    }
    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--pink);
      font: 700 13.5px/1.2 var(--sans);
      letter-spacing: 0.15em;
      text-transform: uppercase;
    }
    .section-eyebrow::before {
      content: "";
      width: 24px;
      height: 1px;
      background: currentColor;
      flex-shrink: 0;
    }
    .section-head h2 {
      margin: 14px 0 14px;
      font: 600 clamp(32px, 4.2vw, 48px)/1.08 var(--display);
      letter-spacing: -0.035em;
      color: #fff;
    }
    .section-head h2 em { font-style: normal; color: var(--cyan); }
    .section-head p:not(.section-eyebrow):not(.eyebrow) {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.72;
    }

    /* ==========================================================================
       React Bits BorderGlow + Glassmorphism Card System
       ========================================================================== */
    .glow-card {
      --edge-proximity: 0;
      --cursor-angle: 45deg;
      --edge-sensitivity: 30;
      --color-sensitivity: calc(var(--edge-sensitivity) + 20);
      --border-radius: 18px;
      --glow-padding: 36px;
      --cone-spread: 25;
      --card-fill: rgba(21, 20, 35, 0.84);
      --glow-color: hsl(176deg 85% 76% / 100%);
      --glow-color-60: hsl(176deg 85% 76% / 60%);
      --glow-color-50: hsl(176deg 85% 76% / 50%);
      --glow-color-30: hsl(176deg 85% 76% / 30%);
      --glow-color-20: hsl(176deg 85% 76% / 20%);
      --gradient-one: radial-gradient(at 80% 55%, #8b59ed 0, transparent 50%);
      --gradient-two: radial-gradient(at 69% 34%, #ee35a7 0, transparent 50%);
      --gradient-three: radial-gradient(at 8% 6%, #2dd9ce 0, transparent 50%);
      --gradient-four: radial-gradient(at 41% 38%, #8b59ed 0, transparent 50%);
      --gradient-five: radial-gradient(at 86% 85%, #ee35a7 0, transparent 50%);
      --gradient-six: radial-gradient(at 82% 18%, #2dd9ce 0, transparent 50%);
      --gradient-seven: radial-gradient(at 51% 4%, #ee35a7 0, transparent 50%);
      --gradient-base: linear-gradient(135deg, #2dd9ce 0%, #8b59ed 50%, #ee35a7 100%);

      position: relative;
      isolation: isolate;
      overflow: visible;
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: var(--border-radius);
      background: var(--card-fill);
      backdrop-filter: blur(18px) saturate(140%);
      -webkit-backdrop-filter: blur(18px) saturate(140%);
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14);
      transform: translate3d(0, 0, 0.01px);
      transition: transform 0.28s ease, box-shadow 0.28s ease;
    }
    .glow-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    .glow-card > :not(.edge-light) { position: relative; z-index: 2; }
    .glow-card::before,
    .glow-card > .edge-light {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      transition: opacity 0.25s ease-out;
    }
    .glow-card::before {
      z-index: 1;
      border: 1.5px solid transparent;
      background:
        linear-gradient(var(--card-bg) 0 100%) padding-box,
        linear-gradient(rgba(255, 255, 255, 0) 0 100%) border-box,
        var(--gradient-one) border-box,
        var(--gradient-two) border-box,
        var(--gradient-three) border-box,
        var(--gradient-four) border-box,
        var(--gradient-five) border-box,
        var(--gradient-six) border-box,
        var(--gradient-seven) border-box,
        var(--gradient-base) border-box;
      opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
      -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center,
        black calc(var(--cone-spread) * 1%),
        transparent calc((var(--cone-spread) + 15) * 1%),
        transparent calc((100 - var(--cone-spread) - 15) * 1%),
        black calc((100 - var(--cone-spread)) * 1%));
      mask-image: conic-gradient(from var(--cursor-angle) at center,
        black calc(var(--cone-spread) * 1%),
        transparent calc((var(--cone-spread) + 15) * 1%),
        transparent calc((100 - var(--cone-spread) - 15) * 1%),
        black calc((100 - var(--cone-spread)) * 1%));
    }
    .glow-card > .edge-light {
      inset: calc(var(--glow-padding) * -1);
      z-index: 3;
      border-radius: calc(var(--border-radius) + var(--glow-padding));
      -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center,
        black 2.5%, transparent 10%, transparent 90%, black 97.5%);
      mask-image: conic-gradient(from var(--cursor-angle) at center,
        black 2.5%, transparent 10%, transparent 90%, black 97.5%);
      opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
      mix-blend-mode: plus-lighter;
    }
    .glow-card > .edge-light::before {
      content: "";
      position: absolute;
      inset: var(--glow-padding);
      border-radius: var(--border-radius);
      box-shadow:
        inset 0 0 0 1px var(--glow-color),
        inset 0 0 2px 0 var(--glow-color-60),
        inset 0 0 5px 0 var(--glow-color-50),
        inset 0 0 14px 0 var(--glow-color-30),
        0 0 2px 0 var(--glow-color-60),
        0 0 5px 0 var(--glow-color-50),
        0 0 15px 0 var(--glow-color-30),
        0 0 35px 2px var(--glow-color-20);
    }
    .glow-card:not(:hover)::before,
    .glow-card:not(:hover) > .edge-light {
      opacity: 0;
      transition: opacity 0.65s ease;
    }

    /* Magenta Glow Variant for CTA */
    .glow-card.glow-magenta {
      --glow-color: hsl(332deg 94% 62% / 100%);
      --glow-color-60: hsl(332deg 94% 62% / 65%);
      --glow-color-50: hsl(332deg 94% 62% / 52%);
      --glow-color-30: hsl(332deg 94% 62% / 32%);
      --glow-color-20: hsl(332deg 94% 62% / 22%);
      --gradient-one: radial-gradient(at 80% 55%, #f41463 0, transparent 52%);
      --gradient-two: radial-gradient(at 69% 34%, #ee35a7 0, transparent 52%);
      --gradient-three: radial-gradient(at 8% 6%, #c04bf2 0, transparent 52%);
      --gradient-four: radial-gradient(at 41% 38%, #f41463 0, transparent 52%);
      --gradient-five: radial-gradient(at 86% 85%, #ee35a7 0, transparent 52%);
      --gradient-six: radial-gradient(at 82% 18%, #ff5ca8 0, transparent 52%);
      --gradient-seven: radial-gradient(at 51% 4%, #ee35a7 0, transparent 52%);
      --gradient-base: linear-gradient(135deg, #f41463 0%, #ee35a7 55%, #a855f7 100%);
    }

    /* Solutions Grid (2x2) */
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }
    .solution-card {
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 22px;
    }
    .card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }
    .card-num {
      font: 700 12px/1 var(--display);
      letter-spacing: 0.14em;
      color: var(--cyan);
      text-transform: uppercase;
    }
    .glass-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(72, 216, 209, 0.2) 0%, rgba(139, 89, 237, 0.1) 100%);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(72, 216, 209, 0.38);
      color: var(--cyan);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 20px rgba(0, 0, 0, 0.24);
    }
    .glass-icon svg {
      width: 24px;
      height: 24px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .solution-card h3 {
      margin: 0 0 10px;
      font: 600 26px/1.18 var(--display);
      letter-spacing: -0.025em;
      color: #fff;
    }
    .solution-card p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 15.5px;
      line-height: 1.68;
    }
    .feature-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 10px;
    }
    .feature-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: #e4e0ef;
      font-size: 14.5px;
      line-height: 1.5;
    }
    .feature-list svg {
      width: 16px;
      height: 16px;
      margin-top: 3px;
      flex: 0 0 16px;
      stroke: var(--cyan);
      fill: none;
      stroke-width: 2.3;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.09);
    }
    .tag {
      padding: 5px 11px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.11);
      color: #d6d2e4;
      font-size: 12px;
      font-weight: 500;
    }

    /* Mid-page Diagnostic Banner CTA */
    .mid-cta {
      margin-top: 40px;
      padding: clamp(28px, 4vw, 42px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      border-color: rgba(238, 53, 167, 0.28);
      background:
        radial-gradient(ellipse 56% 110% at 96% 10%, rgba(244, 20, 99, 0.22), transparent 68%),
        radial-gradient(ellipse 46% 90% at 6% 92%, rgba(139, 89, 237, 0.18), transparent 66%),
        linear-gradient(135deg, rgba(28, 22, 46, 0.92) 0%, rgba(20, 17, 34, 0.94) 58%, rgba(46, 17, 42, 0.9) 100%);
      box-shadow: 0 20px 50px rgba(8, 5, 18, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }
    .mid-cta-copy {
      max-width: 650px;
    }
    .mid-cta-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      padding: 5px 13px;
      border-radius: 999px;
      background: rgba(244, 20, 99, 0.15);
      border: 1px solid rgba(244, 20, 99, 0.4);
      color: #ff86b7;
      font: 700 11px/1.2 var(--display);
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .mid-cta-kicker svg {
      width: 13px;
      height: 13px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
    }
    .mid-cta h3 {
      margin: 0 0 10px;
      font: 700 clamp(24px, 2.8vw, 31px)/1.14 var(--display);
      letter-spacing: -0.025em;
      color: #fff;
    }
    .mid-cta p {
      margin: 0;
      color: #d6d1e4;
      font-size: 16px;
      line-height: 1.66;
    }
    .mid-cta-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 16px;
      color: #bfb9cf;
      font-size: 13px;
      font-weight: 500;
    }
    .mid-cta-meta span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .mid-cta-meta svg {
      width: 14px;
      height: 14px;
      stroke: #ff7fb0;
      fill: none;
      stroke-width: 2.3;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .mid-cta-action {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
      flex-shrink: 0;
    }
    .mid-cta-action .button {
      padding: 14px 26px;
      border-color: rgba(244, 20, 99, 0.65);
      background: linear-gradient(135deg, rgba(244, 20, 99, 0.36) 0%, rgba(238, 53, 167, 0.18) 100%);
      box-shadow: 0 10px 28px rgba(244, 20, 99, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    .mid-cta-note {
      color: #b7b0c9;
      font-size: 12.5px;
      font-weight: 500;
    }

    /* Pillars (3 columns) */
    .pillar-card {
      padding: 28px;
    }
    .pillar-card .glass-icon {
      width: 48px;
      height: 48px;
      margin-bottom: 18px;
    }
    .pillar-card h3 {
      margin: 0 0 10px;
      font: 600 22px/1.2 var(--display);
      color: #fff;
    }
    .pillar-card p {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.66;
    }

    /* Process Steps */
    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }
    .process-step {
      padding: 26px 24px;
      border-radius: 16px;
      background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.11);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
      transition: transform 0.25s ease, border-color 0.25s ease;
    }
    .process-step:hover {
      transform: translateY(-3px);
      border-color: rgba(72, 216, 209, 0.4);
    }
    .step-num {
      display: inline-block;
      margin-bottom: 14px;
      padding: 4px 11px;
      border-radius: 999px;
      background: rgba(72, 216, 209, 0.12);
      border: 1px solid rgba(72, 216, 209, 0.28);
      color: var(--cyan);
      font: 700 11px/1.2 var(--display);
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .process-step h3 {
      margin: 0 0 8px;
      font: 600 21px/1.2 var(--display);
      color: #fff;
    }
    .process-step p {
      margin: 0;
      color: var(--muted);
      font-size: 14.5px;
      line-height: 1.62;
    }

    /* Selected Work Preview with Glass Arrow Buttons */
    .work-preview-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }
    .work-card {
      position: relative;
      display: block;
      aspect-ratio: 4 / 3.2;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: #1b192c;
      box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
    }
    .work-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: transform 0.55s ease;
    }
    .work-card:hover img { transform: scale(1.05); }
    .work-card::after {
      content: "";
      position: absolute;
      inset: 38% 0 0;
      background: linear-gradient(transparent, rgba(13, 12, 23, 0.92));
    }
    .work-meta {
      position: absolute;
      z-index: 2;
      left: 18px;
      right: 18px;
      bottom: 18px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 12px;
    }
    .work-meta strong {
      display: block;
      font: 600 23px/1.15 var(--display);
      color: #fff;
    }
    .work-meta small {
      display: block;
      margin-top: 3px;
      color: #dad6e6;
      font-size: 14px;
    }
    .work-arrow {
      flex: 0 0 42px;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      border: 1px solid rgba(45, 217, 206, 0.45);
      background: linear-gradient(135deg, rgba(45, 217, 206, 0.24) 0%, rgba(45, 217, 206, 0.08) 100%);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: var(--cyan-bright);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 16px rgba(0, 0, 0, 0.3);
      transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
    }
    .work-arrow svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .work-card:hover .work-arrow {
      background: linear-gradient(135deg, rgba(45, 217, 206, 0.45) 0%, rgba(45, 217, 206, 0.18) 100%);
      border-color: rgba(45, 217, 206, 0.85);
      color: #fff;
      transform: scale(1.1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 24px rgba(45, 217, 206, 0.5), 0 8px 22px rgba(0, 0, 0, 0.35);
    }

    /* FAQ Accordion (Glassmorphism) */
    .faq-list {
      position: relative;
      isolation: isolate;
      display: grid;
      gap: 16px;
      max-width: 860px;
    }
    .faq-list::before {
      content: "";
      position: absolute;
      inset: -36px -44px;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(ellipse 46% 42% at 14% 22%, rgba(45, 217, 206, 0.16), transparent 72%),
        radial-gradient(ellipse 48% 44% at 88% 48%, rgba(139, 89, 237, 0.18), transparent 72%),
        radial-gradient(ellipse 42% 38% at 38% 92%, rgba(244, 20, 99, 0.11), transparent 72%);
      filter: blur(26px);
    }
    .faq-item {
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.025) 100%);
      backdrop-filter: blur(22px) saturate(160%);
      -webkit-backdrop-filter: blur(22px) saturate(160%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 32px rgba(5, 4, 14, 0.3);
      transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    }
    .faq-item:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.26);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.035) 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 36px rgba(5, 4, 14, 0.38);
    }
    .faq-item[open] {
      border-color: rgba(72, 216, 209, 0.52);
      background: linear-gradient(135deg, rgba(72, 216, 209, 0.14) 0%, rgba(139, 89, 237, 0.08) 54%, rgba(255, 255, 255, 0.03) 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 16px 40px rgba(45, 217, 206, 0.14), 0 10px 28px rgba(5, 4, 14, 0.36);
    }
    .faq-item summary {
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 21px 24px;
      cursor: pointer;
      font: 600 18px/1.35 var(--display);
      color: #fff;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-icon {
      flex: 0 0 36px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
      color: var(--cyan);
      transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .faq-icon svg {
      width: 16px;
      height: 16px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .faq-item[open] .faq-icon {
      transform: rotate(180deg);
      border-color: rgba(72, 216, 209, 0.6);
      background: linear-gradient(135deg, rgba(72, 216, 209, 0.28) 0%, rgba(72, 216, 209, 0.1) 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 16px rgba(45, 217, 206, 0.3);
    }
    .faq-answer {
      padding: 0 24px 22px;
      color: #d6d2e4;
      font-size: 15.5px;
      line-height: 1.72;
    }
    .faq-answer strong { color: #fff; }

    /* Final CTA with Magenta BorderGlow & Glassmorphism */
    .cta-section { padding: 36px 0 96px; }
    .portfolio-cta {
      padding: clamp(34px, 5vw, 54px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      background: linear-gradient(135deg, rgba(39, 28, 63, 0.85) 0%, rgba(21, 20, 35, 0.9) 55%, rgba(56, 20, 50, 0.82) 100%);
    }
    .cta-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      padding: 6px 14px;
      border-radius: 999px;
      background: rgba(244, 20, 99, 0.14);
      border: 1px solid rgba(244, 20, 99, 0.38);
      color: #ff7fb0;
      font: 700 11px/1.2 var(--display);
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .cta-kicker svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
    }
    .portfolio-cta h2 {
      margin: 0 0 12px;
      max-width: 650px;
      font: 700 clamp(30px, 4vw, 44px)/1.08 var(--display);
      letter-spacing: -0.03em;
      color: #fff;
    }
    .portfolio-cta h2 em { font-style: normal; color: var(--magenta); }
    .portfolio-cta p {
      margin: 0;
      max-width: 560px;
      color: #d2cee0;
      font-size: 16.5px;
      line-height: 1.68;
    }
    .cta-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 12px;
      flex-shrink: 0;
    }
    .cta-sublink {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--cyan);
      font-size: 14px;
      font-weight: 600;
      transition: opacity 0.2s ease;
    }
    .cta-sublink svg {
      width: 15px;
      height: 15px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: transform 0.2s ease;
      flex-shrink: 0;
    }
    .cta-sublink:hover { opacity: 0.8; text-decoration: none; }
    .cta-sublink:hover svg { transform: translateX(3px); }

    /* Footer */
    .footer {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      background: #0d0d16;
      padding: 56px 0 28px;
    }
    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 40px;
      padding-bottom: 36px;
    }
    .footer-brand p {
      margin: 14px 0 0;
      max-width: 300px;
      color: var(--muted);
      font-size: 14.5px;
      line-height: 1.65;
    }
    .footer-links { display: flex; gap: 56px; }
    .footer-col { display: grid; gap: 10px; font-size: 14.5px; color: #cbc7d8; }
    .footer-col strong {
      margin-bottom: 4px;
      color: var(--cyan);
      font: 700 11px/1.2 var(--display);
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .footer-col a:hover { color: #fff; }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding-top: 22px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: #9e99ae;
      font-size: 13.5px;
    }
    .footer-bottom nav { display: flex; gap: 20px; }
    .footer-bottom a:hover { color: var(--cyan); }

    /* Responsive */
    @media (max-width: 980px) {
      .hero-grid { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .stat-item:nth-child(2) { border-right: 0; }
      .grid-3, .work-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .mid-cta, .portfolio-cta { flex-direction: column; align-items: flex-start; }
      .cta-actions, .mid-cta-action { align-items: flex-start; }
    }
    @media (max-width: 720px) {
      .wrap { width: calc(100% - 34px); }
      .nav { height: 74px; }
      .brand-logo { width: 132px; }
      .mobile-toggle { display: grid; }
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px 18px 20px;
        background: rgba(18, 17, 30, 0.97);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      }
      .nav-links.open { display: flex; }
      .nav-links > a:not(.button) { padding: 10px 4px; }
      .hero-landing { padding: 136px 0 64px; }
      .grid-2, .grid-3, .work-preview-grid, .process-grid, .stats-grid { grid-template-columns: 1fr; }
      .stat-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); padding: 0 0 14px; }
      .stat-item:last-child { border-bottom: 0; padding-bottom: 0; }
      .solution-card, .mid-cta { padding: 24px; }
      .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
      .footer-links { flex-wrap: wrap; gap: 30px; }
    }
    /* Sector Directory */
    .sector-directory {
      padding: 42px 0 16px;
    }
    .sector-directory-panel {
      padding: clamp(26px, 4vw, 44px);
      border: 1px solid rgba(67, 216, 209, 0.36);
      border-radius: 18px;
      background: linear-gradient(145deg, rgba(25, 24, 39, 0.84), rgba(17, 17, 27, 0.92));
      box-shadow: 0 0 34px rgba(45, 217, 206, 0.1), inset 0 1px rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
    .sector-directory-panel h2 {
      margin: 0 0 10px;
      font: 600 clamp(28px, 3.8vw, 42px)/1.08 var(--display);
      letter-spacing: -0.03em;
      color: #fff;
    }
    .sector-directory-panel > p {
      max-width: 720px;
      margin: 0 0 26px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.65;
    }
    .sector-directory-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .sector-directory-links a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 15px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.035);
      color: #e9e6f2;
      font-size: 14px;
      font-weight: 500;
      transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }
    .sector-directory-links a:hover,
    .sector-directory-links a[aria-current="page"] {
      transform: translateY(-1px);
      border-color: var(--cyan);
      background: rgba(67, 216, 209, 0.09);
      color: var(--cyan);
      box-shadow: 0 0 18px rgba(45, 217, 206, 0.22);
    }
    .sector-directory-links svg {
      width: 15px;
      height: 15px;
      flex-shrink: 0;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: transform 0.2s ease;
    }
    .sector-directory-links a:hover svg {
      transform: translate(2px, -2px);
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; animation: none !important; }
    }

/* ==========================================================================
   WordPress Chrome & Compatibility Layer — Renzo Zamora
   Loaded LAST on all templates (after base -> types -> pages).
   Ensures uniform Header, Navigation (including wp_nav_menu <li>), Footer,
   WP Admin Bar offset, Featured Post radius, BorderGlow safeguards, and Prism.js.
   ========================================================================== */

/* 1. Announcement Bar */
aside.announcement,
.announcement {
  position: relative;
  z-index: 35;
  display: flex;
  min-height: 46px;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  background: linear-gradient(100deg, #cd1049, #a20e58);
  color: #ffffff;
  text-align: center;
  font: 700 12px/1.35 'Jost', Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
  text-wrap: balance;
}
aside.announcement b,
.announcement b {
  color: #ffe7a6;
  font-weight: 700;
}

/* 2. Standardized Fixed Header & Navigation */
header.header.page-header {
  position: fixed;
  z-index: 30;
  top: 46px;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  border-top: 0;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition:
    top 0.28s ease,
    background 0.28s ease,
    backdrop-filter 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

header.header.page-header.scrolled {
  top: 0;
  background: rgba(20, 19, 32, 0.84);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(5, 4, 14, 0.24);
}

/* WordPress Admin Bar Offset */
body.admin-bar header.header.page-header {
  top: 78px;
}
body.admin-bar header.header.page-header.scrolled {
  top: 32px;
}

header.header.page-header .nav.page-nav {
  width: min(1160px, calc(100% - 48px));
  max-width: 1160px;
  height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

header.header.page-header .brand.page-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

header.header.page-header .brand-logo.page-logo,
header.header.page-header .brand.page-brand img {
  display: block;
  width: 158px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

header.header.page-header .nav-links.page-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 15.5px/1.2 'Inter', Arial, sans-serif;
  color: #e6e2f0;
}

header.header.page-header .nav-links.page-nav-links .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

@media (min-width: 769px) {
  header.header.page-header .nav-links.page-nav-links .menu-item.nav-mega,
  header.header.page-header .nav-links.page-nav-links .nav-mega {
    position: static;
  }
}

header.header.page-header .nav-links.page-nav-links > a:not(.button):not(.page-cta),
header.header.page-header .nav-links.page-nav-links .menu-item > a:not(.button):not(.page-cta),
header.header.page-header .nav-links.page-nav-links .nav-mega > a.mega-trigger {
  display: inline-flex;
  align-items: center;
  color: #e6e2f0;
  font: 500 15.5px/1.2 'Inter', Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

header.header.page-header .nav-links.page-nav-links > a:not(.button):not(.page-cta):hover,
header.header.page-header .nav-links.page-nav-links .menu-item > a:not(.button):not(.page-cta):hover,
header.header.page-header .nav-links.page-nav-links .nav-mega > a.mega-trigger:hover,
header.header.page-header .nav-links.page-nav-links .nav-mega.is-open > a.mega-trigger,
header.header.page-header .nav-links.page-nav-links > a[aria-current="page"]:not(.button):not(.page-cta),
header.header.page-header .nav-links.page-nav-links .nav-mega > a[aria-current="page"],
header.header.page-header .nav-links.page-nav-links .current-menu-item > a:not(.button):not(.page-cta),
header.header.page-header .nav-links.page-nav-links .current-menu-ancestor > a:not(.button):not(.page-cta) {
  color: #43d8d1;
}

header.header.page-header .nav-links.page-nav-links a.page-cta,
header.header.page-header .nav-links.page-nav-links a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid rgba(244, 20, 99, 0.48);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 20, 99, 0.24) 0%, rgba(238, 53, 167, 0.11) 100%);
  color: #ffffff;
  font: 700 15px/1.2 'Inter', Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 8px 24px rgba(244, 20, 99, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

header.header.page-header .nav-links.page-nav-links a.page-cta:hover,
header.header.page-header .nav-links.page-nav-links a.button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f41463 0%, #ee35a7 100%);
  border-color: #f41463;
  box-shadow:
    0 12px 32px rgba(244, 20, 99, 0.42),
    0 0 20px rgba(238, 53, 167, 0.34);
  color: #ffffff;
}

header.header.page-header .nav-links.page-nav-links a.page-cta svg,
header.header.page-header .nav-links.page-nav-links a.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

header.header.page-header .nav-links.page-nav-links a.page-cta:hover svg,
header.header.page-header .nav-links.page-nav-links a.button:hover svg {
  transform: translate(3px, -3px);
}

header.header.page-header .mobile-toggle.page-menu {
  display: none !important;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

header.header.page-header .mobile-toggle.page-menu svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 2.1 Standardized Mega-Menu (Consistent layout across Home and Inner templates) */
@media (min-width: 821px) {
  header.header.page-header .mega-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translate(-50%, 0);
    width: 980px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    z-index: 50;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
      radial-gradient(ellipse 55% 65% at 8% 0%, rgba(45, 217, 206, 0.12), transparent 65%),
      radial-gradient(ellipse 50% 60% at 96% 100%, rgba(244, 20, 99, 0.12), transparent 65%),
      rgba(19, 18, 32, 0.96);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow:
      0 28px 70px rgba(4, 3, 12, 0.62),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  header.header.page-header .mega-inner {
    display: grid;
    grid-template-columns: 500px minmax(370px, 1fr);
    gap: 24px;
    padding: 22px 24px;
    box-sizing: border-box;
  }

  header.header.page-header .mega-col-services {
    min-width: 0;
  }

  header.header.page-header .mega-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  header.header.page-header .mega-service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    text-decoration: none;
    min-width: 0;
  }

  header.header.page-header .mega-col-sectors {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
  }

  header.header.page-header .mega-sectors-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }

  header.header.page-header .mega-sector-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.035);
    color: #dcd8e8;
    font: 500 12px/1.2 'Inter', Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  }

  header.header.page-header .mega-sector-pill svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
}

@media (max-width: 1040px) and (min-width: 821px) {
  header.header.page-header .mega-panel {
    width: min(980px, calc(100% - 32px));
    max-width: calc(100% - 32px);
  }
  header.header.page-header .mega-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 1fr);
    gap: 18px;
    padding: 20px;
  }
  header.header.page-header .mega-col-sectors {
    padding-left: 16px;
  }
  header.header.page-header .mega-sector-pill {
    padding: 4px 8px;
    font-size: 11.5px;
  }
}

/* 3. Standardized Footer */
footer.footer.page-footer {
  padding: 54px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e0e17;
  color: #f5f3fa;
  font-family: 'Inter', Arial, sans-serif;
}

footer.footer.page-footer .wrap.page-wrap {
  width: min(1160px, calc(100% - 48px));
  max-width: 1160px;
  margin-inline: auto;
}

footer.footer.page-footer .footer-top.page-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 38px;
}

footer.footer.page-footer .footer-brand.page-footer-brand {
  max-width: 340px;
}

footer.footer.page-footer .footer-brand.page-footer-brand .brand.page-brand {
  display: inline-flex;
  align-items: center;
}

footer.footer.page-footer .footer-brand.page-footer-brand img.brand-logo.page-logo {
  display: block;
  width: 155px;
  height: auto;
  filter: brightness(0) invert(1);
}

footer.footer.page-footer .footer-brand.page-footer-brand p {
  max-width: 320px;
  margin: 16px 0 0;
  color: #c5c2ce;
  font-size: 15px;
  line-height: 1.65;
}

footer.footer.page-footer .footer-meta-legal {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #9e99ae;
}

footer.footer.page-footer .footer-links.page-footer-links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 52px;
  margin: 0;
}

footer.footer.page-footer .footer-col.page-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: #d1cdd9;
}

footer.footer.page-footer .footer-col.page-footer-col strong {
  margin-bottom: 4px;
  color: #43d8d1;
  font: 700 12px/1.2 'Jost', Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

footer.footer.page-footer .footer-col.page-footer-col a {
  color: #d1cdd9;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer.footer.page-footer .footer-col.page-footer-col a:hover {
  color: #ffffff;
}

footer.footer.page-footer .footer-col.page-footer-col .complaint-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

footer.footer.page-footer .footer-col.page-footer-col .complaint-link svg {
  width: 17px;
  height: 17px;
  color: #f41463;
  flex-shrink: 0;
}

footer.footer.page-footer .footer-bottom.page-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9e99ae;
  font-size: 14px;
  letter-spacing: 0;
}

/* 4. Responsive Header & Footer */
@media (max-width: 960px) {
  header.header.page-header .nav.page-nav {
    height: 82px;
    gap: 18px;
  }
  header.header.page-header .brand-logo.page-logo,
  header.header.page-header .brand.page-brand img {
    width: 140px;
  }
  header.header.page-header .nav-links.page-nav-links {
    gap: 18px;
    font-size: 15px;
  }
  header.header.page-header .nav-links.page-nav-links a.page-cta,
  header.header.page-header .nav-links.page-nav-links a.button {
    padding: 10px 16px;
    font-size: 14px;
  }
  footer.footer.page-footer .footer-links.page-footer-links {
    gap: 32px;
  }
}

@media (max-width: 782px) {
  body.admin-bar header.header.page-header {
    top: 88px;
  }
  body.admin-bar header.header.page-header.scrolled {
    top: 46px;
  }
}

@media (max-width: 820px) {
  aside.announcement,
  .announcement {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 10.5px;
    letter-spacing: 0.025em;
  }
  header.header.page-header {
    top: 42px;
  }
  header.header.page-header.scrolled {
    top: 0;
  }
  header.header.page-header .nav.page-nav {
    width: calc(100% - 36px);
    height: 72px;
  }
  header.header.page-header .brand-logo.page-logo,
  header.header.page-header .brand.page-brand img {
    width: 130px;
  }
  header.header.page-header .mobile-toggle.page-menu {
    display: grid !important;
  }
  header.header.page-header .nav-links.page-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 18px 20px;
    background: rgba(18, 17, 30, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
    max-height: calc(100dvh - 72px);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  header.header.page-header .nav-links.page-nav-links.open {
    display: flex;
  }
  header.header.page-header .nav-links.page-nav-links .menu-item {
    width: 100%;
  }
  header.header.page-header .nav-links.page-nav-links > a:not(.button):not(.page-cta),
  header.header.page-header .nav-links.page-nav-links .menu-item > a:not(.button):not(.page-cta) {
    width: 100%;
    padding: 12px 4px;
    font-size: 16px;
  }
  header.header.page-header .nav-links.page-nav-links a.page-cta,
  header.header.page-header .nav-links.page-nav-links a.button {
    width: 100%;
    margin-top: 10px;
  }

  /* Mobile Mega-Menu Accordion */
  header.header.page-header .nav-links.page-nav-links .menu-item.nav-mega,
  header.header.page-header .nav-links.page-nav-links .nav-mega {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    list-style: none;
  }

  header.header.page-header .nav-links.page-nav-links .nav-mega > a.mega-trigger,
  header.header.page-header .nav-links.page-nav-links .menu-item.nav-mega > a.mega-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 4px;
    color: #e6e2f0;
    font: 500 16px/1.2 'Inter', Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
  }

  header.header.page-header .nav-links.page-nav-links .nav-mega > a.mega-trigger:hover,
  header.header.page-header .nav-links.page-nav-links .nav-mega.is-open > a.mega-trigger,
  header.header.page-header .nav-links.page-nav-links .menu-item.nav-mega.is-open > a.mega-trigger {
    color: #43d8d1;
  }

  header.header.page-header .mega-chevron {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  header.header.page-header .nav-mega.is-open .mega-chevron,
  header.header.page-header .menu-item.nav-mega.is-open .mega-chevron {
    transform: rotate(180deg);
  }

  header.header.page-header .nav-links.page-nav-links .mega-panel {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    max-height: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid transparent;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    background: rgba(15, 14, 25, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease, border-color 0.25s ease;
  }

  header.header.page-header .nav-links.page-nav-links .mega-panel::before {
    display: none !important;
  }

  header.header.page-header .nav-links.page-nav-links .nav-mega.is-open > .mega-panel,
  header.header.page-header .nav-links.page-nav-links .menu-item.nav-mega.is-open > .mega-panel {
    max-height: 2500px;
    overflow: visible;
    border-color: rgba(255, 255, 255, 0.12);
    margin: 4px 0 12px;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  header.header.page-header .nav-links.page-nav-links .mega-inner {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  header.header.page-header .nav-links.page-nav-links .mega-col-services {
    width: 100%;
    min-width: 0;
  }

  header.header.page-header .nav-links.page-nav-links .mega-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--cyan, #43d8d1);
    font: 600 11.5px/1.2 'Jost', Arial, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  header.header.page-header .nav-links.page-nav-links .mega-heading svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    flex-shrink: 0;
  }

  header.header.page-header .nav-links.page-nav-links .mega-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  header.header.page-header .nav-links.page-nav-links .mega-service-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  header.header.page-header .nav-links.page-nav-links .mega-service-item:hover {
    background: rgba(67, 216, 209, 0.08);
    border-color: rgba(67, 216, 209, 0.3);
  }

  header.header.page-header .nav-links.page-nav-links .mega-service-item .mega-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(67, 216, 209, 0.12);
    border: 1px solid rgba(67, 216, 209, 0.24);
    color: var(--cyan, #43d8d1);
    flex-shrink: 0;
  }

  header.header.page-header .nav-links.page-nav-links .mega-service-item .mega-icon svg {
    width: 16px;
    height: 16px;
  }

  header.header.page-header .nav-links.page-nav-links .mega-service-copy strong {
    display: block;
    font: 600 13.5px/1.3 'Jost', Arial, sans-serif;
    color: #ffffff;
  }

  header.header.page-header .nav-links.page-nav-links .mega-service-copy small {
    display: block;
    margin-top: 2px;
    font: 400 11.5px/1.35 'Inter', Arial, sans-serif;
    color: #a7a3b3;
  }

  header.header.page-header .nav-links.page-nav-links .mega-col-sectors {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    min-width: 0;
  }

  header.header.page-header .nav-links.page-nav-links .mega-sectors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
  }

  header.header.page-header .nav-links.page-nav-links .mega-sector-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.035);
    color: #dcd8e8;
    font: 500 11.5px/1.2 'Inter', Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
  }

  header.header.page-header .nav-links.page-nav-links .mega-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.015);
  }

  header.header.page-header .nav-links.page-nav-links .mega-footer span {
    font: 400 11.5px/1.3 'Inter', Arial, sans-serif;
    color: #9d99a9;
  }

  header.header.page-header .nav-links.page-nav-links .mega-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cyan, #43d8d1);
    font: 600 12.5px/1.2 'Inter', Arial, sans-serif;
    text-decoration: none;
  }

  footer.footer.page-footer {
    padding: 44px 0 24px;
  }
  footer.footer.page-footer .wrap.page-wrap {
    width: calc(100% - 36px);
  }
  footer.footer.page-footer .footer-top.page-footer-top {
    flex-direction: column;
    gap: 32px;
    padding-bottom: 30px;
  }
  footer.footer.page-footer .footer-links.page-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    width: 100%;
  }
  footer.footer.page-footer .footer-bottom.page-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  body.admin-bar header.header.page-header.scrolled {
    top: 0;
  }
}

/* 5. Featured Post Radius & BorderGlow Safeguards */
.featured-post > .featured-art {
  border-radius: 15px 0 0 15px;
  overflow: hidden;
}
@media (max-width: 680px) {
  .featured-post > .featured-art {
    border-radius: 15px 15px 0 0;
  }
}

.glow-card,
.service-card,
.project-card,
.portfolio-cta,
.feature-card,
.highlight-banner,
.project-type-card,
.related-project-card,
.journal-card,
.featured-post,
.plugin-card,
.principle-card,
#servicios .service,
#proyectos .project,
.services-bridge .bridge-inner {
  isolation: isolate;
  overflow: visible !important;
}

.glow-card > .edge-light,
.service-card > .edge-light,
.project-card > .edge-light,
.portfolio-cta > .edge-light,
.feature-card > .edge-light,
.highlight-banner > .edge-light,
.project-type-card > .edge-light,
.related-project-card > .edge-light,
.journal-card > .edge-light,
.featured-post > .edge-light,
.plugin-card > .edge-light,
.principle-card > .edge-light {
  pointer-events: none;
  mix-blend-mode: plus-lighter;
}

.all-projects-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.all-projects-link:hover svg {
  transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
  header.header.page-header {
    transition: none;
  }
}

