/* Interior pages (Profesionales, Historia): same 2026 system as the front page (tokens,
   header, buttons, kickers and footer come from home.css). Shared layout lives here. */

/* Header: no scrubbed hero here, so the logo condenses as soon as the page scrolls. */
.vp-inner-page .vp-header { transition: padding var(--vp-dur-ui) var(--ease-out), background-color var(--vp-dur-ui) var(--ease-out); }
.vp-inner-page .vp-logo, .vp-inner-page .vp-logo img { transition: width var(--vp-dur-ui) var(--ease-out), height var(--vp-dur-ui) var(--ease-out); }
.vp-inner-page .vp-header.is-sticky { --vp-header-pad: 8px; --vp-logo-width: 110px; --vp-logo-height: 51px; }
.vp-2026 .vp-primary-list>li>a[aria-current]::after { transform: scaleX(1); }
.vp-2026 .vp-menu-link[aria-current] { color: var(--vp-red); }

.vp-pro-inner { width: 100%; max-width: 1560px; margin: auto; }

/* Shared section heading: title left, intro with a gold rule on the right. */
.vp-pro-head { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.55fr); gap: 8vw; align-items: end; margin-bottom: 58px; }
.vp-2026 .vp-pro-head h2 { max-width: 1000px; margin: 0; font: var(--vp-section-title)/1.04 var(--vp-display); letter-spacing: -.02em; color: var(--vp-ink); }
.vp-2026 .vp-pro-head .vp-kicker { color: #626858; }
.vp-pro-head-intro { margin: 0; border-left: 1px solid var(--vp-gold); padding-left: 26px; color: #4e5447; line-height: 1.5; }
.vp-pro-head-intro p { margin: 0 0 22px; color: inherit; }
.vp-pro-head-intro .vp-text-link { padding-top: 0; color: var(--vp-ink); }
.vp-2026 .vp-pro-head--dark h2 { color: var(--vp-paper); }
.vp-2026 .vp-pro-head--dark .vp-kicker { color: #ddd4b9; }
.vp-pro-head--dark .vp-pro-head-intro { color: #babdb1; }
.vp-pro-head--dark .vp-pro-head-intro .vp-text-link { color: var(--vp-paper); }

/* Hero: dark stage, clean-room photography as the art, same type scale as the home. */
.vp-pro-hero { position: relative; isolation: isolate; min-height: max(700px,min(880px,100svh)); display: flex; flex-direction: column; justify-content: center; padding: 170px var(--vp-gutter) 110px; background: #151610; color: var(--vp-paper); overflow: clip; }
.vp-pro-hero-art { position: absolute; z-index: 0; inset: 0 0 0 34%; margin: 0; }
.vp-pro-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; mask-image: linear-gradient(90deg,transparent 0%,#000 30%); }
.vp-pro-hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#151610 0%,rgba(21,22,16,.55) 32%,rgba(21,22,16,.18) 70%,rgba(21,22,16,.35) 100%), linear-gradient(0deg,#151610 0%,transparent 28%,transparent 78%,rgba(21,22,16,.55) 100%); }
.vp-pro-hero .vp-orbit { width: 62%; height: 110%; right: -12%; top: -2%; }
.vp-pro-hero .vp-hero-content { max-width: 880px; padding-top: 0; }
.vp-2026 .vp-pro-title { margin: 27px 0 32px; font: clamp(64px,6.4vw,112px)/1.02 var(--vp-display); letter-spacing: -.025em; color: var(--vp-paper); text-wrap: balance; }
.vp-pro-title .vp-hero-gold { color: #c1a65a; }
.vp-2026 .vp-pro-hero-copy { max-width: 560px; margin: 0 0 34px; color: #cccac0; line-height: 1.48; }
.vp-pro-hero .vp-cta { padding: 18px 24px; font-size: 17px; }
.vp-pro-hero ~ .vp-proof-strip { background: var(--vp-paper); }

/* Long-sentence H1 (Historia, Empresa): same hero, smaller title and a text link instead of CTA. */
.vp-hero--sentence .vp-hero-content { max-width: 980px; }
.vp-2026 .vp-hero--sentence .vp-pro-title { font-size: clamp(48px,4.6vw,84px); line-height: 1.04; }
.vp-hero--sentence .vp-hero-sales { color: var(--vp-paper); }

/* Editorial chapters: heading, then photo + text with a gold rule. Paper by default. */
.vp-chapter { padding: 105px var(--vp-gutter) 95px; background: var(--vp-paper); }
.vp-chapter--sage { background: #edf0e4; }
.vp-chapter--rule { border-top: 1px solid var(--vp-line); }
.vp-chapter-head { grid-template-columns: minmax(0,1fr); margin-bottom: 52px; }
.vp-story { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 6vw; align-items: start; }
.vp-story--reverse { grid-template-columns: minmax(0,5fr) minmax(0,7fr); }
.vp-story--reverse .vp-story-photo { order: 2; }
.vp-story-photo { margin: 0; }
.vp-story-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--vp-ink); }
.vp-story-photo--portrait img { aspect-ratio: 1250 / 900; }
.vp-story-text { border-left: 1px solid var(--vp-gold); padding-left: 30px; }
.vp-2026 .vp-story-text p { margin: 0 0 24px; color: #3f4439; font-size: 19px; line-height: 1.62; }
.vp-2026 .vp-story-text p:last-child { margin-bottom: 0; }
.vp-2026 .vp-story-text .vp-story-lead { font-size: 21px; color: var(--vp-ink); }
.vp-story-text strong { color: var(--vp-ink); font-family: 'myriad_set_prosemibold','vp-semibold-fb',sans-serif; font-weight: normal; }

/* Exit band: closing statement plus the next pages to visit (Historia, Marcas). */
.vp-next { padding: 96px var(--vp-gutter); background: var(--vp-paper); border-top: 1px solid var(--vp-line); }
.vp-next-inner { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: 7vw; align-items: end; }
.vp-2026 .vp-next h2 { margin: 0; font: var(--vp-section-title)/1.04 var(--vp-display); letter-spacing: -.02em; color: var(--vp-ink); }
.vp-next .vp-hero-gold { color: var(--vp-gold); }
.vp-next-links { display: grid; justify-items: start; gap: 10px; }
.vp-next-links .vp-cta { margin-bottom: 14px; }

/* 01 · Grade I: one real field photograph per speciality, each one a door to its page. */
.vp-pro-igama { padding: 105px var(--vp-gutter) 95px; background: #edf0e4; }
.vp-pro-igama-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(2,clamp(230px,19vw,340px)) clamp(250px,23vw,400px); gap: 12px; margin: 0; padding: 0; list-style: none; }
.vp-pro-igama-item { position: relative; min-height: 0; overflow: hidden; background: var(--vp-ink); }
.vp-pro-igama-item--main { grid-column: 1 / 8; grid-row: 1 / 3; }
.vp-pro-igama-item--side:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.vp-pro-igama-item--side:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
.vp-pro-igama-item--half:nth-child(4) { grid-column: 1 / 7; grid-row: 3; }
.vp-pro-igama-item--half:nth-child(5) { grid-column: 7 / 13; grid-row: 3; }
.vp-pro-igama-item a { display: block; height: 100%; color: #fff; }
.vp-pro-igama-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vp-pro-igama-item::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(10,15,8,.82)); pointer-events: none; }
.vp-pro-igama-caption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.vp-pro-igama-caption b { font: clamp(24px,2.1vw,34px)/1.05 var(--vp-display); font-weight: normal; }
.vp-pro-igama-caption span { flex: none; font-size: 13px; letter-spacing: .04em; color: #f1ecdd; }
.vp-pro-igama-caption i { color: var(--vp-yellow); font: normal 20px/1 Arial,sans-serif; margin-left: 6px; }

/* 02 · Outcomes: numbered editorial list. */
.vp-pro-outcomes { padding: 105px var(--vp-gutter) 95px; background: var(--vp-paper); border-top: 1px solid var(--vp-line); }
.vp-pro-outcomes-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 5vw; }
.vp-pro-outcomes-list article { display: grid; grid-template-columns: minmax(0,1fr); column-gap: 16px; align-content: start; padding-top: 30px; border-top: 1px solid var(--vp-line); }
/* 31-oct-2026: Profesionales y Mercas ya no numeran sus tríadas (no son pasos); Empresa y Canal ético conservan el numeral y su columna. */
.vp-pro-outcomes-list article:has(.vp-step-number) { grid-template-columns: 60px minmax(0,1fr); }
.vp-pro-outcomes-list .vp-step-number { grid-row: span 2; }
.vp-2026 .vp-pro-outcomes-list h3 { margin: 0 0 14px; font: var(--vp-subsection-title)/1.1 var(--vp-display); color: var(--vp-ink); }
.vp-2026 .vp-pro-outcomes-list p { margin: 0; color: #4e5447; line-height: 1.5; }

/* 03 · Channels: dark chapter, photography left and channels right. */
.vp-pro-channels { padding: 105px var(--vp-gutter); background: var(--vp-ink); color: var(--vp-paper); scroll-margin-top: 70px; }
.vp-pro-channels-stage { display: grid; grid-template-columns: 1.1fr 1fr; gap: 7vw; align-items: start; }
.vp-pro-channels-photo { position: sticky; top: 120px; margin: 0; aspect-ratio: 1.15; overflow: hidden; background: #0f100c; }
.vp-pro-channels-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.vp-pro-channel-list article { padding: 34px 0; border-top: 1px solid rgba(193,166,90,.32); }
.vp-pro-channel-list article:first-child { padding-top: 0; border-top: 0; }
.vp-2026 .vp-pro-channel-list h3 { margin: 0 0 12px; font: 27px/1.18 'myriad_set_prosemibold','vp-semibold-fb',sans-serif; color: #c1a65a; }
.vp-2026 .vp-pro-channel-list p { margin: 0; color: #babdb1; line-height: 1.48; }
.vp-pro-channel-list .vp-cta { margin-top: 26px; }

/* 04 · Range: fresh (Grade I) and fresh-cut side by side. */
.vp-pro-range { padding: 105px var(--vp-gutter) 95px; background: var(--vp-paper); }
.vp-pro-range-gallery { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 12px; }
.vp-pro-range-gallery figure { position: relative; margin: 0; overflow: hidden; }
.vp-pro-range-fresh { grid-column: 1 / 8; aspect-ratio: 4 / 3; background: var(--vp-ink); }
.vp-pro-range-pack { grid-column: 8 / 13; background: var(--vp-ink); }
.vp-pro-range-gallery img { width: 100%; height: 100%; object-fit: cover; }
.vp-pro-range-pack img { position: absolute; inset: 0; }
.vp-pro-range-gallery figure::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(10,15,8,.8)); pointer-events: none; }
.vp-pro-range-gallery figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; font: 22px/1.1 var(--vp-display); color: #fff; }

@media (hover:hover) and (pointer:fine) {
  .vp-pro-range-gallery img, .vp-pro-channels-photo img { transition: transform var(--vp-dur-media) var(--ease-out); }
  .vp-pro-range-gallery figure:hover img { transform: scale(1.025); }
  .vp-pro-igama-item img { transition: transform var(--vp-dur-media) var(--ease-out); }
  .vp-pro-igama-item a:hover img { transform: scale(1.03); }
}
@media (max-width:1100px) {
  .vp-pro-igama-grid { grid-template-rows: repeat(2,240px) 260px; }
  .vp-pro-hero-art { inset: 0 0 0 46%; }
  .vp-2026 .vp-pro-hero-copy { max-width: 440px; }
  .vp-pro-head { grid-template-columns: 1fr; gap: 26px; }
  .vp-pro-outcomes-list { grid-template-columns: 1fr; gap: 0; }
  .vp-pro-outcomes-list article { padding: 28px 0; }
  .vp-pro-channels-stage { grid-template-columns: 1fr; gap: 46px; }
  .vp-pro-channels-photo { position: relative; top: auto; aspect-ratio: 16 / 9; }
  .vp-story, .vp-story--reverse { grid-template-columns: 1fr; gap: 40px; }
  .vp-story--reverse .vp-story-photo { order: 0; }
  .vp-next-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width:700px) {
  .vp-inner-page .vp-header.is-sticky { --vp-logo-width: 84px; --vp-logo-height: 39px; }
  .vp-pro-hero { min-height: 0; padding: 130px var(--vp-gutter) 0; justify-content: flex-start; }
  .vp-pro-hero-art { position: relative; order: 2; inset: auto; height: 250px; margin: 40px calc(-1 * var(--vp-gutter)) 0; }
  .vp-pro-hero-art img { mask-image: linear-gradient(180deg,transparent 0%,#000 30%); }
  .vp-pro-hero-art::after { background: linear-gradient(180deg,#151610 0%,rgba(21,22,16,.1) 45%); }
  .vp-pro-hero .vp-orbit { display: none; }
  .vp-2026 .vp-pro-title { font-size: clamp(46px,12vw,64px); margin: 22px 0 24px; }
  .vp-pro-hero-copy { margin-bottom: 26px; }
  .vp-pro-hero .vp-cta { width: 100%; max-width: 370px; font-size: 16px; padding: 15px 19px; }
  .vp-pro-outcomes, .vp-pro-channels, .vp-pro-range { padding-block: 64px; }
  .vp-pro-head { margin-bottom: 36px; }
  .vp-pro-head-intro { padding-left: 18px; }
  .vp-pro-outcomes-list article:has(.vp-step-number) { grid-template-columns: 46px minmax(0,1fr); }
  .vp-pro-channel-list h3 { font-size: 24px; }
  .vp-pro-channel-list .vp-cta { width: 100%; }
  .vp-pro-igama { padding-block: 64px; }
  .vp-pro-igama-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 8px; }
  .vp-pro-igama-item { aspect-ratio: 1; }
  .vp-pro-igama-item--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .vp-pro-igama-item--side:nth-child(n), .vp-pro-igama-item--half:nth-child(n) { grid-column: auto; grid-row: auto; }
  .vp-pro-igama-caption { left: 14px; right: 14px; bottom: 14px; }
  .vp-pro-igama-caption b { font-size: 20px; }
  .vp-pro-igama-item:not(.vp-pro-igama-item--main) .vp-pro-igama-caption span { display: none; }
  .vp-pro-range-gallery { grid-template-columns: 1fr; }
  .vp-pro-range-fresh, .vp-pro-range-pack { grid-column: 1; }
  .vp-pro-range-pack { aspect-ratio: 4 / 5; }
  .vp-2026 .vp-hero--sentence .vp-pro-title { font-size: clamp(36px,9.4vw,48px); }
  .vp-chapter { padding-block: 64px; }
  .vp-chapter-head { margin-bottom: 32px; }
  .vp-story-text { padding-left: 18px; }
  .vp-2026 .vp-story-text p, .vp-2026 .vp-story-text .vp-story-lead { font-size: 17px; }
  .vp-next { padding-block: 64px; }
  .vp-next-links .vp-cta { width: 100%; }
}
@media (prefers-reduced-motion:reduce) {
  .vp-inner-page .vp-header, .vp-inner-page .vp-logo, .vp-inner-page .vp-logo img { transition: none; }
}
@media print {
  .vp-pro-hero { min-height: auto; padding: 30px 0; color: #000; background: none; }
  .vp-pro-hero-art, .vp-pro-hero .vp-orbit { display: none; }
  .vp-2026 .vp-pro-title { color: #000; font-size: 56px; }
  .vp-pro-channels { background: none; color: #000; }
  .vp-pro-channels-photo { position: static; }
}
.vp-pro-contact .vp-kicker { color: #ddd4b9; }
.vp-pro-contact-phone { color: #cccac0; }
.vp-pro-contact-phone a { color: var(--vp-yellow); text-decoration: underline; text-underline-offset: 4px; }

/* Módulo B2B al final de noticias y recetas (template-parts/b2b-cta.php). */
.vp-b2b-cta { padding: 72px var(--vp-gutter); }
.vp-b2b-cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 6vw; align-items: center; }
.vp-2026 .vp-b2b-cta h2 { margin: 0 0 14px; font: var(--vp-subsection-title)/1.1 var(--vp-display); color: var(--vp-ink); text-wrap: balance; }
.vp-2026 .vp-b2b-cta-text p:not(.vp-kicker) { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.55; color: #3f4439; }
.vp-b2b-cta-links { display: grid; justify-items: start; gap: 10px; }
.vp-b2b-cta-links .vp-cta { margin-bottom: 12px; }
.vp-b2b-cta-links .vp-text-link { color: var(--vp-ink); }
@media (max-width: 900px) {
  .vp-b2b-cta { padding: 56px var(--vp-gutter); }
  .vp-b2b-cta-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* Sellos y garantías (template-parts/certifications.php): eight cards, logo on white, one rule per card. */
.vp-pro #garantias, .vp-pro #cifras, .vp-pro #generaciones { scroll-margin-top: 70px; }
.vp-seal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.vp-seal { display: grid; align-content: start; gap: 14px; padding-top: 22px; border-top: 1px solid var(--vp-gold); }
.vp-seal-logo { display: flex; align-items: center; height: 84px; }
.vp-seal-logo img { display: block; max-width: 200px; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.vp-seal-badge { display: inline-grid; place-items: center; min-width: 84px; height: 84px; padding: 0 18px; border: 1px solid var(--vp-gold); border-radius: 50%; font: 24px/1 var(--vp-display); letter-spacing: -.01em; color: var(--vp-ink); }
.vp-2026 .vp-seal h3 { margin: 0; font: 22px/1.15 var(--vp-display); color: var(--vp-ink); }
.vp-2026 .vp-seal p { margin: 0; font-size: 16px; line-height: 1.5; color: #3f4439; }
.vp-2026 .vp-seal-note { margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--vp-line); font-size: 17px; }
.vp-seal-note a { color: var(--vp-ink); text-decoration: underline; text-decoration-color: var(--vp-gold); text-underline-offset: 4px; }

/* Cifras (template-parts/pro-figures.php): six big numbers, then where the fruit is. */
.vp-figure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 5vw; margin: 0 0 56px; padding: 0; list-style: none; }
.vp-figure-grid li { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--vp-gold); }
.vp-figure-grid strong { font: clamp(44px, 4.2vw, 68px)/1 var(--vp-display); font-weight: normal; letter-spacing: -.02em; color: var(--vp-ink); }
.vp-2026 .vp-figure-grid span { font-size: 17px; line-height: 1.5; color: #3f4439; max-width: 340px; }
.vp-figures-where { display: grid; grid-template-columns: minmax(200px, .28fr) minmax(0, 1fr); gap: 20px 5vw; padding-top: 30px; border-top: 1px solid var(--vp-gold); }
.vp-2026 .vp-figures-where h3 { margin: 0; font: 13px/1.4 'myriad_set_prosemibold', 'vp-semibold-fb', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #626858; padding-top: 4px; }
.vp-2026 .vp-figures-where p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--vp-ink); }
.vp-2026 .vp-figures-where .vp-figures-source { grid-column: 2; margin-top: 14px; font-size: 14px; color: #626858; }
.vp-figures-source a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Tres generaciones (template-parts/generations.php): three portraits on the dark chapter. */
.vp-generation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.vp-generation-grid figure { margin: 0; }
.vp-generation-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1250 / 900; object-fit: cover; background: #0f100c; }
.vp-generation-grid figcaption { display: grid; gap: 6px; padding-top: 16px; margin-top: 16px; border-top: 1px solid rgba(193,166,90,.45); }
.vp-generation-grid figcaption b { font: 24px/1.15 var(--vp-display); font-weight: normal; color: var(--vp-paper); }
.vp-generation-grid figcaption span { font-size: 15px; line-height: 1.4; color: #c1a65a; }
@media (max-width: 1100px) {
  .vp-seal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .vp-figure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .vp-figures-where { grid-template-columns: 1fr; gap: 12px; }
  .vp-2026 .vp-figures-where .vp-figures-source { grid-column: auto; }
  .vp-generation-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 700px) {
  /* 31-oct-2026: dos columnas también para los sellos (antes una, ocho tarjetas apiladas). */
  .vp-seal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .vp-seal { gap: 10px; padding-top: 16px; }
  .vp-seal-logo { height: 60px; }
  .vp-seal-logo img { max-width: 130px; max-height: 60px; }
  .vp-seal-badge { min-width: 60px; height: 60px; padding: 0 12px; font-size: 19px; }
  .vp-2026 .vp-seal h3 { font-size: 19px; }
  .vp-2026 .vp-seal p { font-size: 15px; line-height: 1.45; }
  .vp-figure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; } /* UI-13: seis cifras en dos columnas, no seis pantallas */
  .vp-figure-grid strong { font-size: 36px; }
  .vp-2026 .vp-figure-grid span { font-size: 15px; }
}

/* Rótulo dentro del H1 de Profesionales (SEO-B2B-03): mismo aspecto que el rótulo del hero. */
.vp-2026 .vp-pro-title > .vp-kicker { margin-bottom: 24px; }
