:root{
  --bg:#0d0d0f;
  --panel:#151517;
  --panel2:#202024;
  --text:#ffffff;
  --muted:rgba(255,255,255,.68);
  --line:rgba(255,255,255,.12);
  --red:#ec1c24;
  --shadow:0 28px 80px rgba(0,0,0,.55);
  --radius:26px;
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 76% 16%, rgba(236,28,36,.18), transparent 25%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.07), transparent 26%),
    linear-gradient(135deg, #070708 0%, #151517 46%, #080809 100%);
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.72), transparent 82%);
}
body:after{
  content:"";
  position:fixed;
  left:0;right:0;bottom:0;height:36vh;
  pointer-events:none;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.56));
}
.page{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:48px 18px;
}
.hero{
  width:min(1120px,100%);
  text-align:center;
}
.top-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 22px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 18px 44px rgba(0,0,0,.28);
  color:rgba(255,255,255,.78);
  font-size:13px;
  font-weight:800;
  letter-spacing:.24em;
}
.title-wrap{margin:28px 0 42px}
.eyebrow{
  margin:0 0 12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.24em;
  font-size:13px;
  font-weight:800;
}
h1{
  margin:0;
  font-size:clamp(28px,3.7vw,48px);
  line-height:1.05;
  letter-spacing:.26em;
  font-weight:900;
}
.accent-line,.card-line{
  display:block;
  width:132px;
  height:2px;
  margin:20px auto 0;
  background:var(--red);
  border-radius:999px;
  box-shadow:0 0 26px rgba(236,28,36,.55);
}
.project-grid{
  width:min(980px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
}
.project-card{
  min-height:265px;
  padding:30px 26px 28px;
  border-radius:var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.13), transparent 48%),
    linear-gradient(145deg, #26262a 0%, #171719 54%, #101012 100%);
  color:var(--text);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.14);
  border:1px solid var(--line);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  position:relative;
  overflow:hidden;
}
.project-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), transparent 34%, rgba(236,28,36,.08)),
    radial-gradient(circle at 50% 58%, rgba(255,255,255,.08), transparent 48%);
  opacity:.95;
  pointer-events:none;
}
.project-card:after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:calc(var(--radius) - 1px);
  border:1px solid rgba(255,255,255,.045);
  pointer-events:none;
}
.project-card > *{position:relative;z-index:1}
.project-card:hover,
.project-card:focus-visible{
  transform:translateY(-7px);
  box-shadow:0 36px 92px rgba(0,0,0,.68), 0 0 0 4px rgba(236,28,36,.16);
  border-color:rgba(236,28,36,.48);
  outline:none;
}
.project-card:hover .card-line{width:164px}
.logo-wrap{
  width:100%;
  height:132px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:2px;
}
.project-logo{
  display:block;
  width:100%;
  max-width:260px;
  max-height:132px;
  object-fit:contain;
  filter:drop-shadow(0 16px 24px rgba(0,0,0,.42));
}
.logo-all{max-width:230px;max-height:138px}
.logo-gabi,.logo-bis{max-width:285px;max-height:128px}
.logo-negro{max-width:210px;max-height:136px}
.card-title{
  margin-top:24px;
  font-size:clamp(15px,1.8vw,20px);
  letter-spacing:.22em;
  font-weight:900;
  color:rgba(255,255,255,.92);
  text-shadow:0 8px 18px rgba(0,0,0,.42);
}
.card-line{
  width:64px;
  margin-top:20px;
  transition:width .22s ease;
}
@media (max-width:760px){
  .page{padding:30px 14px}
  .top-badge{font-size:11px;letter-spacing:.18em;min-height:38px}
  .title-wrap{margin:24px 0 28px}
  .project-grid{grid-template-columns:1fr;gap:16px}
  .project-card{min-height:214px;border-radius:22px;padding:26px 18px}
  .logo-wrap{height:112px}
  .project-logo{max-height:112px;max-width:250px}
  .logo-all{max-width:210px}
  .logo-negro{max-width:190px}
  .card-title{font-size:14px;letter-spacing:.16em;margin-top:22px}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important;scroll-behavior:auto!important}
}
