/* ============================================================
   vyrtus.css — Componentes propios del sitio Vyrtus Group
   Complementa la hoja original (_next/static/css/…) sin
   modificarla. Paleta corporativa:
     navy #0B2A5B · azul #0B7FE0 · naranja #F2823D
   ============================================================ */
:root {
  --vx-navy: #0b2a5b;
  --vx-blue: #0b7fe0;
  --vx-blue-deep: #0866b8;
  --vx-orange: #f2823d;
  --vx-surface: #f5f8fc;
  --vx-border: #e3e9f1;
  --vx-border-soft: #edf2f8;
  --vx-muted: #5b6b85;
  --vx-faint: #8b96aa;
  --vx-ease: cubic-bezier(.16, 1, .3, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: #fff; color: var(--vx-navy); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.vx-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex-shrink: 0; }
[hidden] { display: none !important; }

/* ── Cabecera ─────────────────────────────── */
.vx-header { background: #fff; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; animation: vx-drop .6s var(--vx-ease) both; }
.vx-header.is-scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--vx-border); box-shadow: 0 4px 20px -8px rgba(11,42,91,.1); }
@keyframes vx-drop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.vx-nav-desktop { display: none; gap: 2.25rem; }
.vx-nav-desktop.gap-4 { gap: 1rem; }
@media (min-width: 900px) { .vx-nav-desktop { display: flex; } .vx-burger { display: none; } }
@media (max-width: 1080px) and (min-width: 900px) { .vx-nav-desktop { gap: 1.5rem; } }
.vx-navlink { font-size: 13.5px; font-weight: 500; color: var(--vx-muted); transition: color .2s; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.vx-navlink:hover, .vx-navlink:focus-visible { color: var(--vx-navy); }
.vx-navlink-sm { font-size: 13px; }
.vx-burger { background: none; border: 0; padding: 6px; cursor: pointer; }
.vx-burger .vx-ico-close { display: none; }
.vx-burger[aria-expanded="true"] .vx-ico-open { display: none; }
.vx-burger[aria-expanded="true"] .vx-ico-close { display: inline-block; }
.vx-mobile { padding: 1.5rem; max-height: calc(100vh - 76px); overflow-y: auto; }
.vx-mlink { font-size: .875rem; font-weight: 500; color: var(--vx-muted); }
.vx-mlink:hover { color: var(--vx-navy); }
@media (min-width: 900px) { .vx-mobile { display: none !important; } }

.vx-dropdown { position: relative; }
.vx-dropdown::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 22px; } /* puente para el hover */
.vx-chev { transition: transform .2s; }
.vx-dropdown.is-open .vx-chev { transform: rotate(180deg); }
.vx-dropdown-panel { position: absolute; left: 50%; top: calc(100% + 18px); width: 580px; transform: translate(-50%, -8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; background: #fff; border: 1px solid var(--vx-border); border-radius: 1rem; box-shadow: 0 30px 60px -20px rgba(11,42,91,.25); z-index: 60; }
.vx-dropdown.is-open .vx-dropdown-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.vx-dd-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: .75rem; transition: background .2s; }
.vx-dd-item:hover, .vx-dd-item:focus-visible { background: var(--vx-surface); }
.vx-dd-ico { margin-top: 2px; display: flex; height: 36px; width: 36px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .5rem; background: rgba(11,127,224,.1); color: var(--vx-blue); }
.vx-dd-title { display: block; font-size: 13.5px; font-weight: 600; color: var(--vx-navy); }
.vx-dd-desc { margin-top: 2px; display: block; font-size: 12px; color: var(--vx-muted); line-height: 1.45; }

/* ── Animaciones de entrada ───────────────── */
.vx-hero-in { animation: vx-up .7s var(--vx-ease) both; }
.vx-d1 { animation-delay: .1s; } .vx-d2 { animation-delay: .22s; } .vx-d3 { animation-delay: .34s; }
@keyframes vx-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.vx-float { animation: vx-float 7s ease-in-out infinite; }
@keyframes vx-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--d, 0s), transform .6s var(--vx-ease) var(--d, 0s); }
.js .reveal.reveal-scale { transform: scale(.95); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .vx-hero-in, .vx-float, .vx-header { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Servicios (pestañas) ─────────────────── */
.vx-tab { display: flex; flex-shrink: 0; align-items: center; gap: 12px; border-radius: .75rem; padding: 14px 16px; text-align: left; font-size: 13.5px; font-weight: 500; color: var(--vx-muted); background: transparent; border: 0; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.vx-tab .vx-ico { color: var(--vx-faint); }
.vx-tab small { font-size: 11px; font-weight: 700; color: var(--vx-faint); margin-right: 4px; letter-spacing: .04em; }
.vx-tab:hover { background: rgba(255,255,255,.6); }
.vx-tab.is-active { background: #fff; color: var(--vx-navy); box-shadow: 0 8px 20px -8px rgba(11,42,91,.2); }
.vx-tab.is-active .vx-ico, .vx-tab.is-active small { color: var(--vx-blue); }
@media (min-width: 768px) { .vx-tab { width: 100%; white-space: normal; } }
.vx-panel { animation: vx-up .45s var(--vx-ease) both; }
.vx-kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--vx-orange); margin-bottom: .6rem; }
.vx-listhead { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--vx-navy); margin-bottom: .9rem; }
.vx-list { display: grid; grid-template-columns: 1fr; gap: 10px 28px; }
@media (min-width: 640px) { .vx-list { grid-template-columns: 1fr 1fr; } }
.vx-list li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--vx-muted); }
.vx-list li::before { content: ""; margin-top: 7px; width: 6px; height: 6px; flex-shrink: 0; border-radius: 1px; background: var(--vx-orange); }
.vx-programs { display: grid; gap: 10px; }
@media (min-width: 900px) { .vx-programs { grid-template-columns: 1fr 1fr; } }
.vx-programs li { background: #fff; border: 1px solid var(--vx-border); border-radius: .85rem; padding: 14px 16px; border-left: 3px solid var(--vx-blue); }
.vx-programs strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--vx-navy); }
.vx-programs span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--vx-muted); }

/* ── Sectores ─────────────────────────────── */
.vx-sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .vx-sectors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .vx-sectors { grid-template-columns: repeat(5, 1fr); } }
.vx-sector { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 26px 12px; border: 1px solid var(--vx-border); border-radius: 1rem; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--vx-navy); transition: transform .4s var(--vx-ease), border-color .4s, box-shadow .4s; }
.vx-sector .vx-ico { color: var(--vx-blue); stroke-width: 1.5; }
.vx-sector::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--vx-orange); order: 1; }
.vx-sector:hover { transform: translateY(-4px); border-color: rgba(11,127,224,.35); box-shadow: 0 20px 50px -20px rgba(11,127,224,.2); }

/* ── Galería de proyectos ─────────────────── */
.vx-sechead { margin-bottom: 2rem; }
.vx-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.75rem; }
.vx-chip { border: 1px solid var(--vx-border); background: #fff; color: var(--vx-muted); font-size: 12.5px; font-weight: 500; padding: 7px 15px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: all .2s; }
.vx-chip:hover { border-color: rgba(11,127,224,.45); color: var(--vx-navy); }
.vx-chip[aria-pressed="true"] { background: var(--vx-navy); border-color: var(--vx-navy); color: #fff; }
.vx-chip .n { opacity: .6; margin-left: 4px; }
.vx-gallery { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .vx-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vx-gallery { grid-template-columns: repeat(3, 1fr); } }
.vx-card { position: relative; display: flex; flex-direction: column; text-align: left; border: 1px solid var(--vx-border); background: #fff; border-radius: 1.1rem; overflow: hidden; cursor: pointer; padding: 0; font-family: inherit; color: inherit; transition: transform .4s var(--vx-ease), border-color .4s, box-shadow .4s; }
.vx-card:hover, .vx-card:focus-visible { transform: translateY(-4px); border-color: rgba(11,127,224,.35); box-shadow: 0 24px 50px -22px rgba(11,42,91,.3); outline: none; }
.vx-card:focus-visible { box-shadow: 0 0 0 3px rgba(11,127,224,.35); }
.vx-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--vx-surface); overflow: hidden; }
.vx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--vx-ease); }
.vx-card:hover .vx-card-media img { transform: scale(1.05); }
.vx-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,42,91,.55)); opacity: .9; }
.vx-card-tag { position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(255,255,255,.92); color: var(--vx-navy); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.vx-card-count { position: absolute; right: 14px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 12px; font-weight: 600; }
.vx-card-body { padding: 18px 20px 20px; border-top: 3px solid transparent; transition: border-color .3s; }
.vx-card:hover .vx-card-body { border-top-color: var(--vx-orange); }
.vx-card-title { font-family: var(--font-space-grotesk), sans-serif; font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--vx-navy); }
.vx-card-meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--vx-muted); }
.vx-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.vx-card-meta .vx-ico { color: var(--vx-faint); }
.vx-skel { min-height: 330px; cursor: default; background: linear-gradient(100deg, #fff 30%, var(--vx-surface) 50%, #fff 70%); background-size: 300% 100%; animation: vx-shimmer 1.4s linear infinite; }
.vx-skel:hover { transform: none; box-shadow: none; border-color: var(--vx-border); }
@keyframes vx-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.vx-empty { text-align: center; border: 1px dashed #cfd9e6; border-radius: 1.25rem; background: #fff; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; }
.vx-empty-ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(11,127,224,.1); color: var(--vx-blue); margin-bottom: 16px; }

/* ── Visor (lightbox) ─────────────────────── */
.vx-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.vx-lb-backdrop { position: absolute; inset: 0; background: rgba(8,22,48,.82); backdrop-filter: blur(6px); animation: vx-fade .25s both; }
@keyframes vx-fade { from { opacity: 0; } to { opacity: 1; } }
.vx-lb-box { position: relative; width: min(1180px, 100%); max-height: calc(100vh - 32px); background: #fff; border-radius: 1.25rem; overflow: hidden; display: grid; grid-template-columns: 1fr; animation: vx-up .35s var(--vx-ease) both; }
@media (min-width: 900px) { .vx-lb-box { grid-template-columns: 1fr 340px; } }
.vx-lb-stage { position: relative; background: #0a1a36; display: flex; align-items: center; justify-content: center; min-height: 240px; max-height: 62vh; }
@media (min-width: 900px) { .vx-lb-stage { max-height: calc(100vh - 32px); min-height: 520px; } }
.vx-lb-stage img { max-width: 100%; max-height: 62vh; object-fit: contain; }
@media (min-width: 900px) { .vx-lb-stage img { max-height: calc(100vh - 32px); } }
.vx-lb-nav, .vx-lb-close { position: absolute; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--vx-navy); transition: transform .2s, background .2s; }
.vx-lb-nav:hover, .vx-lb-close:hover { transform: scale(1.06); background: #fff; }
.vx-lb-prev { left: 14px; top: 50%; margin-top: -21px; } .vx-lb-next { right: 14px; top: 50%; margin-top: -21px; }
.vx-lb-close { right: 14px; top: 14px; z-index: 2; }
@media (min-width: 900px) { .vx-lb-close { background: var(--vx-surface); } }
.vx-lb-count { position: absolute; left: 16px; bottom: 14px; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.vx-lb-info { padding: 24px 24px 26px; overflow-y: auto; }
@media (min-width: 900px) { .vx-lb-info { padding: 64px 28px 28px; } }
.vx-lb-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--vx-muted); }
.vx-lb-meta span { display: inline-flex; align-items: center; gap: 5px; }
.vx-lb-thumbs { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vx-lb-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--vx-surface); opacity: .7; transition: opacity .2s, border-color .2s; }
.vx-lb-thumbs button[aria-current="true"] { border-color: var(--vx-orange); opacity: 1; }
.vx-lb-thumbs button:hover { opacity: 1; }
.vx-lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.vx-noscroll { overflow: hidden; }

/* ── Equipo ───────────────────────────────── */
.vx-credentials { display: grid; gap: 6px; }
.vx-credentials li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--vx-navy); font-weight: 500; }
.vx-credentials li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 1px; background: var(--vx-orange); }

/* ── Cómo trabajamos (5 pasos) ────────────── */
.vx-pt0 { padding-top: 0 !important; }
.vx-steps { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 640px) { .vx-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vx-steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.vx-steps-line { display: none; position: absolute; left: 0; right: 0; top: 26px; height: 1px; background: var(--vx-border); }
@media (min-width: 1024px) { .vx-steps-line { display: block; } }
.vx-step-num { position: relative; z-index: 1; margin-bottom: 1.5rem; display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--vx-border); background: #fff; font-size: 13px; font-weight: 700; color: var(--vx-orange); font-family: var(--font-space-grotesk), sans-serif; }

/* ── Contacto ─────────────────────────────── */
.vx-input { width: 100%; border-radius: .5rem; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); padding: .75rem 1rem; font-size: .875rem; color: #fff; outline: none; font-family: inherit; transition: border-color .2s; }
.vx-input:focus { border-color: rgba(242,130,61,.7); }
.vx-input.is-invalid { border-color: rgba(248,113,113,.8); }
select.vx-input option { color: #111827; }
.vx-flag { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.vx-alert { display: flex; align-items: flex-start; gap: 12px; border-radius: .75rem; padding: 12px 16px; font-size: .875rem; }
.vx-alert .vx-ico { margin-top: 2px; }
.vx-alert-ok { border: 1px solid rgba(52,211,153,.3); background: rgba(16,185,129,.1); color: #a7f3d0; }
.vx-alert-err { border: 1px solid rgba(248,113,113,.3); background: rgba(239,68,68,.1); color: #fecaca; }

/* ── Pie ──────────────────────────────────── */
.vx-sponsor { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--vx-muted); }
.vx-sponsor strong { color: var(--vx-navy); font-weight: 600; }

/* Utilidades no incluidas en la hoja original */
.mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mb-12 { margin-bottom: 3rem; }
