/* Consolidated base: style.css + nav-modern.css */
/* ═══════════════════════════════════════════════════════════════════
   Proyecto Tu Website — style.css
   Estilos globales compartidos por todas las páginas
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─────────────────────────────────────────────────────── */
:root {
  --navy:         #1a1a2e;
  --navy-mid:     #252540;
  --cream:        #f0ede8;
  --cream-warm:   #f5f3ef;
  --violet:       #7c6af7;
  --violet-dim:   #e8e4fc;
  --violet-dark:  #4b3fcf;
  --green:        #a7b59b;
  --green-dim:    #edf0eb;
  --text:         #1f1f1f;
  --text-mid:     #4a4a52;
  --text-light:   #7a7a85;
  --white:        #ffffff;
  --border:       rgba(0,0,0,.09);
  --border-inv:   rgba(255,255,255,.12);
  --error:        #d94f4f;
  --error-bg:     #fdf2f2;
  --success:      #2d7a4f;
  --success-bg:   #edf7f1;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-script:  'Caveat', cursive;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --r-2xl: 48px;

  --max-w: 1100px;
}

/* ─── Base ───────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── Accesibilidad ──────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 999;
  background: var(--violet); color: white;
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Container ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  cursor: pointer; border: none; transition: all .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--violet); color: var(--white);
  box-shadow: 0 12px 32px rgba(124,106,247,.3);
}
.btn-primary:hover { background: var(--violet-dark); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124,106,247,.42); }

.btn-outline-inv {
  background: rgba(255,255,255,.08); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.22);
}
.btn-outline-inv:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--border-inv);
}
.btn-outline:hover { background: rgba(255,255,255,.08); }

.btn-light {
  background: var(--cream); color: var(--navy); font-weight: 700;
}
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--violet);
  border: 1.5px solid var(--violet); padding: .65rem 1.25rem;
}
.btn-ghost:hover { background: var(--violet-dim); }

.btn-arrow::after { content: ' →'; }

/* ─── Chips / badges ─────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: .35rem .9rem;
  border-radius: 999px;
}
.chip-inv {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: .28rem .7rem; border-radius: 999px;
  background: rgba(124,106,247,.18); color: #b8aef9;
  border: 1px solid rgba(124,106,247,.25);
}
.chip-inv::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(167,181,155,.2);
  flex-shrink: 0;
}

/* ─── NAV ────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  background: rgba(26,26,46,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-inv);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(26,26,46,.98);
  box-shadow: 0 10px 30px rgba(0,0,0,.12), 0 1px 0 var(--border-inv);
  padding: .75rem 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--white); letter-spacing: -.02em;
}
.nav-logo img {
  width: 170px;
  height: auto;
  display: block;
}
@media (max-width: 480px) {
  .nav-logo img { width: 136px; }
}
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--violet), var(--green));
  display: grid; place-items: center;
  font-size: .7rem; font-weight: 900; color: white;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.72);
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); }

/* Dropdown */
.nav-item-dd {
  position: relative;
  padding-block: .75rem;
  margin-block: -.75rem;
}
.nav-dd-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.72); display: flex; align-items: center; gap: .3rem;
  padding: 0; transition: color .15s;
}
.nav-dd-btn:hover,
.nav-dd-btn[aria-expanded="true"] { color: var(--white); }
.nav-dd-arrow { font-size: .6rem; transition: transform .2s; }
.nav-dd-btn[aria-expanded="true"] .nav-dd-arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(22,22,42,.98); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md);
  padding: .4rem; padding-top: calc(.4rem + .35rem); list-style: none; min-width: 240px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 200;
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -.35rem; left: 0;
  width: 100%; height: .35rem;
}
.nav-item-dd:hover .nav-dropdown,
.nav-dd-btn[aria-expanded="true"] + .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block; padding: .6rem .875rem;
  font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.65);
  border-radius: var(--r-sm); transition: background .15s, color .15s;
}
.nav-dropdown li a:hover { background: rgba(124,106,247,.15); color: var(--white); }

/* Nav mobile */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--white); padding: .25rem;
}
.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--navy); padding: 5.5rem 1.5rem 2rem;
  flex-direction: column; gap: 0; overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.85); font-size: 1.1rem; font-weight: 500;
  padding: 1rem 0; border-bottom: 1px solid var(--border-inv); display: block;
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }
.nav-mobile-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  padding: 1.2rem 0 .35rem; pointer-events: none;
}
.nav-mobile-sub {
  padding-left: .875rem !important;
  font-size: .95rem !important;
  color: rgba(255,255,255,.55) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

@media (max-width: 820px) {
  .nav-links, .nav-cta-desktop, .nav-cta { display: none; }
  .nav-burger { display: block; }
}

/* ─── Trust bar ──────────────────────────────────────────────────── */
.trust {
  background: var(--navy-mid);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-inv);
}
.trust-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 1.25rem 2rem;
}
.trust-item {
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.62);
  display: flex; align-items: center; gap: .5rem; white-space: nowrap;
}
.trust-item strong { color: rgba(255,255,255,.9); font-size: .88rem; font-family: var(--font-display); font-weight: 700; }
.trust-sep { color: rgba(255,255,255,.35); font-size: .7rem; }

.trust-inner-alt { justify-content: space-between; gap: 1rem 2rem; }

.trust-feature { color: rgba(255,255,255,.7); min-width: max-content; }
.trust-feature strong {
  display: block; color: var(--white);
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  line-height: 1.05; letter-spacing: -.035em; margin-bottom: .15rem;
}
.trust-feature span { display: block; font-size: .78rem; color: rgba(255,255,255,.62); line-height: 1.2; }

.trust-platforms { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin-left: auto; }
.trust-platforms span {
  font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; padding: .35rem .72rem; white-space: nowrap;
}

@media (max-width: 820px) {
  .trust-inner-alt { justify-content: center; text-align: center; }
  .trust-feature { min-width: 120px; }
  .trust-platforms { width: 100%; justify-content: center; margin-left: 0; margin-top: .25rem; }
}

/* ─── Section commons ────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--cream-warm); }
.section-dark { background: var(--navy); color: var(--white); }

.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--violet); margin-bottom: .75rem;
  display: block;
}
.section-label-inv { color: #b8aef9; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  color: var(--text); margin-bottom: .875rem;
}
.section-title-inv { color: var(--white); }

.section-sub { font-size: 1rem; line-height: 1.75; color: var(--text-mid); max-width: 560px; }
.section-sub-inv { color: rgba(255,255,255,.55); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-center { text-align: center; }
.section-head-center .section-sub { margin-inline: auto; }

/* Handwritten detail */
.handwritten {
  font-family: var(--font-script);
  font-size: 2.2rem; color: var(--green);
  display: block; transform: rotate(-1.5deg);
  margin-bottom: .75rem; line-height: 1.2;
}

/* Page header (subpáginas) */
.page-header {
  background: var(--navy);
  padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 80% 30%, rgba(124,106,247,.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(75,63,207,.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; max-width: 640px; }

.page-eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.page-eyebrow-line { width: 24px; height: 1.5px; background: var(--violet); }

.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800; font-style: italic;
  line-height: 1.12; letter-spacing: -.025em;
  color: var(--white); margin-bottom: 1rem;
}
.page-h1 em { font-style: normal; color: #b8aef9; }

.page-sub {
  font-size: clamp(.92rem, 1.6vw, 1.05rem);
  line-height: 1.72; color: rgba(255,255,255,.58);
}

/* Breadcrumb */
.breadcrumb { position: absolute; bottom: 1.25rem; left: 0; right: 0; z-index: 2; }
.breadcrumb-inner {
  display: flex; align-items: center; gap: .4rem;
  font-size: .75rem; color: rgba(255,255,255,.6);
}
.breadcrumb-inner a { color: rgba(255,255,255,.65); transition: color .15s; }
.breadcrumb-inner a:hover { color: rgba(255,255,255,.9); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(16px);
  animation: revealUp .55s cubic-bezier(.22,.68,0,1.2) forwards;
}
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .18s; }
.reveal-3 { animation-delay: .32s; }
.reveal-4 { animation-delay: .46s; }

/* ─── Proceso ────────────────────────────────────────────────────── */
.proceso-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem;
}
.proceso-step {
  padding: 1.75rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.05); border: 1px solid var(--border-inv);
}
.proceso-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: rgba(124,106,247,.22); line-height: 1; margin-bottom: .75rem; letter-spacing: -.05em;
}
.proceso-title {
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  color: var(--white); margin-bottom: .5rem;
}
.proceso-desc { font-size: .85rem; line-height: 1.65; color: rgba(255,255,255,.48); }

/* ─── FAQs ───────────────────────────────────────────────────────── */
.faqs-list { max-width: 720px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.25rem 0; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600;
  color: var(--text); line-height: 1.4; transition: color .15s;
}
.faq-q:hover { color: var(--violet); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all .2s; color: var(--text-light);
}
.faq-q:hover .faq-icon { border-color: var(--violet); color: var(--violet); }
.faq-item.open .faq-icon {
  background: var(--violet); border-color: var(--violet); color: var(--white); transform: rotate(45deg);
}
.faq-a {
  font-size: .9rem; line-height: 1.8; color: var(--text-mid);
  padding-bottom: 1.25rem; display: none; max-width: 620px;
}
.faq-item.open .faq-a { display: block; }

/* ─── CTA final ──────────────────────────────────────────────────── */
.cta-final { background: var(--navy); position: relative; overflow: hidden; }
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 65% at 50% 100%, rgba(124,106,247,.24) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 680px; margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.2;
  color: var(--white); margin-bottom: 1rem;
}
.cta-final-sub { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,.55); margin-bottom: 2rem; }
.cta-final-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer { background: #111123; padding: 3rem 0 2rem; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-inv); margin-bottom: 1.5rem;
}
.footer-brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  color: var(--white); margin-bottom: .3rem;
  display: flex; align-items: center; gap: .6rem;
}
.footer-brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--violet), var(--green));
  display: grid; place-items: center;
  font-size: .65rem; font-weight: 900; color: white;
}
.footer-brand-desc {
  font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.62);
  margin-bottom: .75rem; max-width: 260px;
}
.footer-col-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.58); margin-bottom: .875rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.62); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.78); }
.footer-copy {
  font-size: .78rem; color: rgba(255,255,255,.55);
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between; align-items: center;
}
.footer-copy a { color: rgba(255,255,255,.55); transition: color .15s; }
.footer-copy a:hover { color: rgba(255,255,255,.8); }

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─── Scroll to top ──────────────────────────────────────────────── */
.scroll-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: var(--violet); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 14px 34px rgba(26,26,46,.25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
  z-index: 120;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--violet-dark); transform: translateY(-2px); }
.scroll-top:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

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

/* ─── NAV dropdown — servicios (nav-item-dropdown / nav-dropdown-btn) ─ */
.nav-item-dropdown {
  position: relative;
  padding-block: .75rem;
  margin-block: -.75rem;
}
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.72); display: flex; align-items: center;
  gap: .3rem; padding: 0; transition: color .15s;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn[aria-expanded="true"] { color: var(--white); }
.nav-dropdown-arrow { font-size: .65rem; transition: transform .2s; line-height: 1; }
.nav-dropdown-btn[aria-expanded="true"] .nav-dropdown-arrow { transform: rotate(180deg); }
/* Fix del gap: mismo bridge que nav-item-dd */
.nav-item-dropdown .nav-dropdown {
  top: 100%;
  padding-top: calc(.4rem + .35rem);
}
.nav-item-dropdown .nav-dropdown::before {
  content: ''; position: absolute; top: -.35rem; left: 0;
  width: 100%; height: .35rem;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-dropdown-btn[aria-expanded="true"] + .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Navigation */
/* Menú interno 2026 — alineado visualmente con la home */
:root {
  --nav-modern-dark: #11141b;
  --nav-modern-lime: #caff5c;
  --nav-modern-lime-hover: #dcff91;
}

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  right: auto;
  z-index: 100;
  width: min(calc(100% - 28px), 1180px);
  transform: translateX(-50%);
  padding: .65rem .72rem .65rem 1.15rem;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 999px;
  background: rgba(17,20,27,.86);
  box-shadow: 0 18px 50px rgba(10,12,17,.18);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: top .25s ease, padding .25s ease, background .25s ease, box-shadow .25s ease;
}

.nav.scrolled {
  top: 8px;
  padding: .58rem .68rem .58rem 1.05rem;
  background: rgba(17,20,27,.95);
  box-shadow: 0 22px 60px rgba(10,12,17,.24);
}

.nav .nav-inner {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.nav .nav-logo img {
  width: 170px;
  height: auto;
}

.nav .nav-links {
  gap: 1.55rem;
}

.nav .nav-links a,
.nav .nav-dropdown-btn,
.nav .nav-dd-btn {
  font-size: .82rem;
  font-weight: 650;
  color: rgba(255,255,255,.7);
}

.nav .nav-links a:hover,
.nav .nav-links a[aria-current="page"],
.nav .nav-dropdown-btn:hover,
.nav .nav-dropdown-btn[aria-expanded="true"],
.nav .nav-dd-btn:hover,
.nav .nav-dd-btn[aria-expanded="true"] {
  color: #fff;
}

.nav .nav-cta,
.nav .nav-cta-desktop {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.1rem !important;
  border-radius: 999px;
  background: var(--nav-modern-lime) !important;
  color: var(--nav-modern-dark) !important;
  box-shadow: none !important;
  font-size: .82rem !important;
  font-weight: 800;
}

.nav .nav-cta:hover,
.nav .nav-cta-desktop:hover {
  background: var(--nav-modern-lime-hover) !important;
  color: var(--nav-modern-dark) !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

.nav .nav-cta span,
.nav .nav-cta-desktop span {
  transition: transform .2s ease;
}

.nav .nav-cta:hover span,
.nav .nav-cta-desktop:hover span {
  transform: translate(2px,-2px);
}

.nav .nav-item-dropdown,
.nav .nav-item-dd {
  position: relative;
  padding-block: .75rem;
  margin-block: -.75rem;
}

.nav .nav-dropdown {
  top: 100%;
  min-width: 240px;
  padding: .75rem .4rem .4rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(17,20,27,.98);
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav .nav-dropdown::before {
  top: -.45rem;
  height: .45rem;
}

.nav .nav-dropdown li a {
  padding: .62rem .875rem;
  border-radius: 10px;
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  font-weight: 550;
}

.nav .nav-dropdown li a:hover {
  background: rgba(202,255,92,.12);
  color: #fff;
}

.nav-burger {
  color: #fff;
}

.nav-mobile {
  background: var(--nav-modern-dark);
  padding-top: 5.8rem;
}

.nav-mobile a {
  color: rgba(255,255,255,.84);
}

.nav-mobile a:hover {
  color: #fff;
}

.nav-mobile .btn {
  background: var(--nav-modern-lime) !important;
  color: var(--nav-modern-dark) !important;
  box-shadow: none !important;
  font-weight: 800;
}

.nav-mobile-label {
  color: rgba(255,255,255,.48);
}

.nav-mobile-sub {
  color: rgba(255,255,255,.58) !important;
}

.nav a:focus-visible,
.nav button:focus-visible,
.nav-mobile a:focus-visible {
  outline: 3px solid var(--nav-modern-lime);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .nav {
    top: 8px;
    width: calc(100% - 18px);
  }

  .nav .nav-logo img {
    width: 145px;
  }
}

@media (max-width: 600px) {
  .nav {
    padding-left: .8rem;
  }

  .nav .nav-logo img {
    width: 132px;
  }
}


/* Shared accessibility and footer refinements — 2026-07-29 */
html { scroll-behavior: smooth; }
.footer { background: #111123; color: rgba(255,255,255,.82); }
.footer-brand-desc, .footer-meta, .footer-contact, .footer-social,
.footer-copy, .footer-copy span { color: rgba(255,255,255,.76) !important; }
.footer-brand-desc { max-width: 34rem; }
.footer-col-title { color: rgba(255,255,255,.82) !important; }
.footer-links a, .footer a:not(.footer-back-top) {
  color: rgba(255,255,255,.76) !important;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
.footer-links a:hover, .footer-links a:focus-visible,
.footer a:not(.footer-back-top):hover, .footer a:not(.footer-back-top):focus-visible { color: #fff !important; }
.footer-copy { border-top-color: rgba(255,255,255,.14); }
.footer-back-top {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 42px; padding: .62rem .9rem;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  color: #fff; background: rgba(255,255,255,.08);
  font-size: .78rem; font-weight: 700; line-height: 1; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.footer-back-top:hover { color: #11131c; background: #bdff49; border-color: #bdff49; transform: translateY(-2px); }
.footer-back-top:focus-visible { outline: 3px solid #bdff49; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .footer-back-top { transition: none; } }
@media (max-width: 640px) { .footer-copy { align-items: flex-start; } .footer-back-top { width: fit-content; } }
