/* ============================================================
   Páginas /info/ · /sobre-nosotros/ · /contacto/
   Tres variantes: A=Legal+TOC  B=FAQ  C=About/Institucional
   ============================================================ */

/* ── Variables (heredan las del root del child theme) ── */
/* --primary / --primary-dark / --primary-light / --primary-border /
   --navy / --text / --muted / --border / --background / --background-soft */

/* ── Reset de color de body ── */
body.vx-info-page {
  background: var(--background);
  color: var(--text);
}
html[data-theme="dark"] body.vx-info-page {
  background: var(--inm-bg);
  color: var(--inm-ink);
}

/* ── Wrapper principal ──
   .site-content de GP tiene display:flex; el <main> necesita flex-grow:1
   para ocupar el ancho disponible (sin esto queda como columna estrecha). */
.vx-info-wrap {
  min-height: 100vh;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}

/* ── Breadcrumb eyebrow ── */
.vx-info-eyebrow {
  background: var(--primary-light);
  border-bottom: 1px solid var(--primary-border);
  padding: 10px 0;
}
html[data-theme="dark"] .vx-info-eyebrow {
  background: var(--inm-gwash);
  border-bottom-color: var(--inm-border);
}
.vx-info-eyebrow .wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.vx-info-eyebrow a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--primary-dark);
  text-decoration: none;
  transition: opacity .12s;
}
html[data-theme="dark"] .vx-info-eyebrow a { color: var(--inm-brand); }
.vx-info-eyebrow a:hover { opacity: .72; }
.vx-info-sep { color: var(--primary-border); font-size: 11px; }
html[data-theme="dark"] .vx-info-sep { color: var(--inm-border); }
.vx-info-current { font-size: 12.5px; color: var(--muted); }
html[data-theme="dark"] .vx-info-current { color: var(--inm-muted); }

/* ── Header de página (compartido A y B) ── */
.vx-info-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
html[data-theme="dark"] .vx-info-header {
  background: var(--inm-bg);
  border-bottom-color: var(--inm-border);
}

.vx-info-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
html[data-theme="dark"] .vx-info-category {
  color: var(--inm-brand);
  background: var(--inm-gwash);
  border-color: #2E7D32;
}

.vx-info-title {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 0 0 12px;
}
html[data-theme="dark"] .vx-info-title { color: var(--inm-ink); }

.vx-info-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.vx-info-meta-item {
  font-size: 12px;
  font-family: 'Space Mono', monospace;
  color: var(--muted);
}
html[data-theme="dark"] .vx-info-meta-item { color: var(--inm-muted); }
.vx-info-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
html[data-theme="dark"] .vx-info-meta-dot { background: var(--inm-border); }

/* ================================================================
   VARIANTE A · Legal con TOC sidebar sticky
   ================================================================ */
.vx-info-legal .vx-info-body {
  display: grid;
  grid-template-columns: 212px 1fr;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.vx-info-toc {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 28px 18px 28px 0;
  border-right: 1px solid var(--border);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
html[data-theme="dark"] .vx-info-toc { border-right-color: var(--inm-border); }

.vx-toc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  padding-left: 10px;
}
html[data-theme="dark"] .vx-toc-label { color: var(--inm-muted); }

#vx-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vx-toc-item a {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1.4;
  transition: all .12s;
  border-left: 2px solid transparent;
}
html[data-theme="dark"] .vx-toc-item a { color: var(--inm-muted); }
.vx-toc-item a:hover {
  color: var(--text);
  background: var(--background-soft);
}
html[data-theme="dark"] .vx-toc-item a:hover {
  color: var(--inm-ink);
  background: var(--inm-surface);
}
.vx-toc-item.active a {
  color: var(--primary-dark);
  background: var(--primary-light);
  border-left-color: var(--primary);
  font-weight: 500;
}
html[data-theme="dark"] .vx-toc-item.active a {
  color: var(--inm-brand);
  background: var(--inm-gwash);
  border-left-color: var(--inm-brand);
}

.vx-info-content {
  padding: 32px 0 64px 36px;
  max-width: 700px;
}

/* ── Tipografía del contenido legal ── */
.vx-info-content h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 13px;
  margin: 40px 0 14px;
  line-height: 1.35;
  scroll-margin-top: 24px;
}
html[data-theme="dark"] .vx-info-content h2 { color: var(--inm-ink); }
.vx-info-content h2:first-child { margin-top: 0; }

.vx-info-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 8px;
}
html[data-theme="dark"] .vx-info-content h3 { color: var(--inm-ink); }

.vx-info-content p {
  font-size: 14.5px;
  line-height: 1.78;
  color: #374151;
  margin-bottom: 13px;
}
html[data-theme="dark"] .vx-info-content p { color: var(--inm-muted); }

.vx-info-content ul,
.vx-info-content ol {
  font-size: 14.5px;
  line-height: 1.78;
  color: #374151;
  padding-left: 20px;
  margin-bottom: 14px;
}
html[data-theme="dark"] .vx-info-content ul,
html[data-theme="dark"] .vx-info-content ol { color: var(--inm-muted); }

.vx-info-content li { margin-bottom: 6px; }

.vx-info-content a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--primary-border);
  text-underline-offset: 2px;
}
html[data-theme="dark"] .vx-info-content a { color: var(--inm-brand); }
.vx-info-content a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

.vx-info-content strong {
  font-weight: 600;
  color: var(--text);
}
html[data-theme="dark"] .vx-info-content strong { color: var(--inm-ink); }

.vx-info-content blockquote {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-left: 3px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 13.5px;
  color: #78350F;
  line-height: 1.65;
}
html[data-theme="dark"] .vx-info-content blockquote {
  background: #1C1811;
  border-color: #713F12;
  border-left-color: #F59E0B;
  color: #FCD34D;
}

.vx-info-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
html[data-theme="dark"] .vx-info-content hr { border-top-color: var(--inm-border); }

/* ================================================================
   VARIANTE B · FAQ con acordeón + búsqueda
   ================================================================ */

/* Search + cats en el header */
.vx-faq-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 16px;
  max-width: 640px;
  transition: border-color .15s, box-shadow .15s;
}
html[data-theme="dark"] .vx-faq-search-box {
  background: var(--inm-surface);
  border-color: var(--inm-border);
}
.vx-faq-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
html[data-theme="dark"] .vx-faq-search-box:focus-within {
  border-color: var(--inm-brand);
  box-shadow: 0 0 0 3px var(--inm-gwash);
}
.vx-faq-search-icon {
  flex-shrink: 0;
  color: var(--primary);
  opacity: .8;
}
html[data-theme="dark"] .vx-faq-search-icon { color: var(--inm-brand); }
.vx-faq-search-box input {
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
  background: transparent;
  width: 100%;
  font-family: inherit;
}
html[data-theme="dark"] .vx-faq-search-box input { color: var(--inm-ink); }
.vx-faq-search-box input::placeholder { color: var(--muted); }
html[data-theme="dark"] .vx-faq-search-box input::placeholder { color: var(--inm-muted); }

.vx-faq-lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 640px;
}
html[data-theme="dark"] .vx-faq-lead { color: var(--inm-muted); }

.vx-faq-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.vx-faq-cat {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  background: var(--background);
  transition: all .12s;
  -webkit-user-select: none;
  user-select: none;
}
html[data-theme="dark"] .vx-faq-cat {
  border-color: var(--inm-border);
  color: var(--inm-muted);
  background: var(--inm-surface);
}
.vx-faq-cat:hover {
  border-color: var(--primary-border);
  color: var(--primary-dark);
  background: var(--primary-light);
}
html[data-theme="dark"] .vx-faq-cat:hover {
  border-color: var(--inm-brand);
  color: var(--inm-brand);
  background: var(--inm-gwash);
}
.vx-faq-cat.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* FAQ body */
.vx-faq-body {
  padding: 32px 0 64px;
}

/* Raw content (oculto, solo para parsear con JS) */
#vx-faq-raw { display: none; }

#vx-faq-output { max-width: 760px; }

.vx-faq-section {
  margin-bottom: 24px;
}
.vx-faq-section.hidden { display: none; }

.vx-faq-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
html[data-theme="dark"] .vx-faq-section-label { color: var(--inm-muted); }

.vx-faq-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vx-faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--background);
  transition: border-color .12s;
}
html[data-theme="dark"] .vx-faq-item {
  border-color: var(--inm-border);
  background: var(--inm-surface);
}
.vx-faq-item.hidden { display: none; }
.vx-faq-item:hover { border-color: var(--primary-border); }
html[data-theme="dark"] .vx-faq-item:hover { border-color: var(--inm-brand); }

.vx-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  gap: 12px;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  line-height: 1.45;
  font-family: inherit;
  transition: background .12s;
}
html[data-theme="dark"] .vx-faq-q { color: var(--inm-ink); }

.vx-faq-q-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .15s;
  line-height: 1;
}
html[data-theme="dark"] .vx-faq-q-icon {
  background: var(--inm-gwash);
  color: var(--inm-brand);
}

.vx-faq-item.open .vx-faq-q {
  background: var(--primary-light);
  border-bottom: 1px solid var(--primary-border);
}
html[data-theme="dark"] .vx-faq-item.open .vx-faq-q {
  background: var(--inm-gwash);
  border-bottom-color: #2E7D32;
}
.vx-faq-item.open .vx-faq-q-icon {
  background: var(--primary);
  color: #fff;
}

.vx-faq-a {
  padding: 14px 16px 16px 44px;
  font-size: 14px;
  line-height: 1.72;
  color: #374151;
}
html[data-theme="dark"] .vx-faq-a { color: var(--inm-muted); }
.vx-faq-a p { margin: 0 0 8px; }
.vx-faq-a p:last-child { margin-bottom: 0; }
.vx-faq-a a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--primary-border);
}
html[data-theme="dark"] .vx-faq-a a { color: var(--inm-brand); }
.vx-faq-a ul {
  padding-left: 18px;
  margin: 6px 0;
}
.vx-faq-a li { margin-bottom: 4px; }

.vx-faq-no-results {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  font-size: 15px;
  display: none;
}
html[data-theme="dark"] .vx-faq-no-results { color: var(--inm-muted); }
.vx-faq-no-results strong {
  display: block;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
}
html[data-theme="dark"] .vx-faq-no-results strong { color: var(--inm-ink); }

/* ================================================================
   VARIANTE C · About / Institucional (hero navy + columna única)
   ================================================================ */
.vx-about-hero {
  background: var(--navy);
  padding: 48px 0 44px;
}

.vx-about-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #66BB6A;
  margin-bottom: 10px;
}

.vx-about-title {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -.03em;
  line-height: 1.2;
  max-width: 46ch;
  margin: 0 0 12px;
}

.vx-about-sub {
  font-size: 15.5px;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 58ch;
  margin: 0;
}

.vx-about-content {
  padding: 40px 0 64px;
  max-width: 720px;
}

.vx-about-content h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 14px;
  margin: 40px 0 14px;
  line-height: 1.3;
}
html[data-theme="dark"] .vx-about-content h2 { color: var(--inm-ink); }
.vx-about-content h2:first-child { margin-top: 0; }

.vx-about-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 8px;
}
html[data-theme="dark"] .vx-about-content h3 { color: var(--inm-ink); }

.vx-about-content p {
  font-size: 15px;
  line-height: 1.78;
  color: #374151;
  margin-bottom: 14px;
}
html[data-theme="dark"] .vx-about-content p { color: var(--inm-muted); }

.vx-about-content ul,
.vx-about-content ol {
  font-size: 15px;
  line-height: 1.78;
  color: #374151;
  padding-left: 20px;
  margin-bottom: 14px;
}
html[data-theme="dark"] .vx-about-content ul,
html[data-theme="dark"] .vx-about-content ol { color: var(--inm-muted); }

.vx-about-content li { margin-bottom: 6px; }

.vx-about-content a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--primary-border);
  text-underline-offset: 2px;
}
html[data-theme="dark"] .vx-about-content a { color: var(--inm-brand); }
.vx-about-content a:hover { color: var(--primary); }

.vx-about-content strong {
  font-weight: 600;
  color: var(--text);
}
html[data-theme="dark"] .vx-about-content strong { color: var(--inm-ink); }

.vx-about-content blockquote {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14.5px;
  color: var(--primary-dark);
  line-height: 1.65;
}
html[data-theme="dark"] .vx-about-content blockquote {
  background: var(--inm-gwash);
  border-left-color: var(--inm-brand);
  color: var(--inm-brand);
}

/* Email/contacto CTA especial */
.vx-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1.5px solid var(--primary-border);
  border-radius: 8px;
  padding: 11px 18px;
  margin: 14px 0;
  text-decoration: none;
  transition: all .15s;
}
.vx-contact-cta:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 860px) {
  .vx-info-legal .vx-info-body {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .vx-info-toc {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 0 10px;
    max-height: none;
    overflow-y: visible;
  }
  html[data-theme="dark"] .vx-info-toc { border-bottom-color: var(--inm-border); }
  #vx-toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .vx-toc-item a {
    border-left: none;
    padding: 4px 10px;
    border-radius: 999px;
  }
  .vx-toc-item.active a { border-left: none; }
  .vx-info-content {
    padding: 24px 0 40px;
    max-width: 100%;
  }
  .vx-about-hero { padding: 32px 0 28px; }
  .vx-about-content { padding: 28px 0 40px; }
}

@media (max-width: 600px) {
  .vx-info-header { padding: 22px 0 18px; }
  .vx-faq-body { padding: 20px 0 40px; }
  .vx-faq-a { padding-left: 16px; }
  .vx-about-hero { padding: 24px 0 22px; }
}

/* ================================================================
   VARIANTE C · EXTENSIONES: stats strip + CTA block (/sobre-nosotros/)
   ================================================================ */

/* Stats strip */
.vx-about-stats {
  background: var(--background-soft);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
html[data-theme="dark"] .vx-about-stats {
  background: var(--inm-surface);
  border-bottom-color: var(--inm-border);
}
.vx-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 680px;
}
.vx-about-stat {
  text-align: left;
}
.vx-about-stat-num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.02em;
}
.vx-about-stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
}
html[data-theme="dark"] .vx-about-stat-label { color: var(--inm-muted); }

/* CTA bottom block */
.vx-about-cta-block {
  background: var(--navy);
  padding: 56px 0;
}
.vx-about-cta-title {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -.025em;
  margin: 0 0 10px;
  line-height: 1.25;
}
.vx-about-cta-sub {
  font-size: 15px;
  color: #94A3B8;
  margin: 0 0 28px;
  line-height: 1.6;
}
.vx-about-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.vx-about-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 12px 22px;
  text-decoration: none;
  transition: background .14s, border-color .14s;
  cursor: pointer;
}
.vx-about-btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.vx-about-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  background: transparent;
  color: #94A3B8;
  border: 2px solid #334155;
  border-radius: 8px;
  padding: 12px 22px;
  text-decoration: none;
  transition: color .14s, border-color .14s;
}
.vx-about-btn-secondary:hover {
  color: #F1F5F9;
  border-color: #64748B;
}

/* Responsive stats */
@media (max-width: 640px) {
  .vx-about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .vx-about-cta-block { padding: 40px 0; }
}
@media (max-width: 380px) {
  .vx-about-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   VARIANTE D · Contacto (hero navy + 2 columnas)
   ================================================================ */

.vx-contact-body {
  padding: 48px 0 72px;
  background: var(--background);
}
html[data-theme="dark"] .vx-contact-body { background: var(--inm-bg); }

.vx-contact-body > .wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

/* ── Sidebar info ── */
.vx-contact-sidebar {
  position: sticky;
  top: 24px;
}

.vx-contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.vx-contact-channel-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
html[data-theme="dark"] .vx-contact-channel-icon {
  background: var(--inm-gwash);
  color: var(--inm-brand);
}
.vx-contact-channel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 3px;
}
html[data-theme="dark"] .vx-contact-channel-label { color: var(--inm-muted); }
.vx-contact-channel-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: block;
}
html[data-theme="dark"] .vx-contact-channel-value { color: var(--inm-ink); }
a.vx-contact-channel-value:hover { color: var(--primary); text-decoration: underline; }
.vx-contact-channel-note {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
  line-height: 1.45;
}
html[data-theme="dark"] .vx-contact-channel-note { color: var(--inm-muted); }

.vx-contact-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0 18px;
}
html[data-theme="dark"] .vx-contact-divider { background: var(--inm-border); }

.vx-contact-links-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
html[data-theme="dark"] .vx-contact-links-label { color: var(--inm-muted); }
.vx-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  transition: color .12s;
}
html[data-theme="dark"] .vx-contact-link {
  color: var(--inm-muted);
  border-bottom-color: var(--inm-border);
}
.vx-contact-link:hover { color: var(--primary-dark); }
html[data-theme="dark"] .vx-contact-link:hover { color: var(--inm-brand); }
.vx-contact-link:last-child { border-bottom: none; }
.vx-contact-link svg { flex-shrink: 0; color: var(--primary-border); }

/* ── Columna derecha: formulario ── */
.vx-contact-form-col {
  background: var(--background-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 40px;
}
html[data-theme="dark"] .vx-contact-form-col {
  background: var(--inm-surface);
  border-color: var(--inm-border);
}
.vx-contact-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  margin: 0 0 6px;
}
html[data-theme="dark"] .vx-contact-form-title { color: var(--inm-ink); }
.vx-contact-form-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.55;
}
html[data-theme="dark"] .vx-contact-form-sub { color: var(--inm-muted); }

/* ── CF7 form styling ── */
.vx-cf7-wrapper .wpcf7-form { margin: 0; }

/* Row 2 columnas (nombre + correo) */
.vx-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
/* Campos individuales */
.vx-cf7-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.vx-cf7-row .vx-cf7-field { margin-bottom: 0; }

/* Labels */
.vx-cf7-field label,
.vx-cf7-field > label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
html[data-theme="dark"] .vx-cf7-field label { color: var(--inm-ink); }
.vx-cf7-field label abbr {
  text-decoration: none;
  color: var(--primary);
  margin-left: 2px;
}
.vx-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
html[data-theme="dark"] .vx-optional { color: var(--inm-muted); }

/* Inputs, selects, textareas */
.vx-cf7-wrapper .wpcf7-form-control-wrap { display: block; }
.vx-cf7-wrapper .wpcf7-text,
.vx-cf7-wrapper .wpcf7-email,
.vx-cf7-wrapper .wpcf7-tel,
.vx-cf7-wrapper .wpcf7-select,
.vx-cf7-wrapper .wpcf7-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .14s, box-shadow .14s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: block;
}
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-text,
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-email,
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-tel,
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-select,
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-textarea {
  background: var(--inm-bg);
  border-color: var(--inm-border);
  color: var(--inm-ink);
}
.vx-cf7-wrapper .wpcf7-text:focus,
.vx-cf7-wrapper .wpcf7-email:focus,
.vx-cf7-wrapper .wpcf7-tel:focus,
.vx-cf7-wrapper .wpcf7-select:focus,
.vx-cf7-wrapper .wpcf7-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-text:focus,
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-email:focus,
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-tel:focus,
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-select:focus,
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-textarea:focus {
  box-shadow: 0 0 0 3px var(--inm-gwash);
}
.vx-cf7-wrapper .wpcf7-text::placeholder,
.vx-cf7-wrapper .wpcf7-email::placeholder,
.vx-cf7-wrapper .wpcf7-tel::placeholder,
.vx-cf7-wrapper .wpcf7-textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.vx-cf7-wrapper .wpcf7-textarea { resize: vertical; min-height: 120px; }

/* Select con flecha custom */
.vx-cf7-field--select .wpcf7-form-control-wrap {
  position: relative;
  display: block;
}
.vx-cf7-field--select .wpcf7-form-control-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--muted);
  pointer-events: none;
}
.vx-cf7-wrapper .wpcf7-select { padding-right: 36px; cursor: pointer; }

/* Submit */
.vx-cf7-submit-wrap {
  margin-top: 22px;
}
.vx-cf7-wrapper .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  transition: background .14s, border-color .14s, opacity .14s;
  letter-spacing: .01em;
}
.vx-cf7-wrapper .wpcf7-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.vx-cf7-wrapper .wpcf7-submit:disabled,
.vx-cf7-wrapper .wpcf7-submit[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

/* Spinner CF7 */
.vx-cf7-wrapper .wpcf7-spinner {
  display: none;
  margin-left: 8px;
}
.vx-cf7-wrapper .wpcf7-form.submitting .wpcf7-spinner { display: inline-block; }

/* Mensajes de respuesta */
.vx-cf7-wrapper .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  border: 1.5px solid transparent;
}
.vx-cf7-wrapper .wpcf7-form.sent .wpcf7-response-output {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary-dark);
}
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-form.sent .wpcf7-response-output {
  background: var(--inm-gwash);
  border-color: #2E7D32;
  color: var(--inm-brand);
}
.vx-cf7-wrapper .wpcf7-form.failed .wpcf7-response-output,
.vx-cf7-wrapper .wpcf7-form.aborted .wpcf7-response-output {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}
html[data-theme="dark"] .vx-cf7-wrapper .wpcf7-form.failed .wpcf7-response-output {
  background: #1C0A0A;
  border-color: #7F1D1D;
  color: #FCA5A5;
}
.vx-cf7-wrapper .wpcf7-form.spam .wpcf7-response-output {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #92400E;
}

/* Errores de campo */
.vx-cf7-wrapper .wpcf7-not-valid {
  border-color: #EF4444 !important;
}
.vx-cf7-wrapper .wpcf7-not-valid-tip {
  font-size: 11.5px;
  color: #EF4444;
  margin-top: 4px;
  display: block;
}

/* Responsive contacto */
@media (max-width: 860px) {
  .vx-contact-body > .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vx-contact-sidebar { position: static; }
  .vx-contact-form-col { padding: 28px 24px; }
  .vx-cf7-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .vx-contact-form-col { padding: 20px 16px; border-radius: 10px; }
  .vx-contact-body { padding: 28px 0 48px; }
}
