/* Cierre · hoja de ruta */

/* ---------- Héroe ---------- */
.c-hero { position: relative; min-height: calc(100svh - var(--vd-bar, 48px)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: var(--white);
  background: radial-gradient(80% 90% at 75% 40%, #036A38 0%, #02301A 55%, #011F11 100%); }
.c-hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.c-hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 120px; will-change: transform, opacity; }
.c-hero__title { margin-top: 24px; max-width: 14ch; font-size: clamp(48px, 6.4vw, 96px); }
.c-hero__title > span:not(.w) { color: rgba(255, 255, 255, .42) !important; }
.c-hero__lead { margin-top: 28px; color: rgba(255, 255, 255, .82); max-width: 580px; }
.c-hero__lead b { color: var(--white); }
.c-hero__cta { margin-top: 36px; }
.c-hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 24px; width: 48px; height: 48px; margin-left: -24px; display: grid; place-items: center; border-radius: 50%;
  color: var(--white); border: 1px solid rgba(255, 255, 255, .4); animation: c-bob 2.4s var(--ease-in-out) infinite; }
.c-hero__scroll:hover { color: var(--white); }
.c-hero__scroll svg { width: 20px; height: 20px; }
@keyframes c-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.c-count { padding: 28px 30px 26px; display: grid; gap: 10px; transition: transform .5s var(--ease-reveal); }
.c-count .vd-kicker { color: var(--green-100); }
.c-count__num { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; }
.c-count__num b { font-size: clamp(56px, 6vw, 96px); line-height: .9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.c-count__num span { font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.c-count__date { font-size: 17px; color: rgba(255, 255, 255, .82); }
.c-count__phases { list-style: none; display: flex; gap: 4px; margin-top: 18px; }
.c-count__phases li { flex: var(--w) 1 0; display: grid; gap: 8px; min-width: 0; }
.c-count__phases i { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); overflow: hidden; position: relative; }
.c-count__phases i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-500), #CDEBD9); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease-reveal); }
.c-count.is-in .c-count__phases li:nth-child(1) i::after { transform: scaleX(1); transition-delay: 1000ms; }
.c-count.is-in .c-count__phases li:nth-child(2) i::after { transform: scaleX(1); transition-delay: 1300ms; }
.c-count.is-in .c-count__phases li:nth-child(3) i::after { transform: scaleX(1); transition-delay: 1600ms; }
.c-count.is-in .c-count__phases li:nth-child(4) i::after { transform: scaleX(1); transition-delay: 1900ms; }
.c-count__phases span { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-count__months { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255, 255, 255, .5); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Línea de tiempo ---------- */
.c-tl { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 160px);
  background: radial-gradient(50% 40% at 80% 30%, rgba(0, 154, 68, .16) 0%, rgba(1, 31, 17, 0) 70%), var(--green-950); }
.c-tl__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.c-tl__side { align-self: stretch; }
.c-tl__sticky { position: sticky; top: 64px; display: grid; gap: 20px; }
.c-tl__sticky h2 { margin-bottom: 12px; }
.c-now { padding: 26px 28px; display: grid; gap: 14px; }
.c-now__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.c-now__idx { font-size: 15px; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.c-now__idx b { font-size: 28px; color: var(--white); letter-spacing: -0.02em; }
.c-now__t { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.01em; min-height: 2.3em; }
.c-gantt { display: grid; gap: 6px; margin-top: 6px; }
.c-gantt__row { position: relative; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.c-gantt__row i { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 10%); width: calc((var(--e) - var(--s)) * 10%); border-radius: 10px; background: rgba(255, 255, 255, .16);
  transition: background .6s var(--ease-reveal), box-shadow .6s var(--ease-reveal); }
.c-gantt__row.is-on i { background: rgba(0, 154, 68, .7); }
.c-gantt__row.is-now i { background: var(--green-500); box-shadow: 0 0 0 3px rgba(0, 154, 68, .25), 0 0 18px rgba(0, 154, 68, .9); }
.c-gantt__row--go i { width: 10px; left: calc(var(--s) * 10% - 5px); background: rgba(255, 255, 255, .35); }
.c-gantt__row--go.is-now i, .c-gantt__row--go.is-on i { background: var(--white); box-shadow: 0 0 0 4px rgba(0, 154, 68, .5), 0 0 22px rgba(205, 235, 217, .9); }
.c-gantt__row--live i { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 6px, transparent 6px 10px); }
.c-gantt__row--live.is-on i { background: repeating-linear-gradient(90deg, var(--green-500) 0 6px, transparent 6px 10px); }
.c-gantt__axis { display: grid; grid-template-columns: repeat(10, 1fr); margin-top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }

.c-tl__list { position: relative; list-style: none; display: grid; gap: clamp(48px, 8vh, 96px); padding: 8px 0 8px 64px; }
.c-tl__rail { position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; }
.c-tl__fill { position: absolute; inset: 0; transform-origin: top; transform: scaleY(0); border-radius: 2px;
  background: linear-gradient(180deg, rgba(0, 154, 68, .4), var(--green-500) 70%, #CDEBD9); box-shadow: 0 0 12px rgba(0, 154, 68, .9), 0 0 32px rgba(0, 154, 68, .5); }
.c-tl__head { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--white); opacity: 0;
  box-shadow: 0 0 0 5px rgba(0, 154, 68, .45), 0 0 24px 6px rgba(0, 154, 68, .9); transition: opacity .3s; }
.c-ms { position: relative; }
.c-ms__node { position: absolute; left: -64px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-950); border: 2px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .5);
  transition: border-color .6s var(--ease-reveal), background .6s var(--ease-reveal), box-shadow .6s var(--ease-reveal), color .6s var(--ease-reveal), transform .6s var(--ease-spring); }
.c-ms__node::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .6s, transform .6s var(--ease-spring); }
.c-ms__node svg { width: 18px; height: 18px; }
.c-ms__node:has(svg)::after { display: none; }
.c-ms.is-on .c-ms__node { border-color: var(--green-500); background: var(--green-900); color: var(--white); box-shadow: 0 0 0 6px rgba(0, 154, 68, .16), 0 0 28px rgba(0, 154, 68, .7); transform: scale(1.06); }
.c-ms.is-on .c-ms__node::after { background: var(--green-500); transform: scale(1.2); }
.c-ms__card { position: relative; padding: 28px 30px; border-radius: var(--radius-xl); border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); display: grid; gap: 12px;
  opacity: .42; transform: translate3d(14px, 0, 0); transition: opacity .8s var(--ease-reveal), transform .8s var(--ease-reveal), background .8s var(--ease-reveal), border-color .8s var(--ease-reveal); }
.c-ms.is-on .c-ms__card { opacity: 1; transform: none; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.c-ms__when { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--green-100); }
.c-ms__card h3 { color: var(--white); }
.c-ms__card p:not(.vd-display) { color: rgba(255, 255, 255, .74); font-size: var(--text-body); max-width: 56ch; }
.c-ms__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.c-ms__tags li { font-size: 13px; font-weight: 700; height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .8); }

/* Hito principal: salida a producción */
.c-ms--go .c-ms__node { width: 56px; height: 56px; left: -72px; top: 40px; }
.c-ms--go .c-ms__node svg { width: 22px; height: 22px; }
.c-ms--go.is-on .c-ms__node { background: var(--green-500); border-color: #CDEBD9; box-shadow: 0 0 0 10px rgba(0, 154, 68, .2), 0 0 60px 10px rgba(0, 154, 68, .7); }
.c-golive.c-ms__card { padding: 40px 40px 44px; overflow: hidden; background: var(--glass-dark); border-color: var(--glass-border-soft); }
.c-ms--go.is-on .c-golive { background: linear-gradient(140deg, rgba(0, 154, 68, .38) 0%, rgba(2, 48, 26, .5) 60%); border-color: rgba(205, 235, 217, .45); }
.c-golive .vd-kicker { color: var(--green-100); }
.c-golive__date { color: var(--white); }
.c-golive__date span { display: block; color: rgba(255, 255, 255, .45); }
.c-golive__txt { font-size: var(--text-body-lg) !important; max-width: 46ch; }
.c-golive__ring { position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(0, 154, 68, .55) 0%, rgba(0, 154, 68, 0) 65%); opacity: 0; transform: scale(.6); transition: opacity 1.2s var(--ease-reveal), transform 1.2s var(--ease-reveal); }
.c-ms--go.is-on .c-golive__ring { opacity: 1; transform: scale(1); animation: c-breathe 5s var(--ease-in-out) 1.2s infinite; }
@keyframes c-breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
.c-ms--live .c-ms__card { border-style: dashed; }

/* ---------- Fases ---------- */
.c-phases { padding: clamp(96px, 11vw, 160px) 0; }
.c-phases::after { background: linear-gradient(180deg, rgba(1, 31, 17, .92) 0%, rgba(2, 48, 26, .55) 40%, rgba(2, 48, 26, .6) 70%, rgba(1, 31, 17, .92) 100%); }
.c-phases__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.c-phases__cols { display: grid; grid-template-columns: minmax(0, 1.15fr) 56px minmax(0, 1fr); gap: 0; align-items: stretch; }
.c-col { padding: clamp(28px, 3vw, 40px); display: grid; align-content: start; gap: 24px; }
.c-col--two { background: rgba(2, 48, 26, .4); }
.c-col__head { display: flex; align-items: center; gap: 18px; }
.c-col__num { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: var(--green-900); background: var(--white); }
.c-col--two .c-col__num { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.c-col__head .vd-kicker { color: var(--green-100); }
.c-col__head h3 { margin-top: 6px; color: var(--white); }
.c-list { list-style: none; display: grid; gap: 4px; }
.c-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.c-list li > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--white); }
.c-col--one .c-list li > svg { background: rgba(0, 154, 68, .45); }
.c-list b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 17px; line-height: 1.3; }
.c-list b em { font-style: normal; height: 22px; font-size: 12px; padding: 0 9px; }
.c-list span { display: block; margin-top: 2px; font-size: var(--text-body-sm); line-height: 1.45; color: rgba(255, 255, 255, .74); }
.c-col__note { font-size: var(--text-caption); color: rgba(255, 255, 255, .65); padding-top: 4px; }
.c-phases__link { position: relative; display: grid; place-items: center; }
.c-phases__link svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-phases__link path { fill: none; stroke: rgba(205, 235, 217, .35); stroke-width: 1.2; stroke-dasharray: .015 .012; vector-effect: non-scaling-stroke; }
.c-phases__link span { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  background: var(--glass-light); border: 1px solid var(--glass-border-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.c-phases__link span svg { position: static; width: 20px; height: 20px; }

/* ---------- Por qué LIN3S ---------- */
.c-refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.c-ref { padding: 32px; display: grid; align-content: start; gap: 12px; }
.c-ref__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--white); color: var(--green-500); margin-bottom: 12px; }
.c-ref__ico svg { width: 24px; height: 24px; }
.c-ref .vd-kicker { color: var(--green-700); }
.c-ref p { color: var(--ink-700); font-size: var(--text-body-sm); }
.c-care { margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.c-care__head { display: grid; gap: 16px; }
.c-care__head .vd-kicker { color: var(--green-700); }
.c-care__head .vd-lead { color: var(--ink-700); }
.c-care__grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.c-care__grid li { background: var(--white); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 6px; align-content: start; }
.c-care__grid svg { width: 26px; height: 26px; color: var(--green-500); margin-bottom: 8px; }
.c-care__grid b { font-size: 18px; }
.c-care__grid span { font-size: var(--text-body-sm); color: var(--ink-700); }

/* ---------- Cierre ---------- */
.c-close { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; color: var(--white);
  background: radial-gradient(70% 70% at 50% 45%, #036A38 0%, #02301A 55%, #011F11 100%); }
.c-close__light { --lx: 50%; --ly: 40%; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--lx) var(--ly), rgba(0, 154, 68, .35), rgba(0, 154, 68, 0) 70%); }
.c-close__in { position: relative; display: grid; justify-items: center; text-align: center; gap: 28px; padding-top: 100px; padding-bottom: 100px; }
.c-seal { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.c-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.c-seal__track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; }
.c-seal__ring { fill: none; stroke: url(#sealG); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(0, 154, 68, .8)); }
.c-seal__dash { fill: none; stroke: rgba(205, 235, 217, .3); stroke-width: 1; stroke-dasharray: 2 6; transform-origin: 100px 100px; animation: c-spin 40s linear infinite; }
@keyframes c-spin { to { transform: rotate(360deg); } }
.c-seal img { position: relative; width: 112px; height: auto; filter: drop-shadow(0 10px 36px rgba(0, 154, 68, .6)); }
.c-close__t { max-width: 14ch; }
.c-close__lead { color: rgba(255, 255, 255, .8); max-width: 640px; }
.c-close__cta { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .c-hero__in { grid-template-columns: 1fr; gap: 40px; }
  .c-count { max-width: 480px; }
  .c-tl__grid { grid-template-columns: 1fr; }
  .c-tl__sticky { position: static; }
  .c-phases__cols { grid-template-columns: 1fr; gap: 0; }
  .c-phases__link { height: 64px; }
  .c-phases__link span { transform: rotate(90deg); }
  .c-refs { grid-template-columns: 1fr; }
  .c-care { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .c-hero__in { padding-top: 48px; padding-bottom: 96px; }
  .c-count { padding: 22px; }
  .c-tl__list { padding-left: 48px; }
  .c-tl__rail { left: 15px; }
  .c-ms__node { left: -48px; width: 32px; height: 32px; top: 22px; }
  .c-ms--go .c-ms__node { width: 44px; height: 44px; left: -54px; }
  .c-ms__card { padding: 22px 20px; }
  .c-golive.c-ms__card { padding: 28px 22px 30px; }
  .c-care__grid { grid-template-columns: 1fr; }
  .c-close__cta .vd-btn { width: 100%; }
  .c-seal { width: 170px; height: 170px; }
  .c-seal img { width: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .c-ms__card { opacity: 1; transform: none; }
  .c-hero__scroll { animation: none; }
}

/* 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; }
