/* Página /sitios-web: catálogo de la alianza con la Fundación Colombia Productiva Funtech. */
.web-hero { background: var(--ink); color: #DCEFF1; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%); }
.web-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); }
.web-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.web-hero h1 em { font-style: normal; color: var(--amber); }
.web-hero .lead { color: #DCEFF1; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Tres celulares en escalera: el mismo gesto del titular del inicio */
.stair { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.6rem, 1.5vw, 1.1rem); align-items: end; padding-top: 6rem; }
.stair img { width: 100%; border-radius: 26px; border: 6px solid #06242A; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); }
.stair img:nth-child(2) { transform: translateY(-3rem); }
.stair img:nth-child(3) { transform: translateY(-6rem); }
@media (prefers-reduced-motion: no-preference) {
  .stair img { animation: subir .8s cubic-bezier(.2,.7,.2,1) backwards; }
  .stair img:nth-child(2) { animation-delay: .15s; }
  .stair img:nth-child(3) { animation-delay: .3s; }
  @keyframes subir { from { opacity: 0; translate: 0 2.5rem; } }
}

/* Catálogo: cada proyecto sobre el color de su propia marca */
#catalogo { scroll-margin-top: 60px; }
.work { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.work + .work { margin-top: clamp(4rem, 8vw, 6.5rem); }
.work-stage { position: relative; padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.25rem) clamp(2rem, 5vw, 4rem); border-radius: var(--radius-lg); background: var(--tono, var(--mist)); }
.work:nth-of-type(even) { grid-template-columns: 1fr 1.55fr; }
.work:nth-of-type(even) .work-stage { order: 2; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -28px rgba(0,0,0,.55); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #EDF1F2; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #B9C8CB; }
.browser-bar span { margin-left: 8px; font-size: 0.75rem; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; }
.phone { position: absolute; left: clamp(0.5rem, 1.5vw, 1.1rem); bottom: clamp(0.6rem, 1.5vw, 1.1rem); width: 22%; border: 5px solid #101c1f; border-radius: 22px; overflow: hidden; background: #101c1f; box-shadow: 0 24px 40px -18px rgba(0,0,0,.6); }
.phone img { width: 100%; border-radius: 16px; }
.work-type { font-weight: 800; color: var(--teal); margin-bottom: 0.3rem; }
.work h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.work-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.work-paula-fierro { --tono: linear-gradient(135deg, #B8227A, #F0803F); }
.work-xpert-academy { --tono: linear-gradient(135deg, #3E2373, #35B6C4); }
.work-clapss { --tono: linear-gradient(135deg, #5B2BD1, #FF7C88); }
.work-inderyal { --tono: linear-gradient(135deg, #103C27, #F4B400); }
.work-restaurar-social { --tono: linear-gradient(135deg, #14120F, #8C7F10); }
.work-kerigma-tv { --tono: linear-gradient(135deg, #12172B, #3B5FE0); }

.giveback { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.giveback h2 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.giveback p { font-size: 1.3rem; }
.giveback strong { color: var(--amber); }

@media (max-width: 920px) {
  .web-hero-grid, .work, .work:nth-of-type(even), .giveback { grid-template-columns: 1fr; }
  .stair { max-width: 460px; width: 100%; justify-self: center; }
  .work:nth-of-type(even) .work-stage { order: 0; }
  .work { gap: 1.25rem; }
  .work-actions .btn { flex: 1 1 100%; }
}
