/* NM Visual Studio (clásico) — inicio (condicional)
   Refactor estilos en línea -> clases. Declaraciones VERBATIM. Cargado tras
   nm.css. NO re-ejecutar /tmp/nmvs_build/compile_partials.py (obsoleto). */

.nm .nm-home-a-1 { display: inline-flex; align-items: center; gap: 12px; background: var(--nm-navy-900); color: var(--nm-white); font-size: 15px; font-weight: 500; letter-spacing: .03em; padding: 17px 32px; border-radius: 999px; text-decoration: none; white-space: nowrap; box-shadow: var(--shadow-md); transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .32s cubic-bezier(.16,1,.3,1); }
.nm .nm-home-a-2 { grid-column: 1 / 7; grid-row: 1 / 3; position: relative; overflow: hidden; border-radius: 28px 0 28px 0; text-decoration: none; background: var(--nm-stone-300); }
.nm .nm-home-a-3 { grid-column: 7 / 13; grid-row: 1 / 2; position: relative; overflow: hidden; border-radius: 24px 0 24px 0; text-decoration: none; background: var(--nm-stone-300); }
.nm .nm-home-a-4 { grid-column: 7 / 13; grid-row: 2 / 3; position: relative; overflow: hidden; border-radius: 24px 0 24px 0; text-decoration: none; background: var(--nm-stone-300); }
.nm .nm-home-a-5 { grid-column: 1 / 8; position: relative; overflow: hidden; border-radius: 28px 0 28px 0; text-decoration: none; background: var(--nm-stone-300); }
.nm .nm-home-a-6 { display: inline-flex; align-items: center; gap: 12px; background: var(--nm-navy-900); color: var(--nm-white); font-size: 15px; font-weight: 500; letter-spacing: .03em; padding: 20px 38px; border-radius: 999px; text-decoration: none; white-space: nowrap; box-shadow: var(--shadow-md); transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .32s cubic-bezier(.16,1,.3,1); }
.nm .nm-home-a-7 { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--nm-gold-400); padding-bottom: 5px; transition: gap .3s cubic-bezier(.16,1,.3,1); }
.nm .nm-home-div-1 { position: absolute; left: clamp(14px, 2.4vw, 30px); top: 52%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--text-muted); z-index: 5; display: flex; align-items: center; gap: 18px; }
.nm .nm-home-div-10 { width: 100%; line-height: 0; background: var(--nm-beige-100); }
.nm .nm-home-div-11 { position: absolute; right: clamp(-40px, -1vw, 10px); top: clamp(54px, 7vw, 110px); bottom: clamp(6px, 1.5vw, 18px); width: clamp(320px, 36vw, 540px); pointer-events: none; z-index: 0; opacity: 0.55; }
.nm .nm-home-div-12 { position: relative; z-index: 1; width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(20px,5vw,72px); padding-top: clamp(28px,3.5vw,52px); padding-bottom: clamp(72px, 9vw, 124px); padding-right: clamp(24px, 17vw, 300px); }
.nm .nm-home-div-13 { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.nm .nm-home-div-14 { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: start; gap: clamp(8px,1vw,18px); }
.nm .nm-home-div-15 { display: flex; flex-direction: column; gap: 12px; }
.nm .nm-home-div-16 { display: flex; align-items: flex-start; justify-content: center; padding-top: 14px; }
.nm .nm-home-div-17 { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(20px,5vw,72px); padding-top: clamp(8px,2vw,28px); padding-bottom: clamp(76px, 9vw, 124px); }
.nm .nm-home-div-18 { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.nm .nm-home-div-19 { position: relative; width: 100%; max-width: 620px; margin-inline: auto; opacity: 0.72; }
.nm .nm-home-div-2 { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center; min-height: clamp(500px, 74vh, 660px); padding-top: 112px; padding-bottom: 60px; }
.nm .nm-home-div-20 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(56px, 6vw, 88px); }
.nm .nm-home-div-21 { display: flex; gap: 28px; align-items: flex-start; max-width: 54ch; }
.nm .nm-home-div-22 { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(20px,5vw,72px); padding-top: clamp(40px,5vw,72px); }
.nm .nm-home-div-23 { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 52px; }
.nm .nm-home-div-24 { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 300px 300px; gap: 24px; }
.nm .nm-home-div-25 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,29,43,.82) 0%, rgba(15,29,43,0) 44%); display: flex; align-items: flex-end; justify-content: space-between; padding: 30px; }
.nm .nm-home-div-26 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,29,43,.8) 0%, rgba(15,29,43,0) 52%); display: flex; align-items: flex-end; justify-content: space-between; padding: 26px; }
.nm .nm-home-div-27 { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 360px; gap: 24px; margin-top: 24px; }
.nm .nm-home-div-28 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,29,43,.82) 0%, rgba(15,29,43,0) 46%); display: flex; align-items: flex-end; justify-content: space-between; padding: 30px; }
.nm .nm-home-div-29 { overflow: hidden; padding-block: 10px; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.nm .nm-home-div-3 { position: relative; z-index: 3; max-width: 600px; }
.nm .nm-home-div-30 { display: flex; align-items: center; width: max-content; animation: nm-marq 90s linear infinite; }
.nm .nm-home-div-31 { width: 100%; line-height: 0; background: var(--surface-soft); margin-top: clamp(26px, 3.6vw, 52px); }
.nm .nm-home-div-32 { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(20px,5vw,72px); padding-block: clamp(76px, 9vw, 128px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.nm .nm-home-div-33 { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.nm .nm-home-div-4 { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.nm .nm-home-div-5 { position: absolute; top: 0; right: 0; width: 53%; height: 100%; overflow: hidden; background: var(--nm-stone-300); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 100%); }
.nm .nm-home-div-6 { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; line-height: 0; }
.nm .nm-home-div-7 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.nm .nm-home-div-8 { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.nm .nm-home-div-9 { overflow: hidden; border-radius: 12px 0 12px 0; height: 112px; }
.nm .nm-home-g-1 { stroke: var(--nm-gold-400); }
.nm .nm-home-h1-1 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; color: var(--text-strong); font-size: clamp(2.4rem, 4.4vw, 3.9rem); margin: 0; }
.nm .nm-home-h2-1 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; color: var(--text-strong); font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0; max-width: 16ch; }
.nm .nm-home-h2-2 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; color: var(--text-strong); font-size: clamp(2rem, 3.4vw, 3rem); margin: 0; }
.nm .nm-home-h2-3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--nm-white); font-size: clamp(2rem, 4.4vw, 3.7rem); margin: 0; max-width: 20ch; }
.nm .nm-home-h2-4 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.01em; color: var(--text-strong); font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 0; }
.nm .nm-home-h2-5 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.015em; color: var(--text-strong); font-size: clamp(2.4rem, 5.6vw, 5rem); margin: 0; max-width: 16ch; }
/* a11y: la palabra-acento dorada de estos titulares (inline color:var(--nm-gold-500))
   va sobre lienzo CLARO → se redefine el token SOLO en el subárbol del titular para
   que herede el dorado accesible (≥3:1, texto grande). Es una redefinición local de
   custom property: gana sin !important y no afecta al dorado decorativo ni al titular
   del manifiesto navy (.nm-home-h2-3), que se queda con el dorado de marca brillante. */
.nm .nm-home-h1-1, .nm .nm-home-h2-2, .nm .nm-home-h2-4, .nm .nm-home-h2-5 { --nm-gold-500: var(--text-accent-lg); }
.nm .nm-home-h3-1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--text-strong); margin: 0 0 8px; }
.nm .nm-home-h3-2 { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-strong); margin: 6px 0 0; }
.nm .nm-home-h3-3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--nm-white); margin: 0 0 12px; }
.nm .nm-home-h3-4 { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--nm-white); margin: 0; }
.nm .nm-home-h3-5 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--nm-white); margin: 0; }
.nm .nm-home-img-1 { width: 100%; height: 112%; object-fit: cover; display: block; will-change: transform; }
.nm .nm-home-img-2 { width: clamp(150px, 15vw, 210px); height: auto; flex: none; }
.nm .nm-home-p-1 { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--text-accent); margin: 0 0 26px; }
.nm .nm-home-p-2 { font-size: clamp(1rem, 1.15vw, 1.12rem); font-weight: 300; line-height: 1.7; color: var(--text-body); max-width: 42ch; margin: 26px 0 0; }
.nm .nm-home-p-3 { font-size: clamp(1rem,1.2vw,1.12rem); font-weight: 300; line-height: 1.7; color: var(--text-body); max-width: 44ch; margin: 0; }
.nm .nm-home-p-4 { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; max-width: 46ch; }
.nm .nm-home-p-5 { font-size: 12.5px; letter-spacing: .04em; color: var(--nm-gold-400); margin: 6px 0 0; }
.nm .nm-home-p-6 { font-size: 12px; letter-spacing: .04em; color: var(--nm-gold-400); margin: 5px 0 0; }
.nm .nm-home-p-7 { font-family: var(--font-display); font-size: 1.5rem; color: var(--nm-white); margin: 0 0 18px; line-height: 1.2; max-width: 14ch; }
.nm .nm-home-p-8 { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--text-muted); margin: clamp(2px,1vw,12px) 0 26px; }
.nm .nm-home-p-9 { font-size: clamp(1rem,1.3vw,1.18rem); font-weight: 300; line-height: 1.7; color: var(--text-body); max-width: 48ch; margin: 30px 0 0; }
.nm .nm-home-path-1 { fill: var(--surface-raised); }
.nm .nm-home-path-2 { stroke-width: 0.6px; opacity: 0.42; }
.nm .nm-home-path-3 { stroke-width: 0.9px; opacity: 0.85; }
.nm .nm-home-path-4 { stroke-width: 0.6px; opacity: 0.32; }
.nm .nm-home-path-5 { stroke-width: 0.7px; opacity: 0.6; }
.nm .nm-home-path-6 { stroke-width: 1px; opacity: 0.9; }
.nm .nm-home-section-1 { background: var(--surface-raised); padding-block: clamp(72px, 9vw, 130px); }
.nm .nm-home-section-2 { position: relative; background: var(--nm-navy-900); color: var(--text-on-dark); overflow: hidden; }
.nm .nm-home-section-3 { position: relative; background: var(--nm-beige-100); padding-bottom: clamp(72px, 9vw, 130px); }
.nm .nm-home-section-4 { position: relative; background: var(--nm-beige-100); padding-top: clamp(10px, 2.4vw, 34px); }
.nm .nm-home-section-5 { background: var(--surface-soft); }
.nm .nm-home-span-1 { width: 1px; height: 56px; background: var(--nm-gold-400); display: block; }
.nm .nm-home-span-10 { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 6vw, 5rem); line-height: 0.9; color: var(--nm-white); }
.nm .nm-home-span-11 { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; color: var(--nm-gold-400); }
.nm .nm-home-span-12 { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 26px; }
.nm .nm-home-span-2 { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--text-accent); } /* a11y: 18px normal → 4.5:1 sobre claro */
.nm .nm-home-span-3 { width: 28px; height: 1px; background: var(--nm-gold-400); }
.nm .nm-home-span-4 { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--text-accent); }
.nm .nm-home-span-5 { font-family: var(--font-display); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--text-accent-lg); } /* a11y: número grande → 3:1 sobre claro */
.nm .nm-home-span-6 { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 999px; border: 1px solid var(--border-soft); color: var(--nm-gold-600); justify-self: end; }
.nm .nm-home-span-7 { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--nm-gold-400); }
.nm .nm-home-span-8 { position: absolute; top: 22px; left: 26px; font-family: var(--font-display); font-size: 1.4rem; color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(15,29,43,.4); }
.nm .nm-home-span-9 { position: absolute; top: 20px; left: 24px; font-family: var(--font-display); font-size: 1.25rem; color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(15,29,43,.4); }
.nm .nm-home-svg-1 { display: block; width: 100%; height: clamp(66px, 6.6vw, 112px); }
.nm .nm-home-svg-2 { display: block; width: 100%; height: clamp(58px, 5.8vw, 104px); }
.nm .nm-hv-gap16 { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--nm-gold-400); padding-bottom: 5px; transition: gap .3s cubic-bezier(.16,1,.3,1); }
.nm .nm-hv-navy500 { grid-column: 8 / 13; position: relative; overflow: hidden; border-radius: 28px 0 28px 0; text-decoration: none; background: var(--nm-navy-700); display: flex; flex-direction: column; justify-content: space-between; padding: 34px; transition: background .35s cubic-bezier(.16,1,.3,1); }
.nm .nm-hv-soft { display: grid; grid-template-columns: 88px 1fr 200px 56px; gap: 36px; align-items: center; padding: 30px 16px; border-top: 1px solid var(--border-soft); text-decoration: none; border-radius: 8px; transition: background .3s cubic-bezier(.16,1,.3,1); }
.nm .nm-proj-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16,1,.3,1); }
