/* Acto 3 · Global y local (3-experiencia/portal.html y catalogo.html) */

/* =====================================================================
   Portal · transición entre mercados
   ===================================================================== */
.pt-body { padding-bottom: 96px; background: var(--white); }
.pt-site [data-m] { transition: opacity .28s var(--ease-out), transform .28s var(--ease-out), filter .28s var(--ease-out); }
.pt-site.is-out [data-m] { opacity: 0; transform: translateY(10px); filter: blur(6px); }
.pt-site.is-in [data-m] { animation: pt-in .8s var(--ease-reveal) both; animation-delay: calc(var(--i, 0) * 32ms); }
@keyframes pt-in { from { opacity: 0; transform: translateY(14px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Héroe ---------- */
.pt-hero { position: relative; min-height: max(720px, calc(100svh - var(--vd-bar, 48px))); display: flex; flex-direction: column; color: var(--white); overflow: hidden; background: var(--green-900); }
.pt-hero__media { position: absolute; inset: 0; }
.pt-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease-in-out), transform 6s var(--ease-out); }
.pt-hero__img.is-on { opacity: 1; transform: scale(1); }
.pt-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 48, 26, .45) 0%, rgba(2, 48, 26, .12) 35%, rgba(2, 48, 26, .35) 60%, rgba(1, 31, 17, .92) 100%), linear-gradient(90deg, rgba(1, 31, 17, .55) 0%, rgba(1, 31, 17, 0) 60%); }
.pt-navwrap { position: relative; z-index: 3; display: flex; justify-content: center; padding: 24px var(--gutter) 0; }
.pt-nav { display: flex; align-items: center; gap: 6px; height: 64px; padding: 0 10px 0 22px; border-radius: 999px; max-width: 100%;
  background: var(--glass-dark); border: 1px solid var(--glass-border-soft); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass-lg); }
.pt-nav__brand { display: flex; margin-right: 14px; }
.pt-nav__brand:hover { opacity: 1; }
.pt-nav__brand .vd-lockup img { height: 28px; }
.pt-nav__brand .vd-lockup__geo { font-size: 14px; }
.pt-nav__items { display: flex; gap: 2px; }
.pt-nav__items a { color: var(--white); font-size: 15px; padding: 9px 12px; border-radius: 999px; opacity: .88; white-space: nowrap; transition: background .25s; }
.pt-nav__items a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.pt-nav__lang { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; margin: 0 4px 0 6px; height: 32px; border-left: 1px solid rgba(255, 255, 255, .3); font-size: 14px; font-weight: 700; }
.pt-nav__lang svg { width: 16px; height: 16px; }
.pt-nav__acc svg { width: 16px; height: 16px; }
.pt-hero__in { position: relative; z-index: 2; flex: 1; display: flex; align-items: flex-end; padding-bottom: 140px; }
.pt-hero__copy { width: 100%; display: grid; gap: 18px; }
.pt-hero__copy .vd-kicker { color: var(--green-100); }
.pt-hero__title { max-width: 13ch; color: var(--white); text-wrap: balance; }
.pt-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 12px; }
.pt-hero__lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 540px; color: rgba(255, 255, 255, .9); }

/* ---------- En cifras + historia ---------- */
.pt-stage { position: relative; background: var(--surface-stage); color: var(--white); padding-bottom: 120px; }
.pt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; transform: translateY(-72px); position: relative; z-index: 3; margin-bottom: -24px; }
.pt-stat { display: grid; gap: 10px; padding: 24px 28px; background: rgba(255, 255, 255, .1); }
.pt-stat b { font-size: clamp(34px, 3.6vw, 56px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt-stat span:last-child { font-size: 14px; color: rgba(255, 255, 255, .78); }
.pt-stat__k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--green-100); }
.pt-stat--local { background: var(--glass-green); }
.pt-story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-top: 24px; }
.pt-story h2 { margin-top: 16px; color: var(--white); }
.pt-story__p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.pt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 72px; }
.pt-card { aspect-ratio: 16 / 10; }

/* ---------- Tu mercado ---------- */
.pt-local__in { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.pt-local__copy { display: grid; gap: 20px; justify-items: start; }
.pt-local__copy .vd-lockup img { height: 30px; }
.pt-plants { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-plants__h { display: block; width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); }
.pt-plant { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: var(--radius-md); background: var(--surface-soft); }
.pt-plant svg { width: 20px; height: 20px; color: var(--green-500); flex: none; }
.pt-plant b { display: block; font-size: 14px; }
.pt-plant small { display: block; font-size: 12px; color: var(--ink-500); }
.pt-contact { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; flex-wrap: wrap; }
.pt-contact > div { display: grid; gap: 2px; }
.pt-contact span:not(.pt-plants__h) { font-size: 14px; color: var(--ink-500); }
.pt-banner { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-2xl); overflow: hidden; background: var(--green-900); }
.pt-banner > img, .pt-banner > .vd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 48, 26, .35) 0%, rgba(2, 48, 26, 0) 35%, rgba(2, 48, 26, .55) 100%); }
.pt-banner__cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; padding: 20px 22px; display: grid; gap: 6px; }
.pt-banner__cap b { font-size: 22px; line-height: 1.2; }
.pt-banner__seal { position: absolute; z-index: 2; top: 22px; left: 24px; }
.pt-oldlogo { position: absolute; z-index: 2; top: 22px; left: 24px; padding: 6px 14px; border-radius: 6px; background: #E8E8E6; color: #5A5A58; font-family: Georgia, serif; font-size: 22px; letter-spacing: .02em; box-shadow: 0 0 0 3px #E0A100; }
.pt-ribbon { position: absolute; z-index: 2; top: 22px; right: 22px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #FFF4D6; color: #7A5600; font-size: 13px; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); animation: pt-wobble 2.6s var(--ease-in-out) infinite; }
.pt-ribbon svg { width: 15px; height: 15px; }
.pt-ribbon--ok { background: var(--green-500); color: var(--white); animation: none; }
@keyframes pt-wobble { 0%, 100% { transform: none; } 8% { transform: rotate(-3deg); } 16% { transform: rotate(2deg); } 24% { transform: none; } }

/* ---------- Catálogo ---------- */
.pt-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 48px; }
.pt-sechead > div:last-child { display: grid; gap: 20px; justify-items: start; max-width: 520px; }
.pt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pt-tiles__h { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); }
.pt-tile { display: block; color: var(--white); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); box-shadow: 0 8px 24px rgba(2, 48, 26, .08); }
.pt-tile:hover { opacity: 1; transform: translateY(-4px); box-shadow: 0 24px 64px rgba(2, 48, 26, .22); }
.pt-tile__glass { position: absolute; inset: 8% 18% 18%; display: flex; justify-content: center; transition: transform .9s var(--ease-reveal); }
.pt-tile__glass svg { height: 100%; width: auto; filter: drop-shadow(0 18px 24px rgba(2, 48, 26, .18)); }
.pt-tile:hover .pt-tile__glass { transform: translateY(-6px) scale(1.03); }
.pt-tile__cart { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; opacity: 1 !important; font-size: 13px !important; }
.pt-tile__cart svg { width: 15px; height: 15px; }

/* ---------- Actualidad ---------- */
.pt-news__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.pt-news__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pt-ncard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-soft); color: var(--ink-900); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.pt-ncard:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pt-ncard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-900); }
.pt-ncard__img img, .pt-ncard__img .vd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-reveal); }
.pt-ncard:hover .pt-ncard__img img { transform: scale(1.05); }
.pt-ncard__body { display: grid; gap: 10px; align-content: start; padding: 20px 22px 22px; }
.pt-ncard__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-500); }
.pt-ncard__body > b { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.pt-ncard__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--green-500); }
.pt-ncard__more svg { width: 16px; height: 16px; }
.pt-ncard--big { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; grid-template-rows: none; }
.pt-ncard--big .pt-ncard__img { aspect-ratio: auto; min-height: 280px; }
.pt-ncard--big .pt-ncard__body { align-content: center; padding: 28px; }
.pt-ncard--big .pt-ncard__body > b { font-size: 26px; }
.pt-news__note { grid-column: 1 / -1; }
.pt-li { display: grid; gap: 16px; }
.pt-li__h { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink-700); }
.pt-post { display: grid; gap: 12px; padding: 18px; box-shadow: inset 0 0 0 1px var(--border-subtle); }
.pt-post.is-new { box-shadow: inset 0 0 0 1.5px var(--green-500), var(--shadow-soft); }
.pt-post header { display: flex; align-items: center; gap: 10px; }
.pt-post header .vd-tag { margin-left: auto; height: 24px; font-size: 12px; }
.pt-post__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-500); flex: none; }
.pt-post__av img { width: 16px; height: auto; }
.pt-post header b { display: block; font-size: 15px; }
.pt-post header small { display: block; font-size: 12px; color: var(--ink-500); }
.pt-post p { font-size: 15px; line-height: 1.5; }
.pt-post__img { position: relative; display: block; aspect-ratio: 16 / 8; border-radius: var(--radius-md); overflow: hidden; background: var(--green-900); }
.pt-post__img img, .pt-post__img .vd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-post footer { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-500); }
.pt-post footer span { display: inline-flex; align-items: center; gap: 6px; }
.pt-post footer svg { width: 15px; height: 15px; color: var(--green-500); }
.pt-post footer a { font-weight: 700; }

/* ---------- Alertas ---------- */
.pt-alerts { min-height: 560px; display: flex; align-items: center; }
.pt-alerts__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-alerts::after { background: linear-gradient(90deg, rgba(2, 48, 26, .65) 0%, rgba(2, 48, 26, .25) 100%); }
.pt-alerts__in { padding-top: 96px; padding-bottom: 96px; }
.pt-alerts__card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 40px 44px; background: rgba(2, 48, 26, .4); }
.pt-alerts__card h2 { color: var(--white); margin: 10px 0 12px; }
.pt-alerts__card .vd-kicker { color: var(--green-100); }
.pt-alerts__card .vd-kicker svg { width: 18px; height: 18px; }
.pt-alerts__p { font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 40ch; }
.pt-alerts__form { display: grid; gap: 18px; }
.pt-alerts__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-alerts__opts label { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); font-size: 14px; font-weight: 700; cursor: pointer; }
.pt-alerts__opts input { accent-color: var(--green-500); width: 16px; height: 16px; }
.pt-alerts__row { display: flex; gap: 10px; }
.pt-alerts__row .vd-input { height: 52px; border-radius: 999px; padding: 0 22px; border-color: transparent; }

/* ---------- Inversores ---------- */
.pt-inv { position: relative; background: radial-gradient(70% 90% at 80% 30%, #04562C 0%, #02301A 55%, #011F11 100%); color: var(--white); overflow: hidden; }
.pt-inv__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.pt-inv__copy { display: grid; gap: 18px; justify-items: start; }
.pt-inv__copy h2 { color: var(--white); }
.pt-inv__p { font-size: 20px; color: rgba(255, 255, 255, .82); max-width: 36ch; }
.pt-inv__panel { display: grid; gap: 14px; }
.pt-quote { padding: 26px 28px 20px; display: grid; gap: 14px; }
.pt-quote__top { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.pt-quote__p { font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; margin-left: auto; }
.pt-quote__d { display: inline-flex; align-items: center; gap: 4px; color: #7FD6A2; font-weight: 700; }
.pt-quote__d svg { width: 16px; height: 16px; }
.pt-spark { width: 100%; height: 150px; }
.pt-spark__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.pt-site.is-in .pt-spark__line, .pt-inv.is-draw .pt-spark__line { animation: pt-draw 2s var(--ease-reveal) both; }
@keyframes pt-draw { from { stroke-dashoffset: 1; } }
.pt-quote__range { display: flex; gap: 4px; font-size: 13px; font-weight: 700; }
.pt-quote__range span { padding: 5px 12px; border-radius: 999px; color: rgba(255, 255, 255, .65); }
.pt-quote__range .is-on { background: rgba(255, 255, 255, .16); color: var(--white); }
.pt-quote__note { font-size: 12px; color: rgba(255, 255, 255, .55); }
.pt-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pt-kpi { padding: 18px 20px; display: grid; gap: 6px; border-radius: var(--radius-lg); }
.pt-kpi span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.pt-kpi b { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; }

/* ---------- Tienda (Chile) ---------- */
.pt-shop { background: var(--surface-vitreous); position: relative; overflow: hidden; }
.pt-shop[hidden] { display: none; }
.pt-shop::before { content: ""; position: absolute; inset: 0; background: var(--reflection); pointer-events: none; }
.pt-shop__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.pt-shop__glass { display: flex; justify-content: center; align-items: flex-end; gap: 8px; height: 320px; }
.pt-shop__glass svg { height: 100%; width: auto; }
.pt-shop__glass svg:nth-child(1), .pt-shop__glass svg:nth-child(3) { height: 74%; }
.pt-shop__copy { display: grid; gap: 18px; justify-items: start; }
.pt-shop__copy .vd-kicker svg { width: 16px; height: 16px; }

/* ---------- Pie ---------- */
.pt-foot { background: var(--surface-footer); color: rgba(255, 255, 255, .85); }
.pt-foot__in { padding-top: 72px; padding-bottom: 48px; display: grid; gap: 48px; }
.pt-foot__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.pt-foot__top h2 { color: var(--white); }
.pt-foot__cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 40px; }
.pt-foot__cols > div { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.pt-foot__cols b { color: var(--white); margin-bottom: 6px; }
.pt-foot__cols a { color: rgba(255, 255, 255, .85); }
.pt-foot__markets, .pt-foot__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-foot__markets button, .pt-foot__langs button { display: inline-flex; align-items: baseline; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: var(--white); font-size: 14px; font-weight: 700; cursor: pointer; align-items: center; }
.pt-foot__markets button small { font-weight: 400; font-family: var(--font-mono); font-size: 11px; opacity: .7; }
.pt-foot__markets button[aria-pressed="true"], .pt-foot__langs button[aria-pressed="true"] { background: var(--white); color: var(--green-900); border-color: var(--white); }
.pt-foot__langs button { height: 32px; font-size: 13px; font-weight: 400; }
.pt-foot__bar { background: var(--surface-footer-bar); font-size: 13px; color: rgba(255, 255, 255, .7); }
.pt-foot__bar .vd-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }

/* ---------- Control de la demo ---------- */
.pt-ctl { position: fixed; z-index: 150; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 18px; max-width: calc(100vw - 24px);
  border-radius: 999px; background: rgba(1, 31, 17, .86); border: 1px solid rgba(255, 255, 255, .18); color: var(--white); backdrop-filter: var(--glass-blur-strong); -webkit-backdrop-filter: var(--glass-blur-strong); box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 20px 60px rgba(1, 31, 17, .45); }
.pt-ctl__lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FD9B7; }
.pt-ctl__grp { display: flex; align-items: center; gap: 8px; }
.pt-ctl__h { font-size: 12px; color: rgba(255, 255, 255, .6); }
.pt-ctl .vd-seg { padding: 3px; background: rgba(255, 255, 255, .08); }
.pt-ctl .vd-seg button { height: 34px; padding: 0 12px; font-size: 13px; }
.pt-ctl__struct { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.pt-ctl__struct svg { width: 16px; height: 16px; }
.pt-ctl__struct[aria-pressed="true"] { background: var(--green-500); border-color: var(--green-500); }
.pt-ctl__ratio { display: flex; align-items: center; gap: 10px; font-size: 13px; white-space: nowrap; padding-right: 8px; }
.pt-ctl__ratio[hidden] { display: none; }
.pt-ctl__ratio b { font-variant-numeric: tabular-nums; }
.pt-ctl__ratio i { width: 80px; height: 8px; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(90deg, #CDEBD9 0 4px, transparent 4px 7px); }
.pt-ctl__ratio em { display: block; height: 100%; background: var(--green-500); transform-origin: left; transition: transform .9s var(--ease-reveal); }

/* ---------- Estructura 80/20 ---------- */
.pt-struct [data-scope] { position: relative; outline-offset: -3px; transition: outline-color .3s; }
.pt-struct [data-scope="global"] { outline: 2.5px solid var(--green-500); }
.pt-struct [data-scope="local"] { outline: 2.5px dashed #5FD38D; background-color: rgba(95, 211, 141, .08); }
.pt-struct .pt-stage [data-scope="global"], .pt-struct .pt-inv[data-scope], .pt-struct .pt-alerts[data-scope], .pt-struct .pt-foot[data-scope], .pt-struct .pt-nav[data-scope] { outline-color: #5FD38D; }
.pt-struct .pt-local[data-scope], .pt-struct #catTiles[data-scope], .pt-struct .pt-shop[data-scope] { outline-color: var(--green-500); }
.pt-struct [data-scope]::after { content: attr(data-label); position: absolute; z-index: 20; top: 6px; left: 6px; height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; animation: pt-in .5s var(--ease-reveal) both; }
.pt-struct [data-scope="global"]::after { background: var(--green-500); color: var(--white); }
.pt-struct [data-scope="local"]::after { background: var(--white); color: var(--green-700); box-shadow: inset 0 0 0 1.5px var(--green-500); }
.pt-struct .pt-nav[data-scope]::after { top: -30px; left: 50%; transform: translateX(-50%); animation: none; }
.pt-struct .pt-alerts__local[data-scope]::after { top: -28px; left: 0; }
.pt-struct .pt-stat[data-scope]::after { top: auto; bottom: 8px; left: auto; right: 8px; }
.pt-struct .vd-photo-card, .pt-struct .pt-banner { overflow: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .pt-nav__x { display: none; }
}
@media (max-width: 1100px) {
  .pt-nav__items { display: none; }
  .pt-nav { width: 100%; justify-content: space-between; }
  .pt-stats { grid-template-columns: 1fr 1fr; }
  .pt-story, .pt-local__in, .pt-inv__in, .pt-alerts__card, .pt-shop__in { grid-template-columns: 1fr; gap: 32px; }
  .pt-tiles { grid-template-columns: 1fr 1fr; }
  .pt-news__grid { grid-template-columns: 1fr; }
  .pt-foot__cols { grid-template-columns: 1fr 1fr; }
  .pt-ctl { flex-wrap: wrap; justify-content: center; border-radius: 28px; padding: 10px 12px; gap: 8px 12px; }
}
@media (max-width: 640px) {
  .pt-body { padding-bottom: 150px; }
  .pt-nav { padding: 0 6px 0 16px; height: 56px; }
  .pt-nav__brand { margin-right: 0; }
  .pt-nav__brand .vd-lockup img { height: 20px; }
  .pt-nav__brand .vd-lockup__geo { font-size: 12px; padding-left: 10px; }
  .pt-nav__lang { display: none; }
  .pt-nav__acc { padding: 0 12px; }
  .pt-hero { min-height: 640px; }
  .pt-hero__in { padding-bottom: 110px; }
  .pt-stats { gap: 10px; }
  .pt-stat { padding: 16px; }
  .pt-stat b { font-size: 30px; }
  .pt-cards { grid-template-columns: 1fr; margin-top: 40px; }
  .pt-news__list { grid-template-columns: 1fr; }
  .pt-ncard--big { grid-template-columns: 1fr; }
  .pt-ncard--big .pt-ncard__img { min-height: 200px; }
  .pt-alerts__card { padding: 24px; }
  .pt-alerts__row { flex-direction: column; }
  .pt-kpis { grid-template-columns: 1fr; }
  .pt-quote__p { font-size: 32px; margin-left: 0; }
  .pt-foot__cols { grid-template-columns: 1fr; }
  .pt-shop__glass { height: 220px; }
  .pt-ctl { bottom: 10px; gap: 6px 8px; padding: 8px; }
  .pt-ctl__lbl, .pt-ctl__h { display: none; }
  .pt-ctl .vd-seg { max-width: calc(100vw - 48px); overflow-x: auto; scrollbar-width: none; }
  .pt-ctl .vd-seg button { padding: 0 10px; font-size: 12px; height: 32px; }
  .pt-ctl__struct { height: 34px; }
}
.pt-struct .pt-hero__copy[data-scope]::after { top: -34px; left: 0; }
.pt-struct .pt-sechead[data-scope]::after { top: -32px; left: 0; }
.pt-struct #catTiles[data-scope]::after, .pt-struct #newsList[data-scope]::after, .pt-struct #linkedin[data-scope]::after, .pt-struct .pt-story[data-scope]::after, .pt-struct .pt-cards[data-scope]::after { top: -32px; left: 0; }

/* =====================================================================
   Catálogo · base de datos → escaparates
   ===================================================================== */
.ct-fan { position: relative; height: 300vh; background: var(--green-950); color: var(--white); }
.ct-fan__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(55% 55% at 50% 58%, rgba(0, 154, 68, .26) 0%, rgba(1, 31, 17, 0) 70%), var(--green-950); }
.ct-fan__copy { position: relative; z-index: 3; padding-top: clamp(28px, 6vh, 64px); }
.ct-fan__copy h1 { position: relative; margin-top: 14px; min-height: 2.2em; max-width: 920px; }
.ct-fan__line { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .7s var(--ease-reveal), transform .7s var(--ease-reveal), filter .7s var(--ease-reveal); color: var(--white); }
.ct-fan__line.is-on { opacity: 1; transform: none; filter: none; }
.ct-fan__stage { position: relative; flex: 1; width: min(1240px, 100%); margin: 0 auto; }
.ct-fan__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ct-wire { fill: none; stroke: rgba(205, 235, 217, .4); stroke-width: 1.4; }
.ct-rec rect { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .6); stroke-width: 1; }
.ct-rec .ct-rec__i { fill: #5FD38D; stroke: none; }
.ct-db { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; justify-items: center; gap: 10px; transform: translate(-50%, -50%); }
.ct-db__svg { width: 150px; height: auto; filter: drop-shadow(0 0 40px rgba(0, 154, 68, .55)); }
.ct-db__n { display: grid; justify-items: center; text-align: center; padding: 10px 18px; border-radius: var(--radius-lg); background: var(--glass-dark); border: 1px solid var(--glass-border-soft); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.ct-db__n b { font-size: 32px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ct-db__n span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.ct-store { position: absolute; left: 50%; top: 50%; z-index: 2; width: 280px; display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius-lg); opacity: 0;
  background: var(--glass-dark); border: 1px solid var(--glass-border-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass-lg); will-change: transform, opacity; }
.ct-store__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ct-store__h b { font-size: 18px; }
.ct-store__h code { font-family: var(--font-mono); font-size: 12px; color: #9FD9B7; }
.ct-store__m { font-size: 12px; font-weight: 700; color: #CDEBD9; }
.ct-store__s { font-size: 13px; color: rgba(255, 255, 255, .72); }
.ct-store__g { display: flex; gap: 6px; height: 74px; margin-top: 8px; padding: 8px; border-radius: 12px; background: var(--surface-vitreous); }
.ct-store__g span { flex: 1; display: flex; justify-content: center; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .5s var(--ease-out), transform .6s var(--ease-spring); }
.ct-store__g span.is-in { opacity: 1; transform: none; }
.ct-store__g svg { height: 100%; width: auto; }
.ct-fan__prog { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.ct-fan__prog i { display: block; height: 100%; background: var(--green-500); transform: scaleX(0); transform-origin: left; }
.ct-fan__note { position: absolute; right: var(--gutter); bottom: 34px; font-size: 12px; color: rgba(255, 255, 255, .5); }

/* =====================================================================
   Catálogo · escaparate
   ===================================================================== */
.ct-shop__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ct-shop__head .vd-heading { margin-bottom: 0; }
.ct-ctl { display: grid; gap: 12px; justify-items: end; }
.ct-imgtoggle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; font-weight: 700; color: var(--ink-700); }
.ct-imgtoggle .vd-seg { background: var(--white); }
.ct-imgtoggle .vd-seg button { height: 34px; }
.ct-imgtoggle .vd-seg button[aria-pressed="true"] { background: var(--green-900); color: var(--white); }
.ct-agent[hidden] { display: none; }
.ct-agent svg { width: 14px; height: 14px; }
#mkSeg { background: var(--white); max-width: 100%; overflow-x: auto; scrollbar-width: none; }

.ct-frame { border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-lift); overflow: hidden; transition: opacity .22s var(--ease-out), transform .22s var(--ease-out); }
.ct-frame.is-swap { opacity: .25; transform: scale(.995); }
.ct-frame__bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: var(--surface-soft); border-bottom: 1px solid var(--border-subtle); }
.ct-frame__dots { display: flex; gap: 6px; }
.ct-frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-300); }
.ct-frame__url { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 30px; border-radius: 999px; background: var(--white); font-family: var(--font-mono); font-size: 13px; color: var(--ink-700); min-width: 0; }
.ct-frame__url svg { width: 13px; height: 13px; color: var(--green-500); flex: none; }
.ct-frame__url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-langs { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 700; }
.ct-langs button, .ct-langs span { border: 0; background: transparent; height: 26px; padding: 0 10px; border-radius: 999px; cursor: pointer; color: var(--ink-700); display: inline-flex; align-items: center; }
.ct-langs button[aria-pressed="true"], .ct-langs span { background: var(--green-900); color: var(--white); }
.ct-frame__head { display: flex; align-items: center; gap: 24px; padding: 22px 28px; border-bottom: 1px solid var(--border-subtle); flex-wrap: wrap; }
.ct-frame__head .vd-lockup img { height: 22px; }
.ct-frame__head h3 { margin-right: auto; }
.ct-search { display: flex; align-items: center; gap: 8px; height: 44px; width: min(420px, 100%); padding: 0 16px; border-radius: 999px; background: var(--surface-soft); color: var(--ink-500); }
.ct-search svg { width: 18px; height: 18px; flex: none; }
.ct-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink-900); outline: none; }
.ct-search:focus-within { box-shadow: var(--focus-ring); }
.ct-frame__body { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 24px 28px 32px; }
.ct-filters { display: grid; gap: 20px; align-content: start; }
.ct-fgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-fgroup legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); }
.ct-fgroup > div { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-default); background: var(--white); font-size: 13px; font-weight: 700; color: var(--ink-700); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ct-chip:hover { border-color: var(--green-500); }
.ct-chip[aria-pressed="true"] { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.ct-sw { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.ct-sw--flint { background: linear-gradient(135deg, #fff, #DDEFE5); }
.ct-sw--verde { background: #1D6E43; }
.ct-sw--cava { background: #0F3B22; }
.ct-sw--ambar { background: #6B4216; }
.ct-count { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; margin-bottom: 12px; font-size: 14px; color: var(--ink-500); }
.ct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.ct-grid.is-anim .ct-tile { animation: pt-in .7s var(--ease-reveal) both; animation-delay: calc(var(--i) * 45ms); }
.ct-empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--ink-500); border-radius: var(--radius-lg); background: var(--surface-soft); }

.ct-tile { aspect-ratio: 3 / 4.3; color: var(--white); }
.ct-tile::before { z-index: 3; }
.ct-norm, .ct-raw { position: absolute; inset: 0; transition: opacity .8s var(--ease-in-out), transform .8s var(--ease-reveal), filter .8s var(--ease-out); }
.ct-norm { display: flex; justify-content: center; opacity: 0; transform: scale(.94); }
.ct-tile .ct-norm { inset: 12% 18% 34%; }
.ct-norm svg { height: 100%; width: auto; filter: drop-shadow(0 16px 22px rgba(2, 48, 26, .16)); }
.ct-raw { z-index: 1; overflow: hidden; }
.ct-raw img, .ct-raw .vd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-raw__svg { position: absolute; inset: 0; display: flex; justify-content: center; }
.ct-raw__svg svg { width: auto; }
.ct-raw--0 img { filter: saturate(1.35) contrast(1.12); object-position: 30% 40%; transform: scale(1.25); }
.ct-raw--1 { background: #FFFFFF; }
.ct-raw--1 .ct-raw__svg { padding: 70px 40% 120px 8%; justify-content: flex-start; }
.ct-raw--1 svg { height: 100%; filter: drop-shadow(14px 10px 4px rgba(0, 0, 0, .35)); }
.ct-raw--2 { background: #D7D6D3; }
.ct-raw--2 .ct-raw__svg { padding: 6px 4% 30px; }
.ct-raw--2 svg { height: 135%; filter: grayscale(.7) brightness(1.1); }
.ct-raw--3 img { filter: grayscale(.35) brightness(.78) contrast(1.3); object-position: 70% 60%; transform: scale(1.6) rotate(-4deg); }
.ct-frame.is-norm .ct-raw { opacity: 0; transform: scale(1.04); filter: blur(4px); }
.ct-frame.is-norm .ct-norm { opacity: 1; transform: none; }
.ct-tile__top { position: absolute; z-index: 4; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ct-tile__seg { height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .85); color: var(--green-700); }
.ct-tile__top code { font-family: var(--font-mono); font-size: 10px; color: var(--green-700); background: rgba(255, 255, 255, .7); padding: 2px 6px; border-radius: 6px; }
.ct-tile .vd-tile__cap { z-index: 4; padding: 64px 16px 16px; gap: 3px; }
.ct-tile .vd-tile__cap b { font-size: 16px; line-height: 1.25; }
.ct-tile .vd-tile__cap > span { font-size: 12px; opacity: .85; }
.ct-tile__sale { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ct-tile__price { display: grid; }
.ct-tile__price b { font-size: 18px; }
.ct-tile__price small { font-size: 11px; opacity: .8; }
.ct-tile__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--white); color: var(--green-900); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s; }
.ct-tile__btn:hover { background: var(--green-050); }
.ct-tile__btn svg { width: 14px; height: 14px; }
.ct-tile__btn--ghost { background: rgba(255, 255, 255, .16); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.ct-tile__btn--ghost:hover { background: var(--white); color: var(--green-900); }
.ct-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--text-caption); color: var(--ink-500); }
.ct-note svg { width: 16px; height: 16px; flex: none; }

/* ---------- Hoja de ruta ---------- */
.ct-road__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ct-road__head .vd-heading { max-width: 820px; }
.ct-road__badge { height: 40px; padding: 0 18px; font-size: 14px; margin-bottom: 56px; }
.ct-road__badge svg { width: 16px; height: 16px; }
.ct-road__flow { display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: center; }
.ct-road__node { display: grid; gap: 6px; padding: 26px; border-radius: var(--radius-xl); background: var(--surface-soft); }
.ct-road__node > svg { width: 28px; height: 28px; color: var(--green-500); margin-bottom: 6px; }
.ct-road__node b { font-size: 20px; }
.ct-road__node > span:last-child { font-size: 14px; color: var(--ink-700); }
.ct-road__when { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); }
.ct-road__node--mid { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--green-500), var(--shadow-soft); }
.ct-road__node--end { background: var(--green-900); color: var(--white); }
.ct-road__node--end > svg, .ct-road__node--end .ct-road__when { color: #5FD38D; }
.ct-road__node--end > span:last-child { color: rgba(255, 255, 255, .78); }
.ct-road__link { position: relative; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--green-500) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: ct-flow 1.2s linear infinite; }
.ct-road__link i { position: absolute; right: -2px; top: -4px; width: 10px; height: 10px; border-top: 2px solid var(--green-500); border-right: 2px solid var(--green-500); transform: rotate(45deg); }
@keyframes ct-flow { to { background-position: 24px 0; } }
.ct-next { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ct-next h2 { margin-top: 14px; }

@media (max-width: 1000px) {
  .ct-frame__body { grid-template-columns: 1fr; }
  .ct-filters { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .ct-road__flow { grid-template-columns: 1fr; gap: 12px; }
  .ct-road__link { width: 2px; height: 36px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--green-500) 0 6px, transparent 6px 12px); background-size: 2px 24px; animation: none; }
  .ct-road__link i { right: -4px; top: auto; bottom: -2px; transform: rotate(135deg); }
  .ct-ctl { justify-items: start; }
  .ct-imgtoggle { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .ct-store { width: 160px; padding: 10px 12px; }
  .ct-store__h b { font-size: 14px; }
  .ct-store__h code, .ct-store__s { display: none; }
  .ct-store__m { font-size: 11px; }
  .ct-store__g { height: 48px; padding: 5px; }
  .ct-db__svg { width: 90px; }
  .ct-db__n b { font-size: 22px; }
  .ct-db__n span { font-size: 10px; }
}
@media (max-width: 640px) {
  .ct-frame__head { padding: 16px; gap: 12px; }
  .ct-frame__body { padding: 16px; }
  .ct-frame__bar { padding: 10px 12px; gap: 10px; }
  .ct-frame__dots { display: none; }
  .ct-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ct-tile .vd-tile__cap { padding: 48px 10px 10px; }
  .ct-tile .vd-tile__cap b { font-size: 14px; }
  .ct-tile__top code { display: none; }
  .ct-tile__btn span { display: none; }
  .ct-tile__btn { width: 32px; padding: 0; justify-content: center; }
  .ct-tile__price b { font-size: 15px; }
}
.ct-count [hidden], .pt-ctl [hidden] { display: none !important; }

/* v2 · el logo vertical v02 (550×550) necesita más altura que el horizontal para que se lea el logotipo */
.vd-footer img[src$="/logo-white.png"] { height: 72px; }
