/* ==========================================================
 * MOBILE APP v7 — Editorial Premium · Villa & Asociados
 * Target: iPhone 12+ y Android modernos (360–430px portrait)
 * Soporte full: safe-area, Dynamic Island, home indicator, landscape
 * ========================================================== */

/* ---------- DESKTOP (≥861px): ocultar MobileApp ---------- */
@media (min-width: 861px) {
  .va-mapp { display: none !important; }
}

/* ---------- MOBILE (≤860px) ---------- */
@media (max-width: 860px) {
  .va-mapp { display: block !important; }

  /* Ocultar desktop solo si hay MobileApp (no romper páginas internas) */
  body:has(.va-mapp) nav.va-nav,
  body:has(.va-mapp) #top,
  body:has(.va-mapp) #audience,
  body:has(.va-mapp) #servicios,
  body:has(.va-mapp) #equipo,
  body:has(.va-mapp) #recursos,
  body:has(.va-mapp) #casos,
  body:has(.va-mapp) #principios,
  body:has(.va-mapp) #clientes,
  body:has(.va-mapp) #contacto,
  body:has(.va-mapp) footer[data-site-footer],
  body:has(.va-mapp) section[data-mobile-hide="true"] {
    display: none !important;
  }
  body:has(.va-mapp) > section:not(.va-mapp),
  body:has(.va-mapp) > footer:not(.va-mapp),
  body:has(.va-mapp) #root > section,
  body:has(.va-mapp) #root > footer {
    display: none !important;
  }
  body:has(.va-mapp) #villa-bot-launcher,
  body:has(.va-mapp) #villa-bot-panel,
  #villa-wa-fab {
    display: none !important;
  }

  html, body { overflow-x: hidden; background: #F5F1EA; }
  body:has(.va-mapp) { padding-bottom: 0 !important; }
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* ==========================================================
   * .va-mapp — tokens
   * ========================================================== */
  .va-mapp {
    --bg:        #F5F1EA;
    --bg-alt:    #EDE6D9;
    --bg-card:   #FFFFFF;
    --ink:       #141414;
    --ink-soft:  #3A3A3A;
    --muted:     #726C62;
    --muted-soft:#8F877B;
    --line:      #E0D6C3;
    --line-soft: #EADFCB;
    --accent:    #8B6F3E;
    --accent-hi: #A88346;
    --accent-soft:#C4A36B;
    --hero-bg:   #111111;
    --hero-ink:  #F5F1EA;
    --hero-mute: #9A948A;
    --success:   #25D366;

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 12px;
    --radius-pill: 999px;

    --serif:     "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    --sans:      "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Safe-area proxies */
    --sa-t: env(safe-area-inset-top, 0px);
    --sa-b: env(safe-area-inset-bottom, 0px);
    --sa-l: env(safe-area-inset-left, 0px);
    --sa-r: env(safe-area-inset-right, 0px);

    /* Edge gutter — respira más en pantallas grandes */
    --gutter: 22px;

    color: var(--ink);
    background: var(--bg);
    font-family: var(--sans);
    line-height: 1.5;
    padding-bottom: calc(76px + var(--sa-b));
  }

  .va-mapp *, .va-mapp *::before, .va-mapp *::after { box-sizing: border-box; }
  .va-mapp a {
    color: inherit; text-decoration: none;
    -webkit-tap-highlight-color: rgba(139,111,62,.12);
    touch-action: manipulation;
  }
  .va-mapp img { max-width: 100%; display: block; }
  .va-mapp em { font-style: italic; }
  .va-mapp h1, .va-mapp h2, .va-mapp h3 { margin: 0; font-weight: 400; text-wrap: balance; }
  .va-mapp p { text-wrap: pretty; }
  .va-mapp button {
    font-family: inherit; background: none; border: 0; cursor: pointer; color: inherit;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* ==========================================================
   * NAV sticky — premium, blur, safe-area
   * ========================================================== */
  .vm-nav {
    position: sticky;
    top: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px var(--gutter);
    padding-top: calc(10px + var(--sa-t));
    background: rgba(245, 241, 234, 0.82);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(224, 214, 195, .6);
    min-height: 56px;
  }
  .vm-brand {
    font-family: var(--serif); font-size: 20px; letter-spacing: 0.005em;
    color: var(--ink); font-weight: 500;
    /* ampliar hit area sin agrandar visual */
    padding: 10px 0;
    line-height: 1;
  }
  .vm-brand .amp { font-style: italic; color: var(--accent); padding: 0 2px; }

  .vm-menu-btn {
    width: 44px; height: 44px;
    display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    border: 1px solid rgba(20,20,20,.12); border-radius: 50%;
    background: rgba(255,255,255,.4);
    transition: background .2s, transform .15s;
  }
  .vm-menu-btn:active {
    background: rgba(20,20,20,.06);
    transform: scale(.94);
  }
  .vm-menu-btn span {
    display: block; width: 15px; height: 1.5px; background: var(--ink); border-radius: 1px;
    transition: transform .2s;
  }

  /* Drawer */
  .vm-drawer-wrap {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(10,10,10,.55); backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: vmFade .2s ease;
  }
  .vm-drawer {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(88vw, 380px);
    background: var(--bg);
    display: flex; flex-direction: column;
    animation: vmSlideL .32s cubic-bezier(.2,.7,.2,1);
    box-shadow: -24px 0 60px rgba(0,0,0,.25);
    padding-top: var(--sa-t);
    padding-right: var(--sa-r);
  }
  .vm-drawer-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--line-soft);
  }
  .vm-drawer-x {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); font-size: 24px; line-height: 1;
    color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s;
  }
  .vm-drawer-x:active { background: rgba(0,0,0,.05); }

  .vm-drawer-nav {
    padding: 20px var(--gutter); display: flex; flex-direction: column; gap: 0; flex: 1;
    overflow-y: auto;
  }
  .vm-drawer-nav a {
    padding: 18px 0;
    font-family: var(--serif); font-size: 24px; color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
    letter-spacing: -.01em;
    min-height: 56px;
    display: flex; align-items: center;
    transition: color .15s, transform .15s;
  }
  .vm-drawer-nav a:active { color: var(--accent); transform: translateX(4px); }

  .vm-drawer-foot {
    padding: 20px var(--gutter);
    padding-bottom: calc(24px + var(--sa-b));
    display: grid; gap: 10px; border-top: 1px solid var(--line-soft);
  }

  /* ==========================================================
   * HERO — impacto editorial
   * ========================================================== */
  .vm-hero {
    background: var(--hero-bg); color: var(--hero-ink);
    padding: 56px var(--gutter) 60px;
    padding-top: calc(40px + var(--sa-t));
    position: relative; overflow: hidden;
  }
  .vm-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(900px 500px at 100% -10%, rgba(139,111,62,0.22), transparent 55%),
      radial-gradient(700px 400px at -10% 110%, rgba(139,111,62,0.12), transparent 60%);
    pointer-events: none;
  }
  .vm-hero::after {
    /* Sutil grano editorial */
    content: ""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.94  0 0 0 0 0.91  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: .5;
    pointer-events: none;
    mix-blend-mode: overlay;
  }
  .vm-hero > * { position: relative; z-index: 1; }

  .vm-hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(245, 241, 234, 0.7);
    border: 1px solid rgba(245, 241, 234, 0.18);
    border-radius: 999px;
    padding: 8px 14px;
    margin-bottom: 28px;
    font-weight: 500;
  }
  .vm-hero-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 111, 62, 0.24);
    animation: vmPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
  }
  @keyframes vmPulse {
    0%,100% { box-shadow: 0 0 0 3px rgba(139, 111, 62, 0.24); opacity: 1; }
    50%     { box-shadow: 0 0 0 7px rgba(139, 111, 62, 0.08); opacity: .85; }
  }

  .vm-h1 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(44px, 12.5vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
  }
  .vm-h1 em {
    font-style: italic;
    color: #D4AF6E;
    background: linear-gradient(180deg, #E6C488 0%, #C09553 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .vm-lede {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(245, 241, 234, 0.78);
    max-width: 36ch;
    margin-bottom: 32px;
    font-weight: 300;
  }

  .vm-hero-cta {
    display: grid; gap: 10px; margin-bottom: 44px;
  }

  .vm-hero-stats {
    display: flex; align-items: stretch; gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(245, 241, 234, 0.14);
  }
  .vm-stat { flex: 1; min-width: 0; }
  .vm-stat-sep {
    width: 1px; align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(245,241,234,0.22), transparent);
  }
  .vm-stat-n {
    font-family: var(--serif); font-size: 32px; line-height: 1; font-weight: 500;
    color: var(--hero-ink); margin-bottom: 8px;
    letter-spacing: -0.015em;
  }
  .vm-stat-l {
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--hero-mute); line-height: 1.4;
    font-weight: 500;
  }

  /* ==========================================================
   * BUTTONS — premium, hit 48px min
   * ========================================================== */
  .vm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 24px;
    min-height: 52px;
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    border-radius: var(--radius-pill);
    transition: transform .15s ease, background .2s, box-shadow .2s;
    position: relative; overflow: hidden;
    text-decoration: none;
  }
  .vm-btn:active { transform: scale(.97); }
  .vm-btn-primary {
    background: var(--accent);
    color: var(--hero-ink);
    box-shadow: 0 8px 24px -8px rgba(139,111,62,.5);
  }
  .vm-btn-primary:active {
    background: var(--accent-hi);
  }
  .vm-btn-ghost {
    background: transparent; color: var(--hero-ink);
    border: 1px solid rgba(245,241,234,.28);
  }
  .vm-btn-ghost:active { background: rgba(245,241,234,.06); }
  .vm-btn-ghost-light {
    background: transparent; color: var(--ink);
    border: 1px solid var(--line);
  }
  .vm-btn-ghost-light:active { background: rgba(0,0,0,.04); }
  .vm-btn-ghost-dark {
    background: transparent; color: var(--ink);
    border: 1px solid rgba(20,20,20,.8);
  }
  .vm-btn-ghost-dark:active { background: rgba(20,20,20,.05); }
  .vm-btn-wa {
    background: var(--success); color: #062b1c;
    box-shadow: 0 8px 24px -8px rgba(37,211,102,.4);
  }

  /* ==========================================================
   * CALC EXPRESS — hero tool
   * ========================================================== */
  .vm-cx {
    padding: 64px var(--gutter) 72px;
    border-top: 1px solid var(--line-soft);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  }
  .vm-cx .vm-eyebrow { margin-bottom: 12px; }
  .vm-cx .vm-h2 { margin-bottom: 12px; }
  .vm-cx-sub {
    font-family: var(--serif); font-style: italic;
    font-size: 18px; color: var(--muted);
    margin: 0 0 32px; max-width: 42ch; line-height: 1.5;
  }
  .vm-cx-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px 22px 24px;
    box-shadow:
      0 1px 0 rgba(255,255,255,.5) inset,
      0 24px 60px -32px rgba(20,17,13,0.2),
      0 4px 12px -6px rgba(20,17,13,0.08);
  }
  .vm-cx-field { margin-bottom: 22px; }
  .vm-cx-field:last-of-type { margin-bottom: 26px; }
  .vm-cx-label {
    display: block;
    font-family: var(--sans); font-size: 11px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 10px;
  }
  .vm-cx-input {
    width: 100%; display: block;
    background: #FDFBF7;
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--serif); font-size: 26px; font-weight: 400;
    padding: 14px 16px;
    min-height: 56px;
    border-radius: var(--radius-sm);
    transition: border 0.2s, background 0.2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
  }
  .vm-cx-input::placeholder { color: rgba(114,108,98,0.4); font-style: italic; }
  .vm-cx-input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139,111,62,0.1);
  }
  .vm-cx-input.is-err {
    border-color: #C65D3A; background: #FFF6F2;
    animation: vmCxShake 0.35s ease;
  }
  @keyframes vmCxShake {
    0%,100% { transform: translateX(0); }
    25%     { transform: translateX(-4px); }
    75%     { transform: translateX(4px); }
  }
  .vm-cx-input[type="number"]::-webkit-inner-spin-button,
  .vm-cx-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none; margin: 0;
  }
  .vm-cx-hint {
    margin-top: 7px;
    font-family: var(--sans); font-size: 12.5px;
    color: var(--muted); line-height: 1.45;
  }
  .vm-cx-toggle {
    display: flex; gap: 8px;
  }
  .vm-cx-toggle button {
    flex: 1;
    background: #FDFBF7;
    border: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 10px;
    min-height: 52px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.18s;
  }
  .vm-cx-toggle button.is-on {
    background: rgba(139,111,62,0.08);
    border-color: var(--accent);
    color: var(--ink);
    font-weight: 600;
  }
  .vm-cx-toggle button:active { transform: scale(0.98); }

  .vm-cx-go {
    width: 100%;
    background: var(--accent);
    color: var(--hero-ink);
    border: 0;
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 18px;
    min-height: 56px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.12s, background 0.2s, box-shadow .2s;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    box-shadow: 0 8px 24px -12px rgba(139,111,62,.5);
  }
  .vm-cx-go:active { transform: scale(0.99); background: var(--accent-hi); }
  .vm-cx-go span { font-family: var(--serif); font-size: 16px; letter-spacing: 0; }

  /* Resultado */
  .vm-cx-result {
    margin-top: 24px;
    padding: 28px 22px;
    background: linear-gradient(180deg, rgba(139,111,62,0.08), rgba(139,111,62,0.02));
    border: 1px solid rgba(139,111,62,0.35);
    border-radius: var(--radius-md);
    text-align: center;
    animation: vmCxIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes vmCxIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .vm-cx-result-label {
    font-family: var(--sans); font-size: 10px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
  }
  .vm-cx-result-amt {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(38px, 11vw, 52px); line-height: 1.02;
    color: var(--ink); letter-spacing: -0.025em;
    margin-bottom: 6px;
  }
  .vm-cx-result-range {
    font-family: var(--serif); font-style: italic;
    font-size: 14px; color: var(--muted);
    margin-bottom: 20px;
  }
  .vm-cx-result-note {
    font-family: var(--sans); font-size: 12.5px;
    color: var(--ink-soft); line-height: 1.6;
    max-width: 380px; margin: 0 auto 22px;
    padding-top: 18px; border-top: 1px solid rgba(139,111,62,0.25);
    text-align: left;
  }
  .vm-cx-result-wa {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--success); color: #fff;
    text-decoration: none;
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 24px; min-height: 52px;
    border-radius: var(--radius-pill);
    transition: background 0.2s, transform 0.12s;
    box-shadow: 0 8px 20px -10px rgba(37,211,102,.4);
  }
  .vm-cx-result-wa:active { transform: scale(0.98); }
  .vm-cx-result-wa svg { width: 16px; height: 16px; flex-shrink: 0; }

  .vm-cx-disclaimer {
    margin-top: 20px; text-align: center;
    font-family: var(--sans); font-size: 11.5px;
    color: var(--muted); line-height: 1.6;
    max-width: 440px; margin-left: auto; margin-right: auto;
  }

  /* ==========================================================
   * SECTIONS
   * ========================================================== */
  .vm-section {
    padding: 76px var(--gutter) 80px;
    border-top: 1px solid var(--line-soft);
    position: relative;
  }
  .vm-section-alt { background: var(--bg-alt); }

  .vm-eyebrow {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px;
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .vm-eyebrow::before {
    content: ""; width: 18px; height: 1px; background: var(--accent);
    display: inline-block;
  }

  .vm-h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 9.5vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink); margin-bottom: 20px;
  }
  .vm-h2 em { color: var(--accent); }

  .vm-sub {
    font-size: 15px; line-height: 1.6; color: var(--muted);
    margin: 0 0 40px; max-width: 44ch;
  }

  /* ==========================================================
   * AUDIENCIA DUAL
   * ========================================================== */
  .vm-aud-cards { display: grid; gap: 14px; margin-top: 36px; }
  .vm-aud-card {
    display: block; padding: 32px 26px;
    background: var(--bg-card); border: 1px solid var(--line);
    position: relative; overflow: hidden;
    border-radius: var(--radius-md);
    transition: border-color .25s, transform .18s, box-shadow .25s;
  }
  .vm-aud-card:active { transform: scale(.99); }
  .vm-aud-worker {
    background: var(--bg-card);
    box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 32px -16px rgba(20,17,13,.1);
  }
  .vm-aud-worker:active {
    border-color: var(--accent);
    box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 32px -16px rgba(139,111,62,.2);
  }
  .vm-aud-company {
    background: #111; color: var(--hero-ink); border-color: #111;
  }
  .vm-aud-company .vm-aud-d { color: rgba(245,241,234,.68); }
  .vm-aud-company .vm-aud-cta { color: var(--accent-soft); }

  .vm-aud-ic {
    width: 52px; height: 52px; color: var(--accent); margin-bottom: 24px;
  }
  .vm-aud-ic svg { width: 100%; height: 100%; }
  .vm-aud-k {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 10px;
    font-weight: 600;
  }
  .vm-aud-company .vm-aud-k { color: var(--hero-mute); }
  .vm-aud-t {
    font-family: var(--serif); font-size: 28px; line-height: 1.08;
    letter-spacing: -0.015em; margin-bottom: 12px;
  }
  .vm-aud-d {
    font-size: 14.5px; line-height: 1.6; color: var(--muted);
    margin-bottom: 22px;
  }
  .vm-aud-cta {
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
  }

  /* ==========================================================
   * SERVICIOS (12 áreas expandibles)
   * ========================================================== */
  .vm-srv { list-style: none; margin: 0; padding: 0; }
  .vm-srv-item { border-top: 1px solid var(--line); }
  .vm-srv-item:last-child { border-bottom: 1px solid var(--line); }

  .vm-srv-head {
    width: 100%; display: grid;
    grid-template-columns: 36px 1fr 32px; gap: 14px;
    padding: 24px 0; align-items: start; text-align: left;
    min-height: 76px;
    transition: background .15s;
  }
  .vm-srv-head:active { background: rgba(139,111,62,.04); }
  .vm-srv-num {
    font-family: var(--serif); font-size: 16px; font-style: italic;
    color: var(--accent); padding-top: 6px;
  }
  .vm-srv-t {
    display: block;
    font-family: var(--serif); font-size: 22px; font-weight: 500;
    color: var(--ink); margin-bottom: 4px;
    letter-spacing: -0.012em; line-height: 1.18;
  }
  .vm-srv-d {
    display: block; font-size: 14px; line-height: 1.5;
    color: var(--muted);
  }
  .vm-srv-plus {
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); color: var(--ink);
    transition: transform .3s cubic-bezier(.2,.7,.2,1), background .25s, border-color .25s;
    flex-shrink: 0; margin-top: 4px;
    background: var(--bg-card);
  }
  .vm-srv-plus.is-open {
    transform: rotate(45deg);
    background: var(--ink); color: var(--bg); border-color: var(--ink);
  }
  .vm-srv-plus svg { width: 14px; height: 14px; }

  .vm-srv-long {
    padding: 4px 0 28px 50px;
    animation: vmExpand .4s cubic-bezier(.2,.7,.2,1);
  }
  .vm-srv-long p {
    font-size: 14.5px; line-height: 1.7;
    color: var(--ink-soft); margin: 0 0 18px;
  }
  .vm-srv-ask {
    display: inline-block;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent); font-weight: 600;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    min-height: 32px;
  }

  /* ==========================================================
   * CALCULADORAS
   * ========================================================== */
  .vm-calc-list { list-style: none; margin: 0; padding: 0; }

  .vm-calc-row {
    display: grid; grid-template-columns: 52px 1fr 16px;
    align-items: center; gap: 18px;
    padding: 22px 4px;
    min-height: 80px;
    border-top: 1px solid var(--line);
    color: var(--ink); transition: background 0.18s, padding 0.2s;
  }
  .vm-calc-list li:last-child .vm-calc-row { border-bottom: 1px solid var(--line); }
  .vm-calc-row:active { background: rgba(139, 111, 62, 0.06); }

  .vm-calc-ico {
    width: 44px; height: 44px; color: var(--accent); opacity: 0.95;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .vm-calc-ico svg { width: 100%; height: 100%; }
  .vm-calc-t {
    display: block;
    font-family: var(--serif); font-size: 21px; font-weight: 500;
    letter-spacing: -0.012em; line-height: 1.18; margin-bottom: 4px;
    color: var(--ink);
  }
  .vm-calc-s {
    display: block; font-size: 13px; color: var(--muted); line-height: 1.45;
  }
  .vm-chev {
    width: 16px; height: 16px; color: var(--muted); justify-self: end;
    transition: transform .2s, color .2s;
  }
  .vm-calc-row:active .vm-chev { transform: translateX(3px); color: var(--accent); }

  /* ==========================================================
   * CASOS REALES
   * ========================================================== */
  .vm-cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
  .vm-case {
    display: block; padding: 30px 24px;
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: var(--ink); transition: transform .18s, border-color .25s, box-shadow .25s;
    box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 24px -16px rgba(20,17,13,.08);
  }
  .vm-case:active {
    transform: scale(.99);
    border-color: var(--accent);
    box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 32px -16px rgba(139,111,62,.2);
  }
  .vm-case-tag {
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px; font-weight: 600;
  }
  .vm-case-t {
    font-family: var(--serif); font-size: 23px; line-height: 1.18;
    letter-spacing: -0.015em; color: var(--ink); margin-bottom: 12px;
  }
  .vm-case-b {
    font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
    margin: 0 0 22px;
  }
  .vm-case-ref {
    padding: 14px 0; border-top: 1px solid var(--line-soft);
    margin-bottom: 16px;
  }
  .vm-case-ref-l {
    display: block;
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
    font-weight: 600;
  }
  .vm-case-ref-v {
    font-family: var(--serif); font-size: 14px; font-style: italic;
    color: var(--ink-soft); line-height: 1.45;
  }
  .vm-case-cta {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent); font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
  }

  /* ==========================================================
   * EQUIPO
   * ========================================================== */
  .vm-team { list-style: none; margin: 0; padding: 0; }
  .vm-team-item { border-top: 1px solid var(--line); }
  .vm-team-item:last-child { border-bottom: 1px solid var(--line); }

  .vm-team-btn {
    display: grid;
    grid-template-columns: 76px 1fr 16px;
    gap: 18px; width: 100%;
    padding: 24px 0; align-items: center;
    text-align: left;
    min-height: 100px;
    transition: background .15s;
  }
  .vm-team-btn:active { background: rgba(139,111,62,.05); }

  .vm-team-ph {
    width: 76px; height: 76px; border-radius: 50%;
    object-fit: cover; object-position: center 18%;
    background: var(--line);
    filter: grayscale(0.15) contrast(1.02);
    box-shadow: 0 6px 20px -10px rgba(20,17,13,.25);
  }
  .vm-team-n {
    display: block;
    font-family: var(--serif); font-size: 21px; font-weight: 500;
    color: var(--ink); margin-bottom: 3px;
    letter-spacing: -0.012em; line-height: 1.15;
  }
  .vm-team-r {
    display: block;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 7px;
    font-weight: 600;
  }
  .vm-team-s {
    display: block;
    font-size: 13px; color: var(--muted); line-height: 1.5;
  }

  /* Modal perfil */
  .vm-tmodal-wrap {
    position: fixed; inset: 0; z-index: 250;
    background: rgba(10,10,10,.75); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: flex-end; justify-content: center;
    animation: vmFade .22s ease;
  }
  .vm-tmodal {
    position: relative; width: 100%;
    max-height: 94vh; overflow-y: auto;
    background: var(--bg); color: var(--ink);
    animation: vmSlideUp .34s cubic-bezier(.2,.7,.2,1);
    -webkit-overflow-scrolling: touch;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding-bottom: var(--sa-b);
  }
  .vm-tmodal-x {
    position: absolute; top: calc(16px + var(--sa-t)); right: 16px; z-index: 3;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    font-size: 24px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,.2);
  }
  .vm-tmodal-hero {
    position: relative; height: 340px; overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
  .vm-tmodal-hero img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
    filter: contrast(1.02);
  }
  .vm-tmodal-hero-grad {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(245,241,234,.98) 100%);
  }
  .vm-tmodal-body { padding: 8px 26px 40px; margin-top: -40px; position: relative; z-index: 2; }
  .vm-tmodal-role {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px; font-weight: 600;
  }
  .vm-tmodal-name {
    font-family: var(--serif); font-size: 32px; line-height: 1.05;
    letter-spacing: -0.022em; margin-bottom: 18px;
  }
  .vm-tmodal-rule { width: 44px; height: 1px; background: var(--accent); margin-bottom: 20px; }
  .vm-tmodal-bio {
    font-size: 14.5px; line-height: 1.7; color: var(--ink-soft);
    margin: 0 0 26px;
  }
  .vm-tmodal-block { margin-bottom: 24px; }
  .vm-tmodal-l {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 10px; font-weight: 600;
  }
  .vm-tmodal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .vm-tmodal-tags span {
    font-size: 12px; padding: 7px 12px;
    background: var(--bg-card); border: 1px solid var(--line); color: var(--ink);
    border-radius: var(--radius-sm);
  }
  .vm-tmodal-edu {
    font-size: 13px; line-height: 1.55; color: var(--ink);
  }
  .vm-tmodal-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 24px 0 22px; border-top: 1px solid var(--line); margin-top: 8px;
  }
  .vm-tmodal-nav button {
    padding: 14px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    border: 1px solid var(--line); color: var(--ink);
    min-height: 48px;
    font-weight: 600;
  }
  .vm-tmodal-nav button:active { background: rgba(0,0,0,.04); }
  .vm-tmodal-cta { width: 100%; }

  /* ==========================================================
   * PRINCIPIOS
   * ========================================================== */
  .vm-principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
  .vm-pri-item {
    display: grid; grid-template-columns: 58px 1fr;
    gap: 18px; padding: 28px 0;
    border-top: 1px solid var(--line);
  }
  .vm-pri-item:last-child { border-bottom: 1px solid var(--line); }
  .vm-pri-num {
    font-family: var(--serif); font-size: 30px;
    font-style: italic; color: var(--accent); line-height: 1;
  }
  .vm-pri-t {
    font-family: var(--serif); font-size: 23px; line-height: 1.18;
    letter-spacing: -0.015em; margin-bottom: 8px;
  }
  .vm-pri-d {
    font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0;
  }

  /* ==========================================================
   * CLIENTES
   * ========================================================== */
  .vm-clients {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .vm-client {
    background: var(--bg-card); border: 1px solid var(--line);
    padding: 26px 18px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    text-align: center;
    border-radius: var(--radius-sm);
    min-height: 140px;
    transition: border-color .2s;
  }
  .vm-client img {
    width: 76px; height: 76px; object-fit: contain;
    filter: grayscale(1) contrast(1.1) opacity(.72);
    transition: filter .25s;
  }
  .vm-client:active img { filter: grayscale(0) contrast(1) opacity(1); }
  .vm-client-n {
    font-size: 11px; letter-spacing: 0.06em; color: var(--muted);
    line-height: 1.3;
  }

  /* ==========================================================
   * CONTACTO
   * ========================================================== */
  .vm-contact-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin: 0 0 40px;
  }
  .vm-contact-cta .vm-btn { width: 100%; padding: 16px 12px; }

  .vm-contact-list { list-style: none; margin: 0; padding: 0; }
  .vm-contact-row {
    display: block;
    padding: 22px 0;
    min-height: 76px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    transition: background .15s;
  }
  .vm-contact-list li:last-child .vm-contact-row { border-bottom: 1px solid var(--line); }
  .vm-contact-row:active { background: rgba(139,111,62,.04); }
  .vm-contact-l {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 7px;
    font-weight: 600;
  }
  .vm-contact-v {
    font-family: var(--serif); font-size: 22px; font-weight: 500;
    line-height: 1.3; color: var(--ink); letter-spacing: -0.012em;
  }
  .vm-contact-hrs .vm-contact-v {
    font-family: var(--sans); font-size: 15px; font-weight: 400;
    color: var(--ink-soft); letter-spacing: 0;
  }

  /* ==========================================================
   * FOOTER
   * ========================================================== */
  .vm-footer {
    padding: 64px var(--gutter) 52px;
    padding-bottom: calc(52px + var(--sa-b));
    background: #111; color: rgba(245, 241, 234, 0.7);
    text-align: center;
  }
  .vm-footer-brand {
    font-family: var(--serif); font-size: 24px;
    color: #F5F1EA; margin-bottom: 10px; letter-spacing: 0.005em;
  }
  .vm-footer-brand .amp { color: var(--accent); font-style: italic; padding: 0 2px; }
  .vm-footer-meta {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--hero-mute); margin-bottom: 32px;
    line-height: 1.55;
  }
  .vm-footer-social {
    display: flex; justify-content: center; gap: 14px; margin-bottom: 32px;
  }
  .vm-footer-social a {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(245, 241, 234, 0.18); border-radius: 50%;
    color: rgba(245, 241, 234, 0.8);
    transition: background 0.18s, color 0.18s, transform .15s;
  }
  .vm-footer-social a:active {
    background: rgba(139, 111, 62, 0.25); color: #F5F1EA;
    transform: scale(.94);
  }
  .vm-footer-copy {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(245, 241, 234, 0.42);
  }

  /* ==========================================================
   * ANIMACIONES
   * ========================================================== */
  @keyframes vmFade   { from { opacity: 0 } to { opacity: 1 } }
  @keyframes vmSlideL { from { transform: translateX(100%) } to { transform: translateX(0) } }
  @keyframes vmSlideUp{ from { transform: translateY(32px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
  @keyframes vmExpand { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: translateY(0) } }

  /* ==========================================================
   * DEVICE BREAKPOINTS — fine-tune por tamaño
   * ========================================================== */

  /* iPhone SE / pequeños (≤375px) */
  @media (max-width: 375px) {
    .va-mapp { --gutter: 18px; }
    .vm-h1 { font-size: clamp(38px, 11vw, 48px); letter-spacing: -0.02em; }
    .vm-h2 { font-size: clamp(30px, 8.5vw, 36px); }
    .vm-lede { font-size: 15px; }
    .vm-hero { padding: 44px var(--gutter) 54px; padding-top: calc(32px + var(--sa-t)); }
    .vm-hero-badge { font-size: 10px; padding: 7px 12px; margin-bottom: 22px; }
    .vm-section { padding: 64px var(--gutter) 68px; }
    .vm-hero-stats { gap: 12px; }
    .vm-stat-n { font-size: 26px; }
    .vm-stat-l { font-size: 9.5px; letter-spacing: .1em; }
    .vm-aud-t { font-size: 24px; }
    .vm-srv-t, .vm-calc-t, .vm-case-t, .vm-team-n, .vm-pri-t, .vm-contact-v { font-size: 19px; }
    .vm-cx-input { font-size: 22px; }
  }

  /* iPhone 12/13/14 standard (376–400) */
  @media (min-width: 376px) and (max-width: 400px) {
    .va-mapp { --gutter: 22px; }
  }

  /* iPhone Plus/Pro Max / Pixel XL (401–430+) */
  @media (min-width: 401px) and (max-width: 480px) {
    .va-mapp { --gutter: 26px; }
    .vm-h1 { font-size: clamp(52px, 13vw, 72px); }
    .vm-h2 { font-size: clamp(38px, 10vw, 52px); }
    .vm-stat-n { font-size: 34px; }
  }

  /* ==========================================================
   * LANDSCAPE — optimizado para teléfonos girados
   * ========================================================== */
  @media (orientation: landscape) and (max-height: 500px) {
    .vm-hero {
      padding: 32px var(--gutter) 40px;
      padding-top: calc(20px + var(--sa-t));
      padding-left: max(var(--gutter), var(--sa-l));
      padding-right: max(var(--gutter), var(--sa-r));
    }
    .vm-h1 { font-size: clamp(34px, 7vw, 52px); margin-bottom: 18px; }
    .vm-lede { margin-bottom: 22px; }
    .vm-hero-cta { grid-template-columns: 1fr 1fr; margin-bottom: 28px; }
    .vm-hero-stats { padding-top: 22px; gap: 14px; }
    .vm-stat-n { font-size: 26px; }

    .vm-section {
      padding: 56px var(--gutter);
      padding-left: max(var(--gutter), var(--sa-l));
      padding-right: max(var(--gutter), var(--sa-r));
    }
    .vm-h2 { margin-bottom: 18px; }
    .vm-contact-cta { grid-template-columns: 1fr 1fr 1fr; }
    .va-mapp { padding-bottom: calc(70px + var(--sa-b)); }
  }

  /* ==========================================================
   * TABLETS (700-860px)
   * ========================================================== */
  @media (min-width: 700px) and (max-width: 860px) {
    .va-mapp { --gutter: 48px; }
    .vm-hero { padding: 88px var(--gutter) 96px; padding-top: calc(72px + var(--sa-t)); }
    .vm-section { padding: 104px var(--gutter); }
    .vm-h1 { font-size: clamp(60px, 9vw, 84px); }
    .vm-h2 { font-size: clamp(44px, 6.5vw, 56px); }

    .vm-aud-cards { grid-template-columns: 1fr 1fr; }
    .vm-cases { grid-template-columns: 1fr 1fr; }
    .vm-clients { grid-template-columns: repeat(3, 1fr); }
    .vm-principles { grid-template-columns: 1fr 1fr; gap: 0 32px; }
    .vm-principles .vm-pri-item:nth-child(2) { border-top: 1px solid var(--line); }
  }

  /* ==========================================================
   * PREFERS REDUCED MOTION
   * ========================================================== */
  @media (prefers-reduced-motion: reduce) {
    .va-mapp *, .va-mapp *::before, .va-mapp *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
  }
}
