/*
Theme Name: Vortiz
Theme URI: https://vortiz.cl
Author: Pablo
Description: Tema corporativo para Vortiz SpA (recursos humanos, servicios transitorios, selección, outsourcing y consultoría laboral). Compatible con Elementor Free.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vortiz
Tags: custom-logo, custom-menu, featured-images, full-width-template, translation-ready, blog, one-column
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --vz-ink: #0E1512;
  --vz-ink-2: #141F1A;
  --vz-ink-3: #25342D;
  --vz-mint: #D5E6E0;
  --vz-mint-soft: #EAF3EF;
  --vz-mint-deep: #A9CDBF;
  --vz-accent: #8FE3BE;
  --vz-teal: #1F7F68;
  --vz-muted: #44564E;
  --vz-line: #E1ECE7;
  --vz-font-head: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --vz-font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--vz-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--vz-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--vz-font-head); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vz-teal); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--vz-teal);
  outline-offset: 3px;
}
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.vz-skip { position: absolute; left: -999px; top: 8px; background: var(--vz-ink); color: #fff; padding: 12px 18px; border-radius: 8px; z-index: 1000; }
.vz-skip:focus { left: 8px; color: #fff; }

.vz-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.vz-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ==========================================================================
   Botones y etiquetas
   ========================================================================== */
.vz-tag {
  display: inline-block; font-family: var(--vz-font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px;
  background: var(--vz-mint-soft); color: var(--vz-ink);
}
.vz-tag--dark { background: #1A2822; color: var(--vz-accent); }
.vz-tag--white { background: #fff; }
.vz-tag--mint { background: var(--vz-mint); }
.vz-tag--sm { padding: 6px 12px; }

.vz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--vz-font-head); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 17px 28px; min-height: 52px; border-radius: 10px; border: 2px solid var(--vz-ink);
  cursor: pointer; background: transparent; color: var(--vz-ink); transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.vz-btn--primary { background: var(--vz-accent); color: var(--vz-ink); box-shadow: 4px 4px 0 var(--vz-ink); }
.vz-btn--primary:hover { color: var(--vz-ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--vz-ink); }
.vz-btn--ghost:hover { background: var(--vz-ink); color: #fff; }
.vz-on-dark .vz-btn--primary { border-color: var(--vz-accent); box-shadow: 4px 4px 0 #3E7F69; }
.vz-on-dark .vz-btn--primary:hover { box-shadow: 5px 5px 0 #3E7F69; }
.vz-on-dark .vz-btn--ghost { color: #fff; border-color: #fff; }
.vz-on-dark .vz-btn--ghost:hover { background: #fff; color: var(--vz-ink); }

.vz-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--vz-font-head); font-weight: 600; font-size: 16px; transition: gap .15s; }
.vz-link:hover { gap: 12px; }
.vz-link .vz-ico { width: 20px; height: 20px; }

/* ==========================================================================
   Barra superior y cabecera
   ========================================================================== */
.vz-topbar { background: var(--vz-ink); color: var(--vz-mint); font-size: 14px; }
.vz-topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.vz-topbar__group { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.vz-topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.vz-topbar__item .vz-ico { width: 18px; height: 18px; color: var(--vz-accent); }
.vz-topbar a:hover { color: var(--vz-accent); }

.vz-header { background: #fff; border-bottom: 1px solid var(--vz-line); position: relative; z-index: 50; }
.vz-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding-top: 12px; padding-bottom: 12px; }
.vz-logo { display: inline-flex; align-items: center; }
.vz-logo img, .vz-logo .custom-logo, .vz-header .custom-logo { height: 40px; width: auto; display: block; }
.vz-header .custom-logo-link { display: inline-flex; align-items: center; }
.vz-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 32px; margin-left: 40px; }
.vz-nav nav { margin: 0 auto; }
.vz-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 36px; align-items: center; }
.vz-menu li { position: relative; }
.vz-menu a { font-family: var(--vz-font-head); font-weight: 500; font-size: 16px; padding: 10px 0; display: inline-flex; align-items: center; gap: 6px; }
.vz-menu .current-menu-item > a, .vz-menu .current_page_item > a { color: var(--vz-teal); }
.vz-menu .menu-item-has-children > a::after {
  content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.vz-menu .sub-menu {
  list-style: none; margin: 0; padding: 8px; display: none; position: absolute; top: 100%; left: -16px; min-width: 250px;
  background: #fff; border: 1px solid var(--vz-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(14, 21, 18, .12);
}
.vz-menu li:hover > .sub-menu, .vz-menu li:focus-within > .sub-menu { display: block; }
.vz-menu .sub-menu a { display: flex; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.vz-menu .sub-menu a:hover { background: var(--vz-mint-soft); }

.vz-burger { display: none; background: transparent; border: 2px solid var(--vz-ink); border-radius: 10px; width: 48px; height: 48px; cursor: pointer; padding: 0; align-items: center; justify-content: center; color: var(--vz-ink); }
.vz-burger .vz-ico { width: 24px; height: 24px; }

/* ==========================================================================
   Secciones comunes
   ========================================================================== */
.vz-sec { padding: 104px 0; }
.vz-sec--soft { background: var(--vz-mint-soft); }
.vz-sec--mint { background: var(--vz-mint); }
.vz-sec--dark { background: var(--vz-ink); color: #fff; position: relative; overflow: hidden; }
.vz-sec__head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 720px; margin: 0 auto 56px; }
.vz-h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.vz-lead { font-size: 17px; line-height: 1.7; color: var(--vz-muted); }
.vz-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.vz-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vz-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.vz-hero { position: relative; overflow: hidden; background: var(--vz-ink); color: #fff; min-height: min(86vh, 800px); display: flex; align-items: center; padding: 96px 0 72px; }
.vz-hero__bg { position: absolute; inset: 0; }
.vz-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.vz-hero__slide.is-active { opacity: 1; }
.vz-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vz-hero__overlay { position: absolute; inset: 0; background: var(--vz-ink); opacity: var(--vz-hero-overlay, .6); }
.vz-hero__ring { position: absolute; right: -180px; bottom: -380px; width: 980px; height: 980px; border: 70px solid var(--vz-ink-2); border-radius: 50%; pointer-events: none; }
.vz-hero__mark { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: min(460px, 40vw); height: auto; opacity: .07; pointer-events: none; }
.vz-hero__inner { position: relative; z-index: 2; width: 100%; }
.vz-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 760px; }
.vz-hero__title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.03; color: #fff; }
.vz-hero__lead { font-size: 19px; line-height: 1.65; color: #E4EEE9; max-width: 600px; }
.vz-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 4px; }
.vz-hero .vz-facts { border-top-color: rgba(255, 255, 255, .28); }
.vz-hero__controls { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 28px; }
.vz-hero__dots { display: flex; gap: 4px; }
.vz-hero__dots button { width: 28px; height: 28px; padding: 0; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vz-hero__dots button::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-sizing: border-box; transition: background .2s, border-color .2s; }
.vz-hero__dots button[aria-current="true"]::before { background: var(--vz-accent); border-color: var(--vz-accent); }
.vz-hero__pause { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vz-hero__pause:hover { background: #fff; color: var(--vz-ink); }
.vz-hero__pause .vz-ico { width: 18px; height: 18px; }
.vz-hero__pause .vz-ico--play { display: none; }
.vz-hero__pause[aria-pressed="true"] .vz-ico--pause { display: none; }
.vz-hero__pause[aria-pressed="true"] .vz-ico--play { display: block; }

/* ==========================================================================
   Servicios
   ========================================================================== */
.vz-service { background: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; min-height: 340px; }
.vz-service__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--vz-accent); display: flex; align-items: center; justify-content: center; }
.vz-service:nth-child(even) .vz-service__icon { background: var(--vz-mint-deep); }
.vz-service__icon .vz-ico { width: 28px; height: 28px; }
.vz-service h3 { font-size: 24px; line-height: 1.2; }
.vz-service p { font-size: 16px; line-height: 1.65; color: var(--vz-muted); }
.vz-service .vz-link { margin-top: auto; }

/* ==========================================================================
   Por qué elegirnos
   ========================================================================== */
.vz-why__bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; min-height: 560px; }
.vz-why__photo { grid-row: 1 / span 2; border-radius: 22px; background: var(--vz-mint); overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.vz-why__photo img.vz-why__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vz-why__photo img.vz-why__mark { width: 56%; opacity: .2; }
.vz-why__card { border-radius: 22px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.vz-why__card--accent { background: var(--vz-accent); }
.vz-why__card--dark { background: var(--vz-ink); color: #fff; }
.vz-why__card img { width: 96px; height: auto; display: block; }
.vz-why__card h3 { font-size: 24px; line-height: 1.2; }
.vz-why__card p { font-size: 17px; line-height: 1.55; color: var(--vz-mint); }
.vz-why__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.vz-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; width: 100%; padding-top: 20px; border-top: 1px solid #DCE9E3; list-style: none; margin: 0; }
.vz-checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.vz-checks__ico { width: 28px; height: 28px; border-radius: 8px; background: var(--vz-accent); display: flex; align-items: center; justify-content: center; flex: none; }
.vz-checks__ico .vz-ico { width: 18px; height: 18px; }
.vz-lead--strong { font-family: var(--vz-font-head); font-weight: 500; font-size: 21px; line-height: 1.45; color: var(--vz-ink); }
.vz-lead--dark { color: #C9DAD2; }
.vz-why__label { font-family: var(--vz-font-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--vz-accent); }
.vz-why__big { font-family: var(--vz-font-head); font-weight: 600; font-size: 34px; line-height: 1.1; color: #fff; margin-bottom: 6px; }
.vz-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.vz-chips li { display: inline-flex; align-items: center; gap: 10px; background: var(--vz-mint-soft); padding: 12px 18px; border-radius: 999px; font-family: var(--vz-font-head); font-weight: 600; font-size: 15px; }
.vz-chips .vz-ico { width: 20px; height: 20px; color: var(--vz-teal); }

/* Hero: datos clave */
.vz-facts { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 64px 0 0; padding-top: 32px; border-top: 1px solid var(--vz-ink-3); }
.vz-facts__item { margin: 0; }
.vz-facts dt { font-family: var(--vz-font-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--vz-accent); margin-bottom: 6px; }
.vz-facts dd { margin: 0; font-family: var(--vz-font-head); font-weight: 500; font-size: 19px; color: #fff; }

/* Servicios: número y check */
.vz-service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.vz-service__num { font-family: var(--vz-font-head); font-weight: 600; font-size: 40px; line-height: 1; color: var(--vz-mint-deep); }
.vz-service__check { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--vz-teal) !important; }
.vz-service__check .vz-ico { width: 18px; height: 18px; }

/* Servicios Transitorios */
.vz-trans { align-items: start; }
.vz-trans__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.vz-trans__text .vz-h2 { color: #fff; }
.vz-trans__badge { display: flex; flex-direction: column; gap: 4px; background: #1A2822; padding: 18px 22px; border-radius: 16px; }
.vz-trans__badge strong { font-family: var(--vz-font-head); font-size: 20px; color: var(--vz-accent); }
.vz-trans__badge span { font-size: 15px; color: #C9DAD2; }
.vz-trans__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vz-trans__card { background: var(--vz-ink-2); border: 1px solid var(--vz-ink-3); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.vz-trans__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--vz-accent); color: var(--vz-ink); display: flex; align-items: center; justify-content: center; }
.vz-trans__card h3 { font-size: 21px; color: #fff; }
.vz-trans__card p { font-size: 15px; line-height: 1.6; color: #C9DAD2; }

/* Por qué elegir */
.vz-reason { background: var(--vz-mint-soft); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.vz-reason__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--vz-accent); display: flex; align-items: center; justify-content: center; }
.vz-reason__ico .vz-ico { width: 26px; height: 26px; }
.vz-reason h3 { font-size: 22px; line-height: 1.2; }
.vz-reason p { font-size: 16px; line-height: 1.65; color: var(--vz-muted); }

/* Metodología */
.vz-steps { list-style: none; margin: 0; padding: 0; }
.vz-step { background: #fff; border-radius: 20px; padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.vz-step__num { font-family: var(--vz-font-head); font-weight: 700; font-size: 56px; line-height: 1; color: var(--vz-teal); }
.vz-step h3 { font-size: 24px; line-height: 1.2; }
.vz-step p { font-size: 16px; line-height: 1.65; color: var(--vz-muted); }

.vz-footer__tag { margin-top: 10px; color: #A9BDB4; font-size: 15px; }

/* ==========================================================================
   Misión y visión
   ========================================================================== */
.vz-mv__bgmark { position: absolute; left: -60px; bottom: -40px; width: 620px; height: auto; opacity: .06; pointer-events: none; }
.vz-mv__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.vz-mv__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.vz-mv__text .vz-h2 { color: #fff; }
.vz-mv__cards { display: flex; flex-direction: column; gap: 20px; }
.vz-mv__card { border-radius: 22px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; background: #fff; color: var(--vz-ink); }
.vz-mv__card--mint { background: var(--vz-mint); }
.vz-mv__card h3 { font-size: 24px; line-height: 1.25; }
.vz-mv__card p { font-size: 16px; line-height: 1.7; color: var(--vz-muted); }
.vz-mv__hint { font-style: italic; }

/* ==========================================================================
   Blog (tarjetas)
   ========================================================================== */
.vz-blog__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.vz-blog__head-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 640px; }
.vz-card { display: flex; flex-direction: column; gap: 18px; }
.vz-card__media { display: block; aspect-ratio: 16 / 10; border-radius: 18px; background: var(--vz-mint); overflow: hidden; }
.vz-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vz-card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.vz-card__ph img { width: 90px; height: auto; opacity: .25; object-fit: contain; }
.vz-card__meta { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--vz-muted); }
.vz-card__title { font-size: 22px; line-height: 1.3; }
.vz-card__excerpt { font-size: 16px; color: var(--vz-muted); line-height: 1.6; }
.vz-empty { grid-column: 1 / -1; background: var(--vz-mint-soft); border-radius: 18px; padding: 40px; text-align: center; color: var(--vz-muted); }

/* ==========================================================================
   Contacto
   ========================================================================== */
.vz-contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.vz-contact__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.vz-contact__lead { font-size: 17px; line-height: 1.7; color: #33443D; max-width: 480px; }
.vz-contact__list { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-direction: column; gap: 18px; }
.vz-contact__list li { display: flex; gap: 14px; align-items: center; font-size: 16px; }
.vz-contact__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--vz-ink); color: var(--vz-accent); display: flex; align-items: center; justify-content: center; flex: none; }

.vz-form { background: #fff; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.vz-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vz-field { display: flex; flex-direction: column; gap: 8px; }
.vz-field label { font-family: var(--vz-font-head); font-weight: 600; font-size: 14px; }
.vz-field input, .vz-field textarea {
  font-family: var(--vz-font-body); font-size: 16px; color: var(--vz-ink); background: #F4F9F7;
  border: 1.5px solid #BFD3CA; border-radius: 12px; padding: 14px 16px; width: 100%;
}
.vz-field textarea { min-height: 130px; resize: vertical; }
.vz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vz-notice { border-radius: 12px; padding: 14px 18px; font-size: 15px; font-weight: 500; }
.vz-notice--ok { background: #DDF6EA; color: #0F5B43; }
.vz-notice--error { background: #FDE8E4; color: #8A2A1B; }

/* ==========================================================================
   Pie de página
   ========================================================================== */
.vz-footer { background: var(--vz-ink); color: #fff; padding: 80px 0 32px; }
.vz-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--vz-ink-3); margin-bottom: 56px; }
.vz-footer__logo img, .vz-footer__logo .custom-logo { height: 44px; width: auto; display: block; }
.vz-social { display: flex; align-items: center; gap: 14px; }
.vz-social__label { font-family: var(--vz-font-head); font-weight: 600; font-size: 18px; }
.vz-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--vz-accent); color: var(--vz-ink); display: flex; align-items: center; justify-content: center; }
.vz-social a:hover { color: var(--vz-ink); background: #fff; }
.vz-social .vz-ico { width: 20px; height: 20px; }
.vz-footer h4 { font-size: 20px; color: #fff; margin-bottom: 12px; }
.vz-footer ul { list-style: none; margin: 0; padding: 0; }
.vz-footer li a, .vz-footer__plain { color: #C9DAD2; font-size: 16px; line-height: 2; display: inline-block; }
.vz-footer li a:hover { color: var(--vz-accent); }
.vz-footer__plain { display: block; }
.vz-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; margin-top: 56px; border-top: 1px solid var(--vz-ink-3); font-size: 14px; color: #A9BDB4; }
.vz-footer__bottom a:hover { color: var(--vz-accent); }

/* ==========================================================================
   Páginas internas, entradas y blog
   ========================================================================== */
.vz-pagehead { background: var(--vz-ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.vz-pagehead::after { content: ''; position: absolute; right: -120px; bottom: -260px; width: 620px; height: 620px; border: 56px solid var(--vz-ink-2); border-radius: 50%; }
.vz-pagehead .vz-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.vz-pagehead h1 { font-size: clamp(34px, 4.6vw, 56px); color: #fff; max-width: 880px; }
.vz-pagehead__meta { color: #C9DAD2; font-size: 15px; }
.vz-main { display: block; }
.vz-main--page { padding: 80px 0; }
.vz-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.vz-blog { padding: 80px 0 104px; }

.vz-content > * + * { margin-top: 1.25em; }
.vz-content h2 { font-size: 34px; margin-top: 1.8em; }
.vz-content h3 { font-size: 26px; margin-top: 1.6em; }
.vz-content h4 { font-size: 21px; margin-top: 1.4em; }
.vz-content a { color: var(--vz-teal); text-decoration: underline; text-underline-offset: 3px; }
.vz-content ul, .vz-content ol { padding-left: 1.4em; }
.vz-content li + li { margin-top: .4em; }
.vz-content blockquote { margin-left: 0; padding: 20px 28px; background: var(--vz-mint-soft); border-radius: 16px; font-size: 1.1em; }
.vz-content img { border-radius: 14px; }
.vz-content .alignwide { max-width: 1100px; }
.vz-content .alignfull { max-width: none; }
.vz-content table { border-collapse: collapse; width: 100%; }
.vz-content th, .vz-content td { border: 1px solid var(--vz-line); padding: 10px 14px; text-align: left; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--vz-muted); }

.vz-single__thumb { margin: 0 0 40px; border-radius: 22px; overflow: hidden; }
.vz-single__thumb img { width: 100%; display: block; }
.vz-single__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.vz-postnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--vz-line); }
.vz-postnav a { font-family: var(--vz-font-head); font-weight: 600; }

.vz-pagination { margin-top: 56px; }
.vz-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.vz-pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 2px solid var(--vz-ink); font-family: var(--vz-font-head); font-weight: 600; }
.vz-pagination .page-numbers.current, .vz-pagination .page-numbers:hover { background: var(--vz-accent); color: var(--vz-ink); }

.vz-search { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; }
.vz-search input[type="search"] { flex: 1 1 220px; font-family: var(--vz-font-body); font-size: 16px; padding: 14px 16px; border: 1.5px solid #BFD3CA; border-radius: 12px; background: #F4F9F7; }

.vz-404 { text-align: center; padding: 120px 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.vz-404__code { font-family: var(--vz-font-head); font-weight: 700; font-size: clamp(90px, 16vw, 180px); line-height: 1; color: var(--vz-mint-deep); }

.vz-comments { margin-top: 72px; }
.vz-comments h2 { font-size: 28px; margin-bottom: 24px; }
.vz-comments ol { list-style: none; padding: 0; margin: 0 0 40px; }
.vz-comments .comment-body { background: var(--vz-mint-soft); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; }
.vz-comments .children { list-style: none; padding-left: 28px; }
.vz-comments input[type="text"], .vz-comments input[type="email"], .vz-comments input[type="url"], .vz-comments textarea { width: 100%; font-family: var(--vz-font-body); font-size: 16px; padding: 14px 16px; border: 1.5px solid #BFD3CA; border-radius: 12px; background: #F4F9F7; }
.vz-comments .form-submit input { font-family: var(--vz-font-head); font-weight: 600; font-size: 16px; padding: 16px 26px; border-radius: 10px; border: 2px solid var(--vz-ink); background: var(--vz-accent); color: var(--vz-ink); cursor: pointer; box-shadow: 4px 4px 0 var(--vz-ink); }

/* ==========================================================================
   Elementor Free: sin interferencias del tema
   ========================================================================== */
.vz-main--builder { padding: 0; }
body.elementor-page .vz-main--page { padding: 0; }
.elementor-widget-container a { text-decoration-skip-ink: auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .vz-grid-4, .vz-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .vz-burger { display: inline-flex; }
  .vz-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 24px 28px; border-bottom: 1px solid var(--vz-line); box-shadow: 0 24px 40px rgba(14, 21, 18, .1); gap: 20px;
  }
  .vz-nav.is-open { display: flex; }
  .vz-nav nav { margin: 0; }
  .vz-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .vz-menu a { padding: 14px 0; border-bottom: 1px solid var(--vz-line); width: 100%; }
  .vz-menu .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .vz-menu .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 860px) {
  .vz-grid-2, .vz-mv__grid, .vz-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .vz-sec { padding: 64px 0; }
  .vz-hero { min-height: 0; padding: 72px 0 56px; }
  .vz-why__bento { min-height: 0; }
}
@media (max-width: 620px) {
  .vz-grid-4, .vz-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .vz-checks, .vz-form__row, .vz-why__bento, .vz-facts, .vz-trans__cards { grid-template-columns: minmax(0, 1fr); }
  .vz-why__photo { grid-row: auto; }
  .vz-form { padding: 24px; }
  .vz-footer__top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vz-hero__slide { transition: none !important; }
  * { transition: none !important; }
}

/* ==========================================================================
   Sitio en construcción
   ========================================================================== */
.vz-maint-body { background: #D9E6E1; }
.vz-maint { min-height: 100vh; display: flex; flex-direction: column; background: #D9E6E1; color: var(--vz-ink); }
.vz-maint__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; padding: 64px 24px; }
.vz-maint__logo { width: min(440px, 72vw); height: auto; display: block; }
.vz-maint__status {
  display: flex; align-items: center; gap: 16px; margin: 0; font-family: var(--vz-font-body); font-weight: 500;
  font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: #1F2A25; text-align: center;
}
.vz-maint__status span { display: block; width: 32px; height: 1px; background: #1F2A25; flex: none; }
.vz-maint__info { border-top: 1px solid rgba(14, 21, 18, .2); padding: 28px 24px 32px; }
.vz-maint__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vz-maint__label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #3D4F47; margin-bottom: 6px; font-weight: 500; }
.vz-maint__grid p { font-size: 17px; line-height: 1.4; }
.vz-maint__grid a { text-decoration: underline; text-underline-offset: 3px; }
.vz-maint__grid a:hover { color: var(--vz-teal); }
@media (max-width: 700px) {
  .vz-maint__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .vz-maint__status span { width: 20px; }
}

.vz-maint-notice {
  position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: calc(100vw - 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  background: var(--vz-ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; box-shadow: 0 10px 30px rgba(14, 21, 18, .3);
}
.vz-maint-notice a { color: var(--vz-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vz-maint-notice a:hover { color: #fff; }

/* =========================================================
   Esquema de color alternativo: «Azul noche»
   (Personalizar → Colores → Esquema de color)
   ========================================================= */
body.vz-scheme-azul {
  --vz-ink: #0A0E1A;
  --vz-ink-2: #121A33;
  --vz-ink-3: #1F2B55;
  --vz-mint: #DCE7FF;
  --vz-mint-soft: #EEF3FF;
  --vz-mint-deep: #8FB2FF;
  --vz-accent: #1E6BFF;
  --vz-accent-light: #3A7FFF;
  --vz-teal: #0B3FB0;
  --vz-muted: #46506B;
  --vz-line: #DDE5F7;
  color: #0A0E1A;
}
/* Sobre fondos azules el texto es blanco (contraste AA). */
.vz-scheme-azul .vz-btn--primary,
.vz-scheme-azul .vz-btn--primary:hover,
.vz-scheme-azul .vz-service__icon,
.vz-scheme-azul .vz-reason__ico,
.vz-scheme-azul .vz-checks__ico,
.vz-scheme-azul .vz-trans__ico,
.vz-scheme-azul .vz-why__card--accent,
.vz-scheme-azul .vz-why__card--accent p { color: #fff; }
.vz-scheme-azul .vz-btn--primary { border-color: var(--vz-ink); }
.vz-scheme-azul .vz-on-dark .vz-btn--primary { border-color: var(--vz-accent-light); box-shadow: 4px 4px 0 #0B3FB0; }
.vz-scheme-azul .vz-on-dark .vz-btn--primary:hover { box-shadow: 5px 5px 0 #0B3FB0; }
.vz-scheme-azul .vz-service:nth-child(even) .vz-service__icon { background: var(--vz-teal); color: #fff; }
/* Acento claro para texto e iconos sobre fondo oscuro. */
.vz-scheme-azul .vz-tag--dark { background: #121A33; color: #7FA9FF; }
.vz-scheme-azul .vz-topbar { color: #F4F6FF; }
.vz-scheme-azul .vz-topbar__item .vz-ico,
.vz-scheme-azul .vz-topbar a:hover,
.vz-scheme-azul .vz-facts dt,
.vz-scheme-azul .vz-why__label,
.vz-scheme-azul .vz-trans__badge strong { color: #7FA9FF; }
.vz-scheme-azul .vz-hero__dots button[aria-current="true"]::before { background: #7FA9FF; border-color: #7FA9FF; }
.vz-scheme-azul .vz-trans__badge { background: #121A33; }
.vz-scheme-azul .vz-sec--dark,
.vz-scheme-azul .vz-hero,
.vz-scheme-azul .vz-why__card--dark { color: #F4F6FF; }

/* Tarjetas de «Quiénes somos» con foto de fondo */
.vz-why__card { position: relative; overflow: hidden; isolation: isolate; }
.vz-why__card .vz-why__cardimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vz-why__card.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,21,18,.35), rgba(14,21,18,.78)); }
.vz-scheme-azul .vz-why__card.has-img::before { background: linear-gradient(180deg, rgba(10,14,26,.35), rgba(10,14,26,.82)); }
.vz-why__card.has-img, .vz-why__card.has-img h3, .vz-why__card.has-img p { color: #fff; }
.vz-why__card.has-img img:not(.vz-why__cardimg) { filter: brightness(0) invert(1); }

/* Iconos de redes sociales (pre-header y pie) */
.vz-social__icons { display: flex; align-items: center; gap: 14px; }
.vz-social__icons a { width: 40px; height: 40px; border-radius: 50%; background: var(--vz-accent); color: var(--vz-ink); display: flex; align-items: center; justify-content: center; }
.vz-social__icons a:hover { color: var(--vz-ink); background: #fff; }
.vz-scheme-azul .vz-social__icons a, .vz-scheme-azul .vz-topbar__social a { color: #fff; }
.vz-scheme-azul .vz-social__icons a:hover { color: var(--vz-ink); }
.vz-topbar__social { display: flex; align-items: center; gap: 6px; }
.vz-topbar__social a { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--vz-mint); background: rgba(255,255,255,.08); transition: background .15s, color .15s; }
.vz-topbar__social a:hover { background: var(--vz-accent); color: var(--vz-ink); }
.vz-scheme-azul .vz-topbar__social a:hover { color: #fff; }
.vz-topbar__social .vz-ico { width: 16px; height: 16px; color: currentColor; }
.vz-social a.is-empty, .vz-social__icons a.is-empty, .vz-topbar__social a.is-empty { opacity: .4; outline: 1px dashed currentColor; outline-offset: 2px; }
@media (max-width: 640px) { .vz-topbar__social a { width: 36px; height: 36px; } }
