.c4u-portfolio {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  padding: clamp(52px, 7vw, 100px) clamp(18px, 4vw, 54px);
  overflow: hidden;
  background: var(--c4u-bg, #fff);
  color: var(--c4u-text, #14243d);
  font-family: inherit;
  isolation: isolate;
}
.c4u-portfolio *, .c4u-portfolio *::before, .c4u-portfolio *::after { box-sizing: border-box; }
.c4u-portfolio::before { content: ""; position: absolute; z-index: -1; top: -220px; left: 50%; width: min(860px, 90vw); height: 420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c4u-accent) 9%, transparent), transparent 68%); pointer-events: none; }
.c4u-section-head { max-width: 880px; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; }
.c4u-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--c4u-accent); font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.c4u-eyebrow::before, .c4u-eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .75; }
.c4u-section-head h2 { margin: 15px 0 0; color: var(--c4u-text); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 5.7vw, 5rem); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
.c4u-section-head h2 strong { display: block; margin-top: .12em; color: var(--c4u-accent); font: inherit; }
.c4u-section-head p { max-width: 680px; margin: 25px auto 0; color: var(--c4u-muted); font-size: clamp(.9rem, 1.3vw, 1.02rem); line-height: 1.75; }
.c4u-toolbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 0 auto clamp(34px, 5vw, 58px); }
.c4u-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.c4u-filters button, .c4u-load-more { appearance: none; border: 1px solid #e4e9f0; background: #fff; color: #556070; border-radius: 999px; padding: 12px 20px; box-shadow: 0 7px 22px rgba(21, 50, 83, .04); font: inherit; font-size: .84rem; font-weight: 700; line-height: 1; cursor: pointer; transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.c4u-filters button small { margin-inline-start: 7px; opacity: .55; }
.c4u-filters button:hover, .c4u-filters button.is-active { border-color: var(--c4u-accent); background: var(--c4u-accent); color: #fff; box-shadow: 0 12px 28px color-mix(in srgb, var(--c4u-accent) 27%, transparent); transform: translateY(-2px); }
.c4u-search { display: flex; align-items: center; width: min(100%, 250px); min-height: 43px; border: 1px solid #e4e9f0; background: #fff; border-radius: 999px; padding: 0 15px; box-shadow: 0 7px 22px rgba(21, 50, 83, .04); }
.c4u-search:focus-within { border-color: var(--c4u-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c4u-accent) 13%, transparent); }
.c4u-search svg { width: 17px; flex: 0 0 17px; fill: none; stroke: var(--c4u-muted); stroke-width: 1.8; }
.c4u-search input { width: 100%; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; color: var(--c4u-text) !important; padding: 11px 9px !important; font: inherit; font-size: .84rem; }
.c4u-search input::placeholder { color: var(--c4u-muted); }
.c4u-project-grid { display: grid; grid-template-columns: repeat(var(--c4u-cols), minmax(0, 1fr)); gap: var(--c4u-gap); max-width: 1220px; margin: 0 auto; }
.c4u-project { position: relative; min-width: 0; padding: 10px; overflow: hidden; border: 1px solid rgba(23, 40, 66, .08); border-radius: calc(var(--c4u-radius) + 6px); background: var(--c4u-card); box-shadow: 0 14px 38px rgba(23, 40, 66, .06); transition: transform .4s cubic-bezier(.2,.75,.25,1), box-shadow .4s ease, border-color .4s ease; animation: c4u-in .55s both; }
.c4u-project[hidden] { display: none !important; }
.c4u-project:hover { border-color: color-mix(in srgb, var(--c4u-project-accent) 38%, #e8edf3); box-shadow: 0 25px 65px rgba(25, 52, 82, .13); transform: translateY(-7px); }
.c4u-project-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--c4u-radius); background: linear-gradient(135deg, #eef3fa, color-mix(in srgb, var(--c4u-project-accent) 16%, #eef3fa)); }
.c4u-project-media img, .c4u-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.18,.72,.2,1), filter .45s ease; }
.c4u-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #edf3fb, color-mix(in srgb, var(--c4u-project-accent) 24%, #edf3fb)); }
.c4u-placeholder span { color: color-mix(in srgb, var(--c4u-project-accent) 50%, #fff); font-size: clamp(4rem, 10vw, 8rem); font-weight: 900; }
.c4u-glow { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 20, 39, .76)); opacity: .05; transition: opacity .4s ease; }
.c4u-index { display: none; }
.c4u-main-link { position: absolute; right: 16px; bottom: 16px; left: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 11px; color: #fff !important; text-decoration: none !important; font-size: .82rem; font-weight: 800; opacity: 0; transform: translateY(13px); transition: opacity .35s ease, transform .35s ease; }
.c4u-main-link span { padding: 10px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(7, 20, 39, .56); backdrop-filter: blur(9px); }
.c4u-main-link svg { width: 45px; height: 45px; padding: 12px; border-radius: 50%; background: var(--c4u-project-accent); fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s ease; }
.c4u-project:hover .c4u-project-media img { transform: scale(1.055); filter: saturate(1.06); }
.c4u-project:hover .c4u-glow { opacity: 1; }
.c4u-project:hover .c4u-main-link { opacity: 1; transform: none; }
.c4u-main-link:hover svg { transform: rotate(7deg) scale(1.07); }
.c4u-project-content { position: relative; padding: 22px 12px 13px; }
.c4u-project-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.c4u-project-heading > div { min-width: 0; }
.c4u-categories { margin-bottom: 7px; color: var(--c4u-project-accent); font-size: 9px; font-weight: 800; line-height: 1.65; letter-spacing: 1.8px; text-transform: uppercase; }
.c4u-project h3 { margin: 0; color: var(--c4u-text); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.3px; overflow-wrap: anywhere; }
.c4u-project-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid rgba(23, 40, 66, .1); border-radius: 50%; background: #f7f9fc; color: var(--c4u-project-accent) !important; text-decoration: none !important; font-size: 20px; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.c4u-project-link:hover { border-color: var(--c4u-project-accent); background: var(--c4u-project-accent); color: #fff !important; transform: rotate(7deg); }
.c4u-project p { margin: 12px 0 0; color: var(--c4u-muted); font-size: .86rem; line-height: 1.65; }
.c4u-tech { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.c4u-tech span { padding: 6px 9px; border: 1px solid #e8edf3; border-radius: 7px; background: #f8fafc; color: var(--c4u-muted); font-size: .66rem; }
.c4u-whatsapp { display: flex; justify-content: space-between; gap: 12px; margin-top: 19px; padding-top: 15px; border-top: 1px solid #edf0f4; color: var(--c4u-text) !important; text-decoration: none !important; font-size: .76rem; font-weight: 750; }
.c4u-whatsapp:hover { color: var(--c4u-project-accent) !important; }
.c4u-style-bento .c4u-project:nth-child(6n+1), .c4u-style-bento .c4u-project:nth-child(6n+6) { grid-column: span 2; }
.c4u-style-bento .c4u-project:nth-child(6n+1) .c4u-project-media, .c4u-style-bento .c4u-project:nth-child(6n+6) .c4u-project-media { aspect-ratio: 2 / 1; }
.c4u-style-minimal .c4u-project { padding: 0 0 18px; border: 0; box-shadow: none; }
.c4u-style-minimal .c4u-project:hover { box-shadow: none; }
.c4u-style-minimal .c4u-project-content { padding-inline: 4px; }
.c4u-more-wrap { margin-top: clamp(34px, 5vw, 58px); text-align: center; }
.c4u-load-more { padding: 15px 24px; color: var(--c4u-text); }
.c4u-load-more span { margin-inline-start: 12px; }
.c4u-load-more:hover { border-color: var(--c4u-accent); background: var(--c4u-accent); color: #fff; transform: translateY(-2px); }
.c4u-empty-state, .c4u-portfolio-empty { padding: 40px; color: var(--c4u-muted); text-align: center; }
@keyframes c4u-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .c4u-project-grid { grid-template-columns: repeat(var(--c4u-cols-tablet), minmax(0, 1fr)); }
  .c4u-style-bento .c4u-project:nth-child(n) { grid-column: span 1; }
  .c4u-style-bento .c4u-project:nth-child(n) .c4u-project-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .c4u-portfolio { padding: 48px 14px; }
  .c4u-section-head { margin-bottom: 28px; }
  .c4u-section-head h2 { font-size: clamp(2.15rem, 12vw, 3.35rem); }
  .c4u-section-head p { margin-top: 18px; font-size: .88rem; }
  .c4u-toolbar { justify-content: stretch; margin-bottom: 30px; }
  .c4u-filters { justify-content: flex-start; flex-wrap: nowrap; width: 100%; overflow-x: auto; padding: 3px 1px 8px; scrollbar-width: none; }
  .c4u-filters::-webkit-scrollbar { display: none; }
  .c4u-filters button { flex: 0 0 auto; padding: 11px 17px; }
  .c4u-search { width: 100%; }
  .c4u-project-grid { grid-template-columns: repeat(var(--c4u-cols-mobile), minmax(0, 1fr)); gap: 18px; }
  .c4u-project { padding: 8px; border-radius: calc(var(--c4u-radius) + 4px); }
  .c4u-main-link { opacity: 1; transform: none; }
  .c4u-main-link span { display: none; }
  .c4u-main-link svg { width: 42px; height: 42px; }
  .c4u-project-content { padding: 18px 10px 11px; }
  .c4u-project h3 { font-size: 18px; }
  .c4u-project-link { flex-basis: 44px; width: 44px; height: 44px; }
  .c4u-project:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .c4u-portfolio * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
