/* ==========================================================================
   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%),
    #151423;
}

.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;
}

:root{--page-bg:#11111b;--page-panel:#191827;--page-panel-2:#201e30;--page-text:#f5f3fa;--page-muted:#c5c1cf;--page-line:rgba(255,255,255,.14);--page-pink:#dc1153;--page-cyan:#43d8d1;--page-max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px}body.page-body{margin:0;min-width:320px;overflow-x:clip;background:radial-gradient(ellipse 50% 36% at 0 12%,rgba(30,177,194,.11),transparent 72%),radial-gradient(ellipse 48% 32% at 100% 45%,rgba(119,66,180,.13),transparent 72%),var(--page-bg);color:var(--page-text);font:400 16px/1.7 'Inter',Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.page-wrap{width:min(var(--page-max),calc(100% - 56px));margin-inline:auto}.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 12px/1.35 'Jost',Arial,sans-serif;letter-spacing:.035em;text-transform:uppercase;text-wrap:balance}.announcement b{color:#ffe7a6;font-weight:700}.page-header{position:fixed;z-index:30;top:46px;left:0;right:0;background:transparent;border-bottom:1px solid transparent;transition:top .28s ease,background .28s ease,backdrop-filter .28s ease,border-color .28s ease}.page-header.scrolled{top:0;background:rgba(20,19,32,.8);border-color:rgba(255,255,255,.12);backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%)}.page-nav{height:96px;display:flex;align-items:center;justify-content:space-between;gap:28px}.page-brand img{display:block;width:158px;height:auto;filter:brightness(0) invert(1)}.page-nav-links{display:flex;align-items:center;gap:28px;color:#eeeaf5;font-size:16px;font-weight:500}.page-nav-links>a:not(.page-cta):hover,.page-nav-links>a[aria-current="page"]{color:var(--page-cyan)}.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,.45);border-radius:12px;background:linear-gradient(135deg,rgba(244,20,99,.22) 0%,rgba(238,53,167,.1) 100%);color:#fff;font-weight:700;white-space:nowrap;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(244,20,99,.18),inset 0 1px 0 rgba(255,255,255,.25);transition:transform .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease}.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,.4),0 0 20px rgba(238,53,167,.35);color:#fff}.page-cta svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}.page-cta:hover svg{transform:translate(3px,-3px)}.page-cta svg,.page-footer svg,.article-arrow svg,.breadcrumb svg,.form-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.page-menu,.mobile-toggle{display:none!important;width:44px;height:44px;place-items:center;border:1px solid var(--page-line);border-radius:9px;background:rgba(255,255,255,.04)!important;color:#fff!important;cursor:pointer;padding:0;outline:none;box-shadow:none}.page-menu svg,.mobile-toggle svg,.menu-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.page-main{min-height:60vh}.page-hero{padding:184px 0 76px}.eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;color:#f41463;font-family:'Inter',Arial,sans-serif;font-size:13.5px;font-weight:700;line-height:1.2;letter-spacing:.15em;text-transform:uppercase}.eyebrow:before{content:"";width:24px;height:1px;background:currentColor;flex-shrink:0}.page-title{max-width:1000px;margin:0;font:600 clamp(52px,7.5vw,88px)/.98 'Jost',Arial,sans-serif;letter-spacing:-.045em}.page-title em{color:var(--page-cyan);font-style:normal}.page-lede{max-width:720px;margin:22px 0 0;color:#d0cdd8;font-size:19px;line-height:1.75}.page-section{padding:72px 0 112px}.page-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:36px}.page-section-head h2{max-width:780px;margin:0;font:600 clamp(34px,4.7vw,56px)/1.04 'Jost',Arial,sans-serif;letter-spacing:-.035em}.page-section-head p:not(.eyebrow){max-width:440px;margin:0;color:var(--page-muted);font-size:17px}.text-link{display:inline-flex;align-items:center;gap:9px;color:var(--page-cyan);font-weight:600}.text-link:hover{color:#fff}.text-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.82fr);align-items:center;gap:70px}.about-copy p{max-width:65ch;color:#d0cdd8;font-size:17px;line-height:1.8}.about-photo{position:relative;display:grid;place-items:end center;min-height:540px;overflow:hidden;border:1px solid var(--page-line);border-radius:16px;background:radial-gradient(ellipse at 50% 42%,rgba(53,179,194,.2),transparent 55%),linear-gradient(150deg,#201d32,#151521)}.about-photo img{display:block;width:min(100%,460px);max-height:560px;object-fit:contain;object-position:center bottom}.about-photo figcaption{position:absolute;right:18px;bottom:18px;padding:9px 12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(17,17,27,.72);color:#f6f3fb;font-size:16px;backdrop-filter:blur(8px)}.about-photo-story{padding-top:20px}.about-story-heading{position:relative;display:grid;grid-template-columns:1.05fr .95fr;column-gap:7%;align-items:end;margin-bottom:34px}.about-story-heading .eyebrow{grid-column:1/-1;margin-bottom:14px}.about-story-heading h2{max-width:720px;margin:0;font:600 clamp(38px,5vw,62px)/1.02 Jost,Arial,sans-serif;letter-spacing:-.04em}.about-story-heading h2 em{color:var(--page-cyan);font-style:normal}.about-story-heading>p:last-child{max-width:420px;margin:0 0 5px;color:var(--page-muted);font-size:17px}.about-photo-grid{display:grid;grid-template-columns:1.08fr .92fr;grid-template-rows:250px 250px;gap:14px}.about-story-photo{position:relative;min-width:0;min-height:0;margin:0;overflow:hidden;background:var(--page-panel)}.about-story-photo-tall{grid-row:1/3}.about-story-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.75,.25,1),filter .4s ease}.about-story-photo-tall img{object-position:center 33%}.about-story-photo-wide img{object-position:center 38%}.about-story-photo-detail img{object-position:center 28%}.about-story-photo:after{position:absolute;inset:45% 0 0;content:"";pointer-events:none;background:linear-gradient(transparent,rgba(17,17,27,.78))}.about-story-photo:before{position:absolute;z-index:1;inset:0;content:"";pointer-events:none;border:1px solid rgba(67,216,209,.22);transition:border-color .3s ease}.about-story-photo:hover img{transform:scale(1.035);filter:saturate(1.06)}.about-story-photo:hover:before{border-color:var(--page-pink)}.about-photo-index{position:absolute;z-index:2;right:16px;bottom:14px;left:16px;display:flex;align-items:center;gap:9px;color:#fff;font:600 16px/1.3 Inter,Arial,sans-serif;letter-spacing:.07em}.about-photo-index i{width:24px;height:1px;background:var(--page-pink)}.proof-strip{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--page-line)}.proof-strip a{min-height:100px;display:grid;place-items:center;padding:18px;border-right:1px solid var(--page-line);color:#dad6e3;font:600 19px 'Jost',Arial,sans-serif;text-align:center}.proof-strip a:last-child{border-right:0}.proof-strip a:hover{color:var(--page-cyan)}.values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.value-item{padding:20px 0;border-top:1px solid rgba(67,216,209,.48)}.value-item h3{margin:0 0 9px;font:600 24px/1.15 'Jost',Arial,sans-serif}.value-item p{margin:0;color:var(--page-muted);font-size:16px}
.blog-hero{padding-bottom:50px}.featured-post{display:grid;grid-template-columns:1.05fr .95fr;min-height:420px;overflow:hidden;border:1px solid var(--page-line);border-radius:16px;background:var(--page-panel)}.featured-art,.post-art{position:relative;overflow:hidden;min-height:100%;background:#211d35}.featured-art img,.post-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.featured-post:hover .featured-art img,.post-card:hover .post-art img{transform:scale(1.035)}.featured-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(28px,5vw,64px)}.post-meta{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;color:#cbc7d3;font-size:14px}.post-category{color:#f41463;font-weight:700;text-transform:uppercase;letter-spacing:.09em}.post-read-time{display:inline-flex;align-items:center;gap:6px;color:#a9a4b8;font-size:13px;font-weight:500;white-space:nowrap}.post-read-time svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.8}.featured-copy h2{margin:18px 0 12px;font:600 clamp(34px,4.5vw,54px)/1.05 'Jost',Arial,sans-serif;letter-spacing:-.035em}.featured-copy p,.post-card-copy p{margin:0;color:var(--page-muted);font-size:16px;line-height:1.7}.article-arrow{display:inline-flex;align-items:center;gap:9px;margin-top:23px;color:#fff;font-weight:600}.article-arrow svg{color:var(--page-pink)}.blog-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.blog-filters{display:flex;flex-wrap:wrap;gap:10px}.blog-filter{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 17px;border:1px solid var(--page-line);border-radius:999px;background:rgba(255,255,255,.035);color:#e9e6f0;font:500 15px 'Inter',Arial,sans-serif;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}.blog-filter svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;transition:transform .2s ease}.blog-filter:hover{transform:translateY(-1px);border-color:rgba(72,216,209,.65);background:rgba(72,216,209,.1);color:var(--page-cyan)}.blog-filter:hover svg{transform:scale(1.1)}.blog-filter[aria-pressed="true"]{border-color:#35ded5;background:linear-gradient(135deg,rgba(45,217,206,.22) 0%,rgba(45,217,206,.08) 100%);color:#3bf1e8;box-shadow:0 0 0 1px rgba(53,222,213,.4),0 0 16px rgba(45,217,206,.5),0 0 32px rgba(45,217,206,.28),inset 0 1px 0 rgba(255,255,255,.35)}.blog-filter[aria-pressed="true"] svg{filter:drop-shadow(0 0 6px rgba(45,217,206,.75))}.blog-search{width:min(100%,310px);min-height:46px;padding:10px 14px;border:1px solid var(--page-line);border-radius:9px;background:rgba(255,255,255,.04);color:#fff}.blog-search::placeholder{color:#aaa6b5}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{min-width:0;min-height:100%;overflow:hidden;border:1px solid var(--page-line);border-radius:13px;background:linear-gradient(150deg,rgba(34,32,49,.96),rgba(21,20,31,.98));transition:transform .25s ease,border-color .25s ease}.post-card:hover{transform:translateY(-4px);border-color:rgba(67,216,209,.5)}.post-card>a{display:flex;height:100%;flex-direction:column}.post-art{aspect-ratio:1.55;min-height:0}.post-card-copy{display:flex;flex:1;flex-direction:column;padding:20px}.post-card-copy h3{margin:11px 0 10px;font:600 25px/1.13 'Jost',Arial,sans-serif;letter-spacing:-.02em}.post-card-copy .article-arrow{margin-top:auto;padding-top:18px;font-size:16px}.no-posts{padding:36px 0;color:var(--page-muted)}
.article-hero{padding-bottom:42px}.article-hero .page-title{max-width:900px;font-size:clamp(44px,6.7vw,78px)}.article-layout{display:grid;grid-template-columns:230px minmax(0,720px);justify-content:space-between;gap:60px}.article-toc{position:sticky;top:124px;align-self:start;padding:18px 0;border-top:1px solid var(--page-line)}.article-toc strong{display:block;margin-bottom:12px;color:#fff;font:600 17px 'Jost',Arial,sans-serif}.article-toc a{display:block;padding:7px 0;color:#bbb7c5;font-size:16px}.article-toc a:hover{color:var(--page-cyan)}.article-content{max-width:72ch;color:#d3cfdb;font-size:18px;line-height:1.85}.article-content h2{margin:44px 0 13px;color:#fff;font:600 32px/1.12 'Jost',Arial,sans-serif}.article-content p{margin:0 0 20px}.article-content ul{padding-left:23px;margin:0 0 24px}.article-content li{padding-left:5px;margin:7px 0}.article-content a{color:var(--page-cyan);text-decoration:underline;text-underline-offset:3px}.article-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--page-line);border-radius:13px;margin:34px 0}.article-back{display:inline-flex;align-items:center;gap:9px;margin-top:45px;color:#fff}
.legal-hero{padding-bottom:44px}.legal-meta{margin:17px 0 0;color:#aca8b7;font-size:16px}.legal-note{max-width:920px;margin:24px 0 0;padding:18px 20px;border:1px solid rgba(244,20,99,.4);border-radius:10px;background:rgba(244,20,99,.08);color:#e4dce5;font-size:16px}.legal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:56px;align-items:start;padding-top:10px;padding-bottom:110px}.legal-index{position:sticky;top:124px;align-self:start;padding:20px 0;border-top:1px solid var(--page-line)}.legal-index strong{display:block;margin-bottom:14px;color:#fff;font:600 18px 'Jost',Arial,sans-serif}.legal-index a{display:block;padding:7px 0;color:#c4c0cd;font-size:16px;line-height:1.4}.legal-index a:hover,.legal-index a[aria-current="location"]{color:var(--page-cyan)}.legal-content{min-width:0}.legal-content details{border-top:1px solid var(--page-line);scroll-margin-top:120px}.legal-content details:last-child{border-bottom:1px solid var(--page-line)}.legal-content summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 4px;list-style:none;color:#fff;font:600 22px/1.25 'Jost',Arial,sans-serif;cursor:pointer}.legal-content summary::-webkit-details-marker{display:none}.legal-content summary:after{content:none}.legal-toggle-icon{position:relative;display:block;flex:0 0 34px;width:34px;height:34px;box-sizing:border-box;border:1px solid rgba(67,216,209,.42);border-radius:50%;background:linear-gradient(135deg,rgba(67,216,209,.18) 0%,rgba(67,216,209,.05) 100%);color:var(--page-cyan);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 2px 8px rgba(0,0,0,.3),0 0 12px rgba(67,216,209,.18);transition:transform .28s ease,border-color .28s ease,background .28s ease,color .28s ease,box-shadow .28s ease}.legal-toggle-icon:before,.legal-toggle-icon:after{position:absolute;top:50%;left:50%;width:12px;height:1.6px;border-radius:2px;background:currentColor;content:"";transform:translate(-50%,-50%);transition:opacity .24s ease,transform .32s cubic-bezier(.16,1,.3,1)}.legal-toggle-icon:after{transform:translate(-50%,-50%) rotate(90deg)}.legal-content summary:hover .legal-toggle-icon{transform:scale(1.08);border-color:rgba(67,216,209,.75);background:linear-gradient(135deg,rgba(67,216,209,.28) 0%,rgba(67,216,209,.1) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 18px rgba(67,216,209,.45),0 4px 14px rgba(0,0,0,.4)}.legal-content details[open] .legal-toggle-icon{color:var(--page-pink);border-color:rgba(244,20,99,.65);background:linear-gradient(135deg,rgba(244,20,99,.36) 0%,rgba(244,20,99,.14) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 2px 10px rgba(0,0,0,.35),0 0 18px rgba(244,20,99,.45),0 0 32px rgba(244,20,99,.2)}.legal-content details[open] summary:hover .legal-toggle-icon{transform:scale(1.08);border-color:rgba(244,20,99,.9);background:linear-gradient(135deg,rgba(244,20,99,.5) 0%,rgba(244,20,99,.22) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 0 24px rgba(244,20,99,.65),0 4px 16px rgba(0,0,0,.45)}.legal-content details[open] .legal-toggle-icon:after{opacity:0;transform:translate(-50%,-50%) rotate(90deg) scaleY(.1)}.legal-copy{max-width:75ch;padding:0 40px 22px 4px;color:#cbc7d3;font-size:16px;line-height:1.8;overflow:hidden;transition:opacity .28s ease,translate .28s ease}.legal-content details:not([open]) .legal-copy{display:none}.legal-content details[open] .legal-copy{animation:legal-panel-in .42s cubic-bezier(.16,1,.3,1) both}@keyframes legal-panel-in{from{opacity:0;translate:0 -3px}to{opacity:1;translate:0 0}}.legal-copy p{margin:0 0 14px}.legal-copy ul{margin:0 0 16px;padding-left:23px}.legal-copy li{margin:7px 0}.legal-copy strong{color:#fff}.legal-copy a{color:var(--page-cyan);text-decoration:underline;text-underline-offset:3px}.legal-copy .placeholder{color:#ffe7a6;font-weight:600}
.complaint-hero{padding-bottom:48px}.complaint-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:34px;padding-bottom:112px}.complaint-form,.complaint-aside{border:1px solid var(--page-line);border-radius:14px;background:rgba(25,24,39,.78)}.complaint-form{padding:clamp(22px,4vw,42px)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{min-width:0}.field.wide{grid-column:1/-1}.field label{display:block;margin-bottom:7px;color:#f4f1f8;font-weight:600}.field input,.field select,.field textarea{width:100%;min-height:48px;padding:11px 13px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:#11111b;color:#fff;outline:none}.field textarea{min-height:142px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--page-cyan);box-shadow:0 0 0 3px rgba(67,216,209,.14)}.field small{display:block;margin-top:5px;color:#aaa6b4;font-size:16px}.consent-line{display:flex;align-items:flex-start;gap:10px;margin:20px 0;color:#cbc7d3;font-size:16px}.consent-line input{margin-top:6px;accent-color:var(--page-pink)}.complaint-aside{position:sticky;top:124px;padding:24px}.complaint-aside h2{margin:0 0 13px;font:600 24px 'Jost',Arial,sans-serif}.complaint-aside p,.complaint-aside li{color:#c4c0cd;font-size:16px;line-height:1.7}.complaint-aside ul{padding-left:20px}.complaint-alert{margin-bottom:20px;padding:15px;border:1px solid rgba(255,231,166,.35);border-radius:8px;background:rgba(255,231,166,.07);color:#f1e5c0;font-size:16px;line-height:1.6}.form-result{margin-top:18px;color:#b9f1ec;font-size:16px}
.page-footer{padding:48px 0 24px;border-top:1px solid var(--page-line);background:#0e0e17}.page-footer-top{display:flex;justify-content:space-between;gap:50px;padding-bottom:38px}.page-footer-brand img{display:block;width:155px;height:auto;filter:brightness(0) invert(1)}.page-footer-brand p{max-width:330px;margin:18px 0 0;color:#c5c2ce;font-size:16px}.page-footer-links{display:grid;grid-template-columns:repeat(3,max-content);gap:54px}.page-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:#d1cdd9;font-size:16px}.page-footer-col strong{margin-bottom:5px;color:var(--page-cyan);font:600 15px 'Jost',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}.page-footer-col a:hover{color:#fff}.complaint-link{display:inline-flex;align-items:center;gap:9px}.complaint-link svg{color:var(--page-pink)}.page-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:19px;border-top:1px solid var(--page-line);color:#a9a5b3;font-size:16px}.page-footer-bottom nav{display:flex;flex-wrap:wrap;gap:18px}.page-footer-bottom a:hover{color:#fff}
:focus-visible{outline:2px solid var(--page-cyan);outline-offset:4px}::selection{background:rgba(244,20,99,.72);color:#fff}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;z-index:60;top:-70px;left:16px;padding:10px 14px;border-radius:7px;background:#fff;color:#11111b;font-weight:700}.skip-link:focus{top:12px}
@media(max-width:900px){.page-nav{height:82px}.page-brand img{width:140px}.page-nav-links{gap:16px;font-size:16px}.page-cta{padding:10px 13px}.about-grid{gap:38px}.about-photo{min-height:460px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-post{min-height:350px}.legal-layout{grid-template-columns:205px minmax(0,1fr);gap:34px}.complaint-layout{grid-template-columns:minmax(0,1fr) 285px;gap:22px}.page-footer-links{gap:30px}}
@media(max-width:680px){.page-wrap{width:calc(100% - 36px)}.announcement{min-height:42px;padding:8px 12px;font-size:10px;letter-spacing:.02em}.page-header{top:42px}.page-header.scrolled{top:0}.page-nav{height:72px}.page-brand img{width:126px}.page-menu,.mobile-toggle{display:grid!important}.page-nav-links{display:none;position:absolute;top:100%;left:0;right:0;align-items:stretch;gap:0;padding:10px 18px 18px;border-bottom:1px solid var(--page-line);background:rgba(20,19,32,.97);backdrop-filter:blur(18px)}.page-nav-links.open{display:flex;flex-direction:column}.page-nav-links>a:not(.page-cta){padding:12px 3px}.page-nav-links .page-cta{margin-top:8px}.page-hero{padding:150px 0 54px}.page-title{font-size:clamp(46px,13vw,68px)}.page-lede{font-size:17px}.page-section{padding:55px 0 76px}.page-section-head{align-items:flex-start;flex-direction:column;gap:15px}.page-section-head p{font-size:16px}.about-grid{grid-template-columns:1fr;gap:30px}.about-story-heading{grid-template-columns:1fr;gap:15px;margin-bottom:24px}.about-story-heading .eyebrow{margin:0}.about-story-heading>p:last-child{max-width:560px}.about-photo-grid{grid-template-columns:1fr 1fr;grid-template-rows:220px 170px;gap:10px}.about-story-photo-tall{grid-row:1/3}.about-story-photo-wide{grid-column:2;grid-row:1}.about-story-photo-detail{grid-column:2;grid-row:2}.about-photo-index{right:10px;bottom:10px;left:10px;gap:6px;font-size:12px;letter-spacing:.04em}.about-photo-index i{width:15px}.about-photo{min-height:410px}.about-photo img{max-height:440px}.proof-strip{grid-template-columns:1fr 1fr}.proof-strip a{min-height:80px;border-bottom:1px solid var(--page-line)}.proof-strip a:nth-child(2){border-right:0}.proof-strip a:nth-child(n+3){border-bottom:0}.values-grid{grid-template-columns:1fr;gap:12px}.blog-hero{padding-bottom:36px}.featured-post{grid-template-columns:1fr}.featured-art{aspect-ratio:16/10;min-height:0}.featured-copy{padding:24px}.featured-copy h2{font-size:35px}.blog-tools{align-items:stretch;flex-direction:column}.blog-search{width:100%}.post-grid{grid-template-columns:1fr}.post-art{aspect-ratio:16/9}.article-hero{padding-bottom:32px}.article-layout{grid-template-columns:1fr;gap:26px}.article-toc{position:relative;top:auto;padding:14px 0}.article-content{font-size:17px}.article-content h2{font-size:28px}.legal-hero{padding-bottom:30px}.legal-layout{grid-template-columns:1fr;gap:20px;padding-bottom:76px}.legal-index{position:relative;top:auto;padding:14px 0}.legal-index nav{display:flex;gap:8px;overflow:auto;padding-bottom:5px}.legal-index nav a{flex:0 0 auto;padding:6px 12px 6px 0;border:0;border-radius:0;background:transparent;color:#b5b1c0;font-size:15px}.legal-content summary{font-size:20px}.legal-copy{padding-right:4px}.complaint-hero{padding-bottom:32px}.complaint-layout{grid-template-columns:1fr;padding-bottom:76px}.complaint-aside{position:relative;top:auto;grid-row:1}.form-grid{grid-template-columns:1fr;gap:14px}.field.wide{grid-column:auto}.page-footer-top{flex-direction:column;gap:30px}.page-footer-links{grid-template-columns:1fr 1fr;gap:25px}.page-footer-bottom{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto;transition:none!important;animation:none!important}}




/* Sobre mí: misma retícula editorial, superficies y acentos que index.html */
.about-page-section{padding:82px 0 96px;background:radial-gradient(ellipse 48% 62% at 12% 50%,rgba(42,216,207,.07),transparent 72%),#171622;color:var(--page-text)}
.about-page-section .about-grid{grid-template-columns:.92fr 1.08fr;gap:clamp(38px,7vw,82px)}
.about-page-photo{height:500px;min-height:0;margin:0;overflow:hidden;border:0;border-radius:12px;background:#211d35}
.about-page-photo img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 28%;filter:saturate(.86)}
.about-page-photo:after{position:absolute;inset:55% 0 0;content:"";background:linear-gradient(transparent,rgba(12,11,20,.78));pointer-events:none}
.about-page-photo figcaption{z-index:1;right:auto;left:22px;bottom:20px;display:grid;gap:2px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;font:600 20px/1.2 Jost,Arial,sans-serif;backdrop-filter:none}
.about-page-photo figcaption span{color:#c7c3d1;font:400 16px/1.5 Inter,Arial,sans-serif}
.about-page-copy .eyebrow,.about-section-heading .eyebrow{margin-bottom:14px;color:#f41463}
.about-page-copy h2{margin:0 0 22px;font:600 clamp(42px,5.2vw,64px)/1.02 Jost,Arial,sans-serif;letter-spacing:-.055em}
.about-page-copy h2 em,.about-section-heading h2 em{color:var(--page-cyan);font-style:normal}
.about-page-copy>p:not(.eyebrow){max-width:58ch;color:#c5c1cf;font-size:17px;line-height:1.75}
.about-page-copy .about-points{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;margin:30px 0}
.about-page-copy .point{padding-top:13px;border-color:rgba(255,255,255,.2)}
.about-page-copy .point strong{display:block;color:#f5f3fa;font:600 17px/1.35 Jost,Arial,sans-serif}
.about-page-copy .point span{display:block;margin-top:4px;color:#aaa6b7;font-size:16px;line-height:1.45}
.about-page-copy .text-link{color:#f5f3fa;border-color:rgba(255,255,255,.4);font-size:16px}
.about-page-copy .text-link svg,.about-all-work svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.about-work-section{padding:100px 0 108px;background:#11111b;color:var(--page-text)}
.about-section-heading{grid-template-columns:1.08fr .92fr;gap:7%;align-items:end;margin-bottom:38px}
.about-section-heading h2{font:600 clamp(38px,5vw,60px)/1.04 Jost,Arial,sans-serif;letter-spacing:-.05em}
.about-section-heading .section-intro{max-width:440px;margin:0 0 4px;color:#c5c1cf;font-size:17px}
.about-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.about-work-card{position:relative;display:block;min-width:0;aspect-ratio:1.12;overflow:hidden;border-radius:11px;background:#201e30}
.about-work-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.75,.25,1)}
.about-work-card:nth-child(2) img{object-position:center 28%}
.about-work-card:hover img{transform:scale(1.045)}
.about-work-card:after{position:absolute;inset:42% 0 0;content:"";background:linear-gradient(transparent,rgba(10,9,17,.85));pointer-events:none}
.about-work-meta{position:absolute;z-index:1;right:18px;bottom:17px;left:18px;display:flex;align-items:end;justify-content:space-between;gap:12px;color:#fff}
.about-work-meta>span{display:grid;gap:4px}
.about-work-meta strong{font:600 25px/1.15 Jost,Arial,sans-serif}
.about-work-meta small{color:#e0dce7;font:500 16px/1.4 Inter,Arial,sans-serif}
.about-work-meta svg{flex:0 0 42px;width:42px;height:42px;padding:10px;border:1px solid rgba(45,217,206,.45);border-radius:50%;background:linear-gradient(135deg,rgba(45,217,206,.22) 0%,rgba(45,217,206,.08) 100%);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#2dd9ce;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 4px 16px rgba(0,0,0,.3);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s ease,background .28s ease,border-color .28s ease,box-shadow .28s ease,color .28s ease}
.about-work-card:hover .about-work-meta svg{background:linear-gradient(135deg,rgba(45,217,206,.45) 0%,rgba(45,217,206,.18) 100%);border-color:rgba(45,217,206,.85);color:#fff;transform:scale(1.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 0 12px rgba(45,217,206,.3),0 0 24px rgba(45,217,206,.5),0 8px 24px rgba(0,0,0,.35)}
.about-all-work{margin-top:27px;color:var(--page-cyan);font-size:16px}
.about-approach-section{padding:93px 0 112px;background:linear-gradient(180deg,#211d39 0%,#191727 100%);color:#fff}
.about-approach-section .about-section-heading{margin-bottom:39px}
.about-approach-list{border-top:1px solid rgba(255,255,255,.2)}
.about-approach-list article{display:grid;grid-template-columns:70px minmax(0,1fr) 34px;align-items:center;gap:24px;padding:23px 4px;border-bottom:1px solid rgba(255,255,255,.2);transition:padding .25s ease,color .25s ease}
.about-approach-list article:hover{padding-inline:12px;color:var(--page-cyan)}
.about-approach-list article>span{color:var(--page-cyan);font:600 16px Inter,Arial,sans-serif;letter-spacing:.08em}
.about-approach-list h3{margin:0 0 4px;color:#fff;font:600 23px/1.2 Jost,Arial,sans-serif}
.about-approach-list p{margin:0;color:#c5c1cf;font-size:16px;line-height:1.55}
.about-approach-list svg{width:24px;height:24px;fill:none;stroke:var(--page-cyan);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.about-page-section .about-grid{gap:38px}.about-page-photo{height:450px}.about-section-heading{grid-template-columns:1fr;gap:18px}.about-work-card{aspect-ratio:.92}}
@media(max-width:680px){.about-page-section{padding:58px 0 68px}.about-page-section .about-grid{grid-template-columns:1fr;gap:30px}.about-page-photo{height:min(112vw,450px)}.about-page-copy h2{font-size:46px}.about-page-copy .about-points{gap:15px 18px}.about-work-section,.about-approach-section{padding:65px 0 76px}.about-section-heading{gap:14px;margin-bottom:27px}.about-section-heading h2{font-size:42px}.about-section-heading .section-intro{font-size:16px}.about-work-grid{grid-template-columns:1fr;gap:12px}.about-work-card{aspect-ratio:1.3}.about-approach-list article{grid-template-columns:38px minmax(0,1fr) 26px;gap:12px;padding:19px 1px}.about-approach-list h3{font-size:20px}.about-approach-list article:hover{padding-inline:4px}}
@media(prefers-reduced-motion:reduce){.about-work-card img,.about-approach-list article{transition:none}}

/* Cierre de artículo y lecturas relacionadas */
.article-layout{padding-bottom:64px}
.article-content{padding-bottom:28px}
.article-related{padding:62px 0 52px;border-top:1px solid var(--page-line);background:radial-gradient(ellipse 55% 100% at 100% 20%,rgba(119,66,180,.09),transparent 72%),rgba(25,24,39,.35)}
.article-related-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}
.article-related-head .eyebrow{margin-bottom:12px}
.article-related-head h2{margin:0;font:600 clamp(34px,4.5vw,52px)/1.05 Jost,Arial,sans-serif;letter-spacing:-.04em}
.article-related-head h2 em{color:var(--page-cyan);font-style:normal}
.article-related-head .text-link{flex:0 0 auto;color:#fff;font-size:16px}
.article-related-head .text-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.article-related .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.article-related .post-card{background:rgba(17,17,27,.76)}
.article-end{padding-top:0;padding-bottom:84px}
.article-back{margin-top:0;padding:12px 0;color:#d7d3e1;font-size:16px;transition:color .2s ease}
.article-back:hover{color:var(--page-cyan)}
.article-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.article-related .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-related .post-card:last-child:nth-child(odd){display:none}}
@media(max-width:680px){.article-layout{padding-bottom:40px}.article-content{padding-bottom:18px}.article-related{padding:45px 0 38px}.article-related-head{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:21px}.article-related-head h2{font-size:38px}.article-related .post-grid{grid-template-columns:1fr}.article-related .post-card:last-child:nth-child(odd){display:block}.article-end{padding-bottom:60px}}

/* Cotización de proyectos */
.contact-hero{padding-bottom:46px}
.contact-hero .page-title{max-width:920px}
.contact-hero .page-lede{max-width:760px}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);align-items:start;gap:28px;padding-bottom:112px}
.contact-form,.contact-aside{border:1px solid var(--page-line);border-radius:14px;background:linear-gradient(145deg,rgba(31,29,48,.94),rgba(19,18,29,.94))}
.contact-form{padding:clamp(24px,4.5vw,48px)}
.contact-form-heading{margin-bottom:28px}
.contact-form-heading>span{display:flex;align-items:center;gap:10px;color:#d8d3e1;font:600 16px Inter,Arial,sans-serif;letter-spacing:.09em}
.contact-form-heading>span i{width:22px;height:1px;background:var(--page-pink)}
.contact-form-heading h2{margin:17px 0 8px;font:600 clamp(32px,4vw,42px)/1.08 Jost,Arial,sans-serif;letter-spacing:-.035em}
.contact-form-heading h2 em,.contact-aside h2 em{color:var(--page-cyan);font-style:normal}
.contact-form-heading p{margin:0;color:var(--page-muted);font-size:16px}
.contact-form .form-grid{gap:18px 16px}
.contact-form .field label{font-size:16px}
.contact-form .field input,.contact-form .field select,.contact-form .field textarea{border-color:rgba(255,255,255,.18);background:rgba(12,12,20,.82)}
.contact-form .field input::placeholder,.contact-form .field textarea::placeholder{color:#858192}
.contact-form .field select:invalid{color:#aaa6b4}
.contact-form .field option{background:#191827;color:#f5f3fa}
.contact-form .field textarea{min-height:170px}
.contact-form .field small{color:#a9a5b4}
.contact-consent{margin:24px 0 20px!important}
.contact-consent a{color:var(--page-cyan);text-decoration:underline;text-underline-offset:3px}
.contact-submit{min-width:190px;cursor:pointer}
.contact-aside{position:sticky;top:124px;padding:28px}
.contact-aside-mark{display:grid;place-items:center;width:50px;height:50px;margin-bottom:24px;border:1px solid rgba(67,216,209,.35);border-radius:12px;background:rgba(67,216,209,.08);color:var(--page-cyan)}
.contact-aside-mark svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.contact-aside .eyebrow{margin-bottom:12px}
.contact-aside h2{margin:0 0 13px;font:600 30px/1.08 Jost,Arial,sans-serif;letter-spacing:-.03em}
.contact-aside>p:not(.eyebrow){margin:0;color:var(--page-muted);font-size:16px;line-height:1.7}
.contact-aside ol{display:grid;gap:15px;margin:25px 0;padding:21px 0;border-block:1px solid var(--page-line);list-style:none}
.contact-aside li{display:flex;align-items:center;gap:12px;color:#eeeaf5;font-size:16px}
.contact-aside li span{color:var(--page-cyan);font:600 14px Inter,Arial,sans-serif;letter-spacing:.06em}
.contact-note{padding:15px;border-left:2px solid var(--page-pink);background:rgba(220,17,83,.07);color:#d1cbd8;font-size:16px;line-height:1.6}
.contact-email{display:block;margin-top:24px;color:#bdb8c7;font-size:16px;line-height:1.6}
.contact-email strong{color:#fff;font-weight:600}
.contact-email:hover strong{color:var(--page-cyan)}
@media(max-width:900px){.contact-layout{grid-template-columns:minmax(0,1fr) 285px;gap:18px}.contact-aside{padding:22px}.contact-aside h2{font-size:26px}}
@media(max-width:680px){.contact-hero{padding-bottom:30px}.contact-layout{grid-template-columns:1fr;padding-bottom:76px}.contact-aside{position:relative;top:auto;grid-row:1}.contact-aside-mark{margin-bottom:17px}.contact-aside ol{grid-template-columns:1fr;gap:10px;margin:19px 0;padding:17px 0}.contact-form{padding:22px 18px}.contact-form-heading{margin-bottom:23px}.contact-form .form-grid{grid-template-columns:1fr;gap:14px}.contact-form .field.wide{grid-column:auto}.contact-form .field textarea{min-height:150px}.contact-submit{width:100%}}

/* WordPress menu list normalization for the shared HTML header. */
.page-nav-links .menu-item{list-style:none}
.page-nav-links .menu-item>a{display:block}
@media(max-width:680px){.page-nav-links .menu-item>a{padding:12px 3px}}

/* ==========================================================================
   Primary Post Loop Card (.journal-card & .journal-grid)
   ========================================================================== */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 16px 4px;
}
.journal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, #181728, #131221);
  color: #f5f3fa;
  transition: transform 0.24s, border-color 0.24s, box-shadow 0.24s;
  text-decoration: none;
}
.journal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 210, 205, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 28px rgba(45, 217, 206, 0.1);
}
.journal-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  background: #232136;
  flex-shrink: 0;
}
.journal-image:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(12, 11, 19, 0.4));
  pointer-events: none;
}
.journal-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
}
.journal-card:hover .journal-image img {
  transform: scale(1.045);
  filter: saturate(1.08);
}
.journal-category {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(17, 17, 27, 0.88);
  color: #57ded6;
  font: 700 9.5px 'Inter', Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.journal-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.journal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-bottom: 2px;
}
.journal-kicker {
  color: #f41463;
  font: 700 12px/1.3 'Inter', Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.journal-read-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a9a4b8;
  font: 500 12px/1.3 'Inter', Arial, sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.journal-read-time svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}
.journal-copy h3 {
  min-height: 58px;
  margin: 10px 0 0;
  color: #f5f3fa;
  font: 600 22px/1.2 'Jost', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.journal-read {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #43d8d1;
  font: 600 15px 'Inter', Arial, sans-serif;
  transition: color 0.2s ease, gap 0.2s ease;
}
.journal-card:hover .journal-read {
  color: #5df6ee;
  gap: 11px;
}
.journal-read svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media(max-width: 850px) {
  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media(max-width: 620px) {
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .journal-image {
    aspect-ratio: 16/9;
  }
  .journal-copy h3 {
    min-height: 0;
    font-size: 21px;
  }
  .journal-copy {
    padding: 18px;
  }
}

/* Border Glow en .journal-card (React Bits) */
.journal-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --border-radius: 16px;
  --glow-padding: 34px;
  --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%, #ee35a7 0, transparent 50%);
  --gradient-base: linear-gradient(135deg, #2dd9ce 0%, #8b59ed 50%, #ee35a7 100%);
  position: relative;
  isolation: isolate;
  overflow: visible!important;
  border: 1px solid rgba(255, 255, 255, 0.13)!important;
  border-radius: var(--border-radius)!important;
  background-color: var(--card-bg)!important;
  transform: translate3d(0, 0, 0.01px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.journal-card > :not(.edge-light) {
  position: relative;
  z-index: 2;
}
.journal-card::before,
.journal-card > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}
.journal-card::before {
  z-index: 1;
  border: 1px 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%));
}
.journal-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;
}
.journal-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);
}
.journal-card:not(:hover)::before,
.journal-card:not(:hover) > .edge-light {
  opacity: 0;
  transition: opacity 0.65s ease;
}
@media(prefers-reduced-motion:reduce){
  .journal-card,
  .journal-image img,
  .journal-card::before,
  .journal-card > .edge-light {
    transition: none!important;
    animation: none!important;
  }
}

/* Artículo destacado: CTA verde y borde luminoso */
.featured-post {
  border-color: rgba(67, 216, 209, 0.46);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(67, 216, 209, 0.08),
    0 0 22px rgba(67, 216, 209, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}
.featured-post:hover {
  border-color: rgba(93, 246, 238, 0.82);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(93, 246, 238, 0.16),
    0 0 16px rgba(67, 216, 209, 0.24),
    0 0 38px rgba(67, 216, 209, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.article-arrow {
  color: #43d8d1;
  transition: color 0.2s ease, gap 0.2s ease, text-shadow 0.2s ease;
}
.article-arrow svg {
  color: currentColor;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.article-arrow:hover {
  gap: 12px;
  color: #5df6ee;
  text-shadow: 0 0 14px rgba(93, 246, 238, 0.28);
}
.article-arrow:hover svg {
  transform: translate(2px, -2px);
  filter: drop-shadow(0 0 6px rgba(93, 246, 238, 0.45));
}
@media(prefers-reduced-motion:reduce) {
  .featured-post,
  .article-arrow,
  .article-arrow svg {
    transition: none!important;
  }
}

/* ==========================================================================
   Code Blocks & Prism.js Syntax Highlighting
   ========================================================================== */
.code-block-wrap {
  position: relative;
  margin: 28px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #131222;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}

.code-block-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-block-lang {
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--page-cyan, #43d8d1);
  text-transform: uppercase;
}

.code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #c9c5d5;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.code-copy-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.code-copy-btn:hover {
  background: rgba(67, 216, 209, 0.12);
  border-color: rgba(67, 216, 209, 0.4);
  color: #fff;
}

.code-copy-btn.copied {
  background: rgba(67, 216, 209, 0.2);
  border-color: #43d8d1;
  color: #43d8d1;
}

/* Base Pre & Code in Article Content */
.article-content pre,
.article-content pre[class*="language-"],
.article-content .wp-block-code {
  margin: 0 !important;
  padding: 18px 20px !important;
  background: #131222 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: #eae7f2 !important;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: rgba(67, 216, 209, 0.3) rgba(255, 255, 255, 0.04);
}

.article-content > pre:not(.wp-block-code) {
  margin: 28px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
}

.article-content pre code,
.article-content pre[class*="language-"] code {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  white-space: pre !important;
  word-spacing: normal !important;
  word-break: normal !important;
}

/* Inline code inside paragraphs, lists, etc. */
.article-content :not(pre) > code,
.article-content p > code,
.article-content li > code {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(67, 216, 209, 0.08);
  border: 1px solid rgba(67, 216, 209, 0.22);
  border-radius: 6px;
  color: #48d8d1;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
  font-size: 0.88em;
  font-weight: 500;
  vertical-align: baseline;
  word-break: break-word;
}

/* Custom Prism token colors matching theme */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #7d7990 !important;
  font-style: italic;
}

.token.punctuation {
  color: #a49fb5 !important;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f41463 !important;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #43d8d1 !important;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #ffbd59 !important;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #b58fff !important;
}

.token.function,
.token.class-name {
  color: #5ce6db !important;
}

.token.regex,
.token.important,
.token.variable {
  color: #ff9f43 !important;
}

/* Border Glow idéntico al loop para el artículo destacado */
.featured-post{--edge-proximity:0;--cursor-angle:45deg;--edge-sensitivity:30;--color-sensitivity:calc(var(--edge-sensitivity) + 20);--border-radius:16px;--glow-padding:34px;--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%,#ee35a7 0,transparent 50%);--gradient-base:linear-gradient(135deg,#2dd9ce 0%,#8b59ed 50%,#ee35a7 100%);position:relative;isolation:isolate;overflow:visible!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:var(--border-radius)!important;background-color:var(--card-bg)!important;transform:translate3d(0,0,.01px);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.featured-post>:not(.edge-light){position:relative;z-index:2}.featured-post::before,.featured-post>.edge-light{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;transition:opacity .25s ease-out}.featured-post::before{z-index:1;border:1px 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%))}.featured-post>.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}.featured-post>.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)}.featured-post:not(:hover)::before,.featured-post:not(:hover)>.edge-light{opacity:0;transition:opacity .65s ease}@media(prefers-reduced-motion:reduce){.featured-post,.featured-post::before,.featured-post>.edge-light{transition:none!important}}

/* ==========================================================================
   Custom HTML Dropdowns (Multi-select & Single-select) & Styled Checkboxes
   ========================================================================== */
.field .field-label {
  display: block;
  margin-bottom: 7px;
  color: #f4f1f8;
  font-weight: 600;
  font-size: 16px;
}

.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-trigger {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(12, 12, 20, 0.82);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dropdown-trigger:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.custom-dropdown.is-open .dropdown-trigger,
.dropdown-trigger:focus-visible {
  border-color: var(--page-cyan, #43d8d1);
  box-shadow: 0 0 0 3px rgba(67, 216, 209, 0.14);
}

.custom-dropdown.is-invalid .dropdown-trigger {
  border-color: var(--page-pink, #f41463);
  box-shadow: 0 0 0 3px rgba(244, 20, 99, 0.18);
}

.dropdown-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}

.dropdown-value.is-placeholder {
  color: #858192;
}

.dropdown-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: #b4b0c2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease, stroke 0.2s ease;
}

.custom-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  stroke: var(--page-cyan, #43d8d1);
}

.dropdown-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(20, 19, 34, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 4px;
  max-height: 290px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(67, 216, 209, 0.35) transparent;
}

.dropdown-menu[hidden] {
  display: none !important;
}

.dropdown-check {
  display: flex !important;
  align-items: center;
  gap: 11px;
  margin: 0 !important;
  padding: 10px 11px;
  border-radius: 8px;
  color: #e6e2f0 !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-check:hover {
  background: rgba(67, 216, 209, 0.1);
  color: #fff !important;
}

.dropdown-check:has(input:checked) {
  background: rgba(67, 216, 209, 0.14);
  color: #fff !important;
}

.dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e6e2f0;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-option svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: var(--page-cyan, #43d8d1);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-option:hover {
  background: rgba(67, 216, 209, 0.1);
  color: #fff;
}

.dropdown-option[aria-selected="true"] {
  background: rgba(67, 216, 209, 0.15);
  color: #fff;
  font-weight: 600;
}

.dropdown-option[aria-selected="true"] svg {
  opacity: 1;
  transform: scale(1);
}

/* Styled Checkboxes (Authorization consent + Multi-select dropdown) */
.consent-line {
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  line-height: 1.55;
}

.consent-line input[type="checkbox"],
.dropdown-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px !important;
  min-width: 20px;
  height: 20px;
  min-height: 20px !important;
  padding: 0 !important;
  margin: 0;
  flex: 0 0 20px;
  border-radius: 6px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(12, 12, 20, 0.9) !important;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.consent-line input[type="checkbox"] {
  margin-top: 2px;
}

.consent-line:hover input[type="checkbox"],
.dropdown-check:hover input[type="checkbox"] {
  border-color: rgba(67, 216, 209, 0.7) !important;
}

.consent-line input[type="checkbox"]:focus-visible,
.dropdown-check input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--page-cyan, #43d8d1) !important;
  box-shadow: 0 0 0 3px rgba(67, 216, 209, 0.22);
}

.consent-line input[type="checkbox"]:checked,
.dropdown-check input[type="checkbox"]:checked {
  border-color: var(--page-cyan, #43d8d1) !important;
  background: linear-gradient(135deg, #2dd9ce 0%, #22b8cf 100%) !important;
  box-shadow: 0 0 14px rgba(45, 217, 206, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.consent-line input[type="checkbox"]::after,
.dropdown-check input[type="checkbox"]::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid #0d131a;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.consent-line input[type="checkbox"]:checked::after,
.dropdown-check input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}

/* ==========================================================================
   Standardized Glassmorphism Accordions (Legal & Site Pages)
   ========================================================================== */
.legal-content {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 16px;
}
.legal-content::before {
  content: "";
  position: absolute;
  inset: -32px -36px;
  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);
}
.legal-content details {
  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);
  scroll-margin-top: 120px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.legal-content details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.legal-content details: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);
}
.legal-content details[open],
.legal-content details[open]:last-child {
  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);
}
.legal-content summary {
  padding: 21px 24px;
  font: 600 19px/1.35 'Jost', Arial, sans-serif;
  transition: color 0.2s ease;
}
.legal-content summary:hover {
  color: var(--page-cyan);
}
.legal-copy,
.legal-content details > div:not(.legal-copy) {
  max-width: 100%;
  padding: 0 24px 22px;
  color: #d6d2e4;
  font-size: 15.5px;
  line-height: 1.75;
}
.legal-copy > :first-child,
.legal-content details > div:not(.legal-copy) > :first-child {
  margin-top: 0;
}
.legal-copy > :last-child,
.legal-content details > div:not(.legal-copy) > :last-child {
  margin-bottom: 0;
}
.legal-toggle-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  font-size: 0;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  color: var(--page-cyan);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.legal-toggle-icon::before {
  position: static;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: transparent;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.legal-toggle-icon::after {
  content: none;
}
.legal-content summary:hover .legal-toggle-icon {
  transform: none;
  border-color: rgba(72, 216, 209, 0.55);
  background: linear-gradient(135deg, rgba(72, 216, 209, 0.2) 0%, rgba(72, 216, 209, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 0 14px rgba(45, 217, 206, 0.22);
}
.legal-content details[open] .legal-toggle-icon,
.legal-content details[open] summary:hover .legal-toggle-icon {
  transform: rotate(180deg);
  color: var(--page-cyan);
  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);
}
@media (max-width: 680px) {
  .legal-content summary { padding: 18px 18px; font-size: 18px; }
  .legal-copy,
  .legal-content details > div:not(.legal-copy) { padding: 0 18px 18px; }
}

/* ==========================================================================
   Shortcode [rnz_plugin_info]: Tarjeta de plugin gratuito de WordPress.org
   ========================================================================== */
.rnz-plugin-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 30px 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(28, 26, 44, 0.94), rgba(16, 15, 27, 0.98));
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(4, 3, 14, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.rnz-plugin-card:hover {
  border-color: rgba(67, 216, 209, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(4, 3, 14, 0.55), 0 0 28px rgba(67, 216, 209, 0.12);
}

.rnz-plugin-card__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 85% at 12% 0%, rgba(45, 217, 206, 0.2), transparent 68%),
    radial-gradient(ellipse 60% 80% at 92% 100%, rgba(244, 20, 99, 0.18), transparent 70%);
  pointer-events: none;
}

.rnz-plugin-card__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.24;
  filter: saturate(1.1);
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.rnz-plugin-card:hover .rnz-plugin-card__bg {
  opacity: 0.32;
  transform: scale(1.03);
}

.rnz-plugin-card.has-banner .rnz-plugin-card__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 15, 27, 0.92) 0%,
    rgba(16, 15, 27, 0.78) 52%,
    rgba(16, 15, 27, 0.9) 100%
  );
}

.rnz-plugin-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
}

.rnz-plugin-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 17, 27, 0.85);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.rnz-plugin-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.rnz-plugin-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--page-cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rnz-plugin-card__info {
  min-width: 0;
}

.rnz-plugin-card__meta {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--page-cyan);
  font: 700 11px/1.3 'Inter', Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-content .rnz-plugin-card__title,
.rnz-plugin-card__title {
  margin: 0 0 6px;
  color: #ffffff;
  font: 700 21px/1.2 'Jost', Arial, sans-serif;
  letter-spacing: -0.02em;
}

.article-content .rnz-plugin-card__desc,
.rnz-plugin-card__desc {
  margin: 0;
  color: #cbc7d6;
  font: 400 14.5px/1.55 'Inter', Arial, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rnz-plugin-card__action {
  flex-shrink: 0;
}

.article-content .rnz-plugin-card__cta,
.rnz-plugin-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid rgba(244, 20, 99, 0.55);
  background: linear-gradient(135deg, rgba(244, 20, 99, 0.28) 0%, rgba(238, 53, 167, 0.14) 100%);
  color: #ffffff;
  font: 600 14px/1 'Inter', Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(244, 20, 99, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.article-content .rnz-plugin-card__cta:hover,
.rnz-plugin-card__cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f41463 0%, #ee35a7 100%);
  border-color: #f41463;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(244, 20, 99, 0.42), 0 0 18px rgba(238, 53, 167, 0.3);
}

.rnz-plugin-card__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-content {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .article-content img,
  .article-content iframe,
  .article-content video {
    max-width: 100%;
    height: auto;
  }

  .article-content pre,
  .article-content table {
    max-width: 100%;
    overflow-x: auto;
  }

  .rnz-plugin-card__body {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    min-width: 0;
    max-width: 100%;
  }

  .rnz-plugin-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .rnz-plugin-card__info {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .article-content .rnz-plugin-card__title,
  .rnz-plugin-card__title {
    font-size: 19px;
    overflow-wrap: anywhere;
  }

  .rnz-plugin-card__action {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .article-content .rnz-plugin-card__cta,
  .rnz-plugin-card__cta {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ==========================================================================
   Tabla de Contenidos - Shortcode [toc]
   ========================================================================== */
.rnz-toc {
  position: relative;
  margin: 36px 0 42px;
  padding: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 24, 39, 0.88) 0%, rgba(17, 17, 27, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.35),
              0 0 24px -2px rgba(67, 216, 209, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
  transition: border-color .28s ease, box-shadow .28s ease;
}

.rnz-toc:hover {
  border-color: rgba(67, 216, 209, 0.3);
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.45),
              0 0 30px 0 rgba(67, 216, 209, 0.14);
}

.rnz-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.rnz-toc__title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.rnz-toc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(67, 216, 209, 0.12);
  border: 1px solid rgba(67, 216, 209, 0.28);
  color: var(--page-cyan, #43d8d1);
  flex-shrink: 0;
}

.rnz-toc__icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.rnz-toc__title {
  margin: 0;
  font: 600 17px/1.2 'Jost', Arial, sans-serif;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rnz-toc__count {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--page-cyan, #43d8d1);
  background: rgba(67, 216, 209, 0.1);
  border: 1px solid rgba(67, 216, 209, 0.2);
  white-space: nowrap;
}

.rnz-toc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #c5c1cf;
  font: 500 12.5px/1 'Inter', Arial, sans-serif;
  cursor: pointer;
  outline: none;
  transition: all .2s ease;
  flex-shrink: 0;
}

.rnz-toc__toggle:hover {
  background: rgba(67, 216, 209, 0.12);
  border-color: rgba(67, 216, 209, 0.35);
  color: #ffffff;
}

.rnz-toc__toggle-arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform .25s ease;
}

.rnz-toc.is-collapsed .rnz-toc__toggle-arrow {
  transform: rotate(180deg);
}

.rnz-toc__body {
  padding: 16px 20px 20px;
}

.rnz-toc.is-collapsed .rnz-toc__body {
  display: none;
}

.rnz-toc__list,
.rnz-toc__sublist {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rnz-toc__item {
  margin: 3px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.article-content .rnz-toc__link,
.rnz-toc__link {
  display: flex !important;
  align-items: baseline;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 8px;
  color: #c5c1cf !important;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.45;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.article-content .rnz-toc__link:hover,
.rnz-toc__link:hover {
  background: rgba(67, 216, 209, 0.08);
  color: var(--page-cyan, #43d8d1) !important;
  transform: translateX(4px);
}

.rnz-toc__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--page-cyan, #43d8d1);
  opacity: 0.85;
  flex-shrink: 0;
  min-width: 22px;
}

.rnz-toc__text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Sublist H3 */
.rnz-toc__sublist {
  margin: 4px 0 6px 18px !important;
  padding-left: 12px !important;
  border-left: 1px dashed rgba(255, 255, 255, 0.12);
}

.rnz-toc__item--h3 .rnz-toc__link {
  font-size: 14px;
  color: #a7a3b3 !important;
  padding: 5px 10px;
}

.rnz-toc__item--h3 .rnz-toc__num {
  font-size: 11px;
  opacity: 0.75;
}

/* Heading scroll offset & target highlight */
.article-content h2,
.article-content h3,
.article-content h4 {
  scroll-margin-top: 120px;
}

.article-content h2:target,
.article-content h3:target {
  animation: rnzHeadingTarget 1.8s ease-out;
}

@keyframes rnzHeadingTarget {
  0% {
    color: var(--page-cyan, #43d8d1);
    text-shadow: 0 0 16px rgba(67, 216, 209, 0.45);
  }
  100% {
    color: #ffffff;
    text-shadow: none;
  }
}

/* Responsive adjustments */
@media (max-width: 680px) {
  .rnz-toc {
    margin: 26px 0 32px;
    border-radius: 12px;
  }

  .rnz-toc__header {
    padding: 13px 16px;
    gap: 10px;
  }

  .rnz-toc__title {
    font-size: 16px;
  }

  .rnz-toc__count {
    display: none;
  }

  .rnz-toc__body {
    padding: 12px 14px 16px;
  }

  .article-content .rnz-toc__link,
  .rnz-toc__link {
    font-size: 14px;
    padding: 6px 8px;
    gap: 8px;
  }

  .rnz-toc__sublist {
    margin-left: 10px !important;
    padding-left: 8px !important;
  }

  .rnz-toc__item--h3 .rnz-toc__link {
    font-size: 13.5px;
  }

  /* When an inline TOC exists in the post content, hide the duplicate mobile sidebar TOC */
  .has-inline-toc.article-layout > .article-toc {
    display: 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;
  }
}

